added latest ebuild for zattoo

This commit is contained in:
Manuel Friedli 2010-11-30 20:52:56 +00:00
parent 7553a7ea21
commit 4614790988
2 changed files with 46 additions and 0 deletions

View file

@ -0,0 +1,2 @@
DIST zattoo-4.0.5-i386.deb 19386988 RMD160 9278d5a164137d3a10ef96d2781e1625a30ae1c9 SHA1 753d58dde5cb6a1a6bd1035d23e920b0004d25aa SHA256 c47b80a3d14a4a1676aae7ad7e3cc52b8ef7d93ca07fdb69d3d4c40885e6c9a7
EBUILD zattoo-4.0.5.ebuild 970 RMD160 4a2dd6b9e3c8796c2364bca1c91dfe58acb6424d SHA1 e32074a0250859ca9a32ccafe835f61d68a7ffaf SHA256 42e9c95c31af6b1c77bb8c489240a02034b2fad18e9558c8707799bb2ea79e02

View file

@ -0,0 +1,44 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=3
inherit eutils
DESCRIPTION="watch real-time TV on your computer"
HOMEPAGE="http://zattoo.com"
SRC_URI="http://download.zattoo.com/${P}-i386.deb"
LICENSE=""
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="app-arch/deb2targz"
RDEPEND="www-plugins/adobe-flash[32bit]
x86? (
x11-libs/qt-core
x11-libs/qt-gui
x11-libs/qt-xmlpatterns
x11-libs/qt-webkit
)
amd64? ( app-emulation/emul-linux-x86-qtlibs )"
QA_PRESTRIPPED="usr/bin/Zattoo"
src_unpack() {
unpack ${A}
tar xf data.tar.gz || die
}
src_prepare() {
sed -i -e 's:Icon=.*:Icon=/usr/share/pixmaps/zattoo.png:' usr/share/applications/zattoo_player.desktop || die
}
src_install() {
dobin usr/bin/Zattoo || die
newmenu usr/share/applications/zattoo_player.desktop zattoo.desktop || die
newicon usr/share/zattoo_player/resources/images/zattoo_icon.png zattoo.png || die
}