added latest ebuild for zattoo-bin

This commit is contained in:
Manuel Friedli 2009-01-06 22:18:49 +00:00
parent 1ef1df627e
commit 21119aa82c
2 changed files with 66 additions and 0 deletions

View file

@ -0,0 +1,2 @@
DIST zattoo-3.3.1.18350-i386.tgz 2375920 RMD160 0537167825c2def4e034e7af28418383f0c45217 SHA1 98a92cd0f1f3136414fd43a9a3e119615421c75c SHA256 33e861a0f7fb772efaeb1c01533137d74c820f235f47c8d8b6bb17abf324212d
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
net-www/netscape-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 " "
}