updated zattoo-ebuild to depend on www-plugins/adobe-flash instead of net-www/netscape-flash

This commit is contained in:
Manuel Friedli 2009-04-25 15:52:16 +00:00
parent 21119aa82c
commit 3ad7647261
2 changed files with 65 additions and 0 deletions

View file

@ -1,2 +1,3 @@
DIST zattoo-3.3.1.18350-i386.tgz 2375920 RMD160 0537167825c2def4e034e7af28418383f0c45217 SHA1 98a92cd0f1f3136414fd43a9a3e119615421c75c SHA256 33e861a0f7fb772efaeb1c01533137d74c820f235f47c8d8b6bb17abf324212d
EBUILD zattoo-bin-3.3.1.18350-r1.ebuild 1919 RMD160 90b9e1089498de8dc03407e5bf280c1b3db7293d SHA1 8bb4ada11be947f749ed4c0a209b81e80dd6caa1 SHA256 0b1a4a06f948f11ea48797eedf13566ab8e1c765697cd51cdc2373601cbbb26e
EBUILD zattoo-bin-3.3.1.18350.ebuild 1918 RMD160 e2ced10b65b39fdd54b92c052955d6189cdae2d3 SHA1 2796c02fe861367c95f3f122089749a6f29a1387 SHA256 01f454a805b3849381f766979c0edeb55321f654674317cd517471e3b0d14026

View file

@ -0,0 +1,64 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils
DESCRIPTION="live TV via Internet"
HOMEPAGE="http://zattoo.com/"
SRC_URI="http://download.zattoo.com/${PN/-bin}-${PV}-i386.tgz"
LICENSE="Zattoo"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
RDEPEND="app-crypt/mit-krb5
dev-libs/nspr
dev-libs/openssl
gnome-base/libgnome
gnome-base/libgnomeui
media-libs/alsa-lib
net-dns/libidn
net-libs/libgssglue
<net-libs/xulrunner-1.9
net-misc/curl
www-plugins/adobe-flash
>=sys-libs/glibc-2.4
x11-libs/gtkglext"
RESTRICT="fetch"
S=${WORKDIR}/dist
QA_EXECSTACK="opt/zattoo/bin/zattood
opt/zattoo/bin/zattoo_player"
pkg_nofetch() {
einfo "Due to license reasons download manually ${SRC_URI} to ${DISTDIR}"
}
src_install() {
echo "LD_LIBRARY_PATH=\"/opt/zattoo/lib\" /opt/zattoo/bin/zattoo_player">zattoo
dobin zattoo || die
into /opt/zattoo
dobin usr/bin/zattoo{d,_player,-uri-handler} || die
newlib.so usr/lib/zattoo/libfaad.so.0.0.0 libfaad.so.0 || die
sed -i "s:/usr/bin/zattoo_player:/usr/bin/zattoo:g" usr/share/applications/zattoo_player.desktop
domenu usr/share/applications/zattoo_player.desktop
insinto /usr/share/
doins -r usr/share/{locale,zattoo_player}
dosym ../../../usr/lib/xulrunner/libgtkembedmoz.so /opt/zattoo/lib/libgtkembedmoz.so.0d
dosym ../../../usr/lib/xulrunner/libmozjs.so /opt/zattoo/lib/libmozjs.so.0d
dosym ../../../usr/lib/nspr/libnspr4.so /opt/zattoo/lib/libnspr4.so.0d
dosym ../../../usr/lib/nspr/libplc4.so /opt/zattoo/lib/libplc4.so.0d
dosym ../../../usr/lib/nspr/libplds4.so /opt/zattoo/lib/libplds4.so.0d
dosym ../../../usr/lib/xulrunner/libxpcom.so /opt/zattoo/lib/libxpcom.so.0d
dosym ../../../usr/lib/xulrunner/libxul.so /opt/zattoo/lib/libxul.so.0d
dosym ../../../usr/lib/libcurl.so /opt/zattoo/lib/libcurl.so.3
elog " "
elog "just enter zattoo to run the player"
elog " "
}