1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
10 DESCRIPTION="Palantir is a Linux-based streaming system designed to transmit live video, audio and data over a TCP/IP network, as well as to control remote devices."
11 HOMEPAGE="http://www.fastpath.it/products/palantir/index.php"
12 SRC_URI="http://www.fastpath.it/products/${MY_PN}/pub/${MY_P}.tgz"
19 DEPEND="$(qt_min_version 3.3)"
22 S=${WORKDIR}/${MY_P}/clients/qt
28 # patching in subdir because there are ebuilds for parts of this package
29 epatch "${FILESDIR}/${PV}-senselessConfigFileHandling.patch"
33 -e 's/CPPFLAGS/CPPFLAGS+/' \
35 Makefile || die "sed failed"
37 # Fix the relative path
38 for file in $(ls *.cpp *.h); do
40 -e 's#./icons#/usr/share/palantir-client/icons#g' \
41 -e 's#./pclient.ini#/usr/share/palantir-client/pclient.ini#g' \
42 ${file} || die "sed failed"
49 insinto /usr/share/${PN}