1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
11 DESCRIPTION="Transmit live video, audio and data over a TCP/IP network, as well as to control remote devices."
12 HOMEPAGE="http://www.fastpath.it/products/palantir/index.php"
13 SRC_URI="http://www.fastpath.it/products/${MY_PN}/pub/${MY_P}.tgz"
20 DEPEND=">=x11-libs/qt-3.3:3"
23 S=${WORKDIR}/${MY_P}/clients/qt
29 # patching in subdir because there are ebuilds for parts of this package
30 epatch "${FILESDIR}/${PV}-senselessConfigFileHandling.patch"
34 -e 's/CPPFLAGS/CPPFLAGS+/' \
36 Makefile || die "sed failed"
38 # Fix the relative path
39 for file in $(ls *.cpp *.h); do
41 -e 's#./icons#/usr/share/palantir-client/icons#g' \
42 -e 's#./pclient.ini#/usr/share/palantir-client/pclient.ini#g' \
43 ${file} || die "sed failed"
50 insinto /usr/share/${PN}