93 lines
2.7 KiB
Bash
93 lines
2.7 KiB
Bash
# Copyright 1999-2008 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: $
|
|
|
|
inherit eutils
|
|
|
|
MY_P=${PN/-bin}-${PV}
|
|
|
|
DESCRIPTION="live TV via Internet"
|
|
HOMEPAGE="http://zattoo.com/"
|
|
SRC_URI="http://download.zattoo.com/${MY_P}-i386.tgz"
|
|
# Due to a registration issue the file zattoo-xxxxx-i386.tgz must be downloaded
|
|
# manually from www.zattoo.com and stored in /usr/portage/distfiles/
|
|
LICENSE="Zattoo"
|
|
SLOT="0"
|
|
KEYWORDS="~x86"
|
|
IUSE=""
|
|
|
|
DEPEND=""
|
|
RDEPEND=">=sys-libs/glibc-2.4
|
|
x11-libs/gtkglext
|
|
net-libs/libgssglue
|
|
app-crypt/mit-krb5
|
|
gnome-base/libgnome
|
|
gnome-base/libgnomeui
|
|
media-libs/alsa-lib
|
|
net-dns/libidn
|
|
net-libs/xulrunner
|
|
net-www/netscape-flash
|
|
dev-libs/nspr
|
|
dev-libs/openssl
|
|
media-libs/faad2
|
|
net-misc/curl"
|
|
|
|
RESTRICT="fetch mirror strip"
|
|
QA_TEXTRELS="usr/lib/zattoo/*"
|
|
|
|
S=${WORKDIR}/dist
|
|
|
|
pkg_nofetch() {
|
|
einfo "Due to license reasons download manually http://download.zattoo.com/${MY_P}-i386.tgz to /usr/portage/distfiles"
|
|
}
|
|
|
|
src_install() {
|
|
insinto /usr/bin
|
|
doins usr/bin/*
|
|
dobin usr/bin/zattoo_player usr/bin/zattood usr/bin/zattoo-uri-handler
|
|
|
|
insinto /usr/lib/zattoo
|
|
doins usr/lib/zattoo/*
|
|
dobin usr/lib/zattoo/libfaad.so.0.0.0
|
|
|
|
insinto /usr/share/applications
|
|
doins usr/share/applications/*
|
|
domenu usr/share/applications/zattoo_player.desktop
|
|
|
|
insinto /usr/share/locale/de/LC_MESSAGES
|
|
doins usr/share/locale/de/LC_MESSAGES/*
|
|
|
|
insinto /usr/share/locale/es/LC_MESSAGES
|
|
doins usr/share/locale/es/LC_MESSAGES/*
|
|
|
|
insinto /usr/share/locale/fr/LC_MESSAGES
|
|
doins usr/share/locale/fr/LC_MESSAGES/*
|
|
|
|
insinto /usr/share/zattoo_player
|
|
doins usr/share/zattoo_player/*
|
|
|
|
insinto /usr/share/zattoo_player/Data
|
|
doins usr/share/zattoo_player/Data/*
|
|
|
|
insinto /usr/share/zattoo_player/Data/channels
|
|
doins usr/share/zattoo_player/Data/channels/*
|
|
|
|
insinto /usr/share/zattoo_player/Data/images
|
|
doins usr/share/zattoo_player/Data/images/*
|
|
|
|
insinto /usr/share/zattoo_player/Data/videos
|
|
doins usr/share/zattoo_player/Data/videos/*
|
|
|
|
insinto /usr/share/zattoo_player/glade
|
|
doins usr/share/zattoo_player/glade/*
|
|
|
|
dosym /usr/lib/xulrunner/libgtkembedmoz.so /usr/lib/zattoo/libgtkembedmoz.so.0d
|
|
dosym /usr/lib/xulrunner/libmozjs.so /usr/lib/zattoo/libmozjs.so.0d
|
|
dosym /usr/lib/nspr/libnspr4.so /usr/lib/zattoo/libnspr4.so.0d
|
|
dosym /usr/lib/nspr/libplc4.so /usr/lib/zattoo/libplc4.so.0d
|
|
dosym /usr/lib/nspr/libplds4.so /usr/lib/zattoo/libplds4.so.0d
|
|
dosym /usr/lib/xulrunner/libxpcom.so /usr/lib/zattoo/libxpcom.so.0d
|
|
dosym /usr/lib/xulrunner/libxul.so /usr/lib/zattoo/libxul.so.0d
|
|
dosym /usr/lib/libcurl.so /usr/lib/zattoo/libcurl.so.3
|
|
dosym /usr/lib/zattoo/libfaad.so.0.0.0 /usr/lib/zattoo/libfaad.so.0
|
|
}
|