blob: 87aa802c5613a596865dabb2f69a3eb05d4fb0e2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-tv/livestation/livestation-3.0.0.ebuild,v 1.2 2010/01/01 15:19:11 ssuominen Exp $
inherit eutils
DESCRIPTION="Watch live, interactive TV and radio on the Livestation player"
HOMEPAGE="http://www.livestation.com"
SRC_URI="http://updates.${PN}.com/releases/${P/l/L}.run"
LICENSE="GPL-3 LGPL-3 Livestation-EULA"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
EMUL_VER=20091231
RDEPEND="amd64? ( >=app-emulation/emul-linux-x86-baselibs-${EMUL_VER}
>=app-emulation/emul-linux-x86-xlibs-${EMUL_VER}
>=app-emulation/emul-linux-x86-qtlibs-${EMUL_VER} )"
DEPEND=""
MY_PN=${PN/l/L}
QA_TEXTRELS="opt/${MY_PN}/lib/*"
QA_DT_HASH="opt/${MY_PN}/${MY_PN}.bin opt/${MY_PN}/lib/.* opt/${MY_PN}/plugins/imageformats/.*"
QA_PRESTRIPPED="opt/${MY_PN}/${MY_PN}.bin opt/${MY_PN}/lib/.* opt/${MY_PN}/plugins/imageformats/.*"
RESTRICT="mirror"
PROPERTIES="interactive"
S=${WORKDIR}/i386
pkg_setup() {
check_license Livestation-EULA
}
src_unpack() {
unpack_makeself
}
src_install() {
local dest=/opt/${MY_PN}
dodir ${dest}
cp -dpR *.{bin,conf} plugins "${D}"/${dest} || die
rm -f lib/{libcrypto.so.0.9.8,libssl.so.0.9.8,libXtst.so.6,libQt*} || die
exeinto ${dest}/lib
doexe lib/* || die
dosym plugins/imageformats ${dest}/imageformats || die
dodoc README
newicon "${FILESDIR}"/${PN}_icon.svg ${PN}.svg
make_wrapper ${PN} ./${MY_PN}.bin ${dest} ${dest}/lib
make_desktop_entry ${PN} ${MY_PN} ${PN}
}
|