blob: fc72aa2ab36abfbc2d098353b0521939ebfa54bc (
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
57
58
59
60
61
62
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-www/netscape-flash/netscape-flash-6.0.81.ebuild,v 1.6 2005/08/11 20:25:42 flameeyes Exp $
inherit nsplugins
#until a new package of gflashplayer is released
OLD_V="6.0.69"
IUSE="gtk"
S=${WORKDIR}/install_flash_player_6_linux
DESCRIPTION="Macromedia Shockwave Flash Player"
SRC_URI="mirror://macromedia/${P}.tar.gz
gtk? ( mirror://macromedia/gflashplayer-${OLD_V}.tar.gz )"
HOMEPAGE="http://www.macromedia.com/"
SLOT="0"
KEYWORDS="x86 amd64 -ppc -sparc"
LICENSE="Macromedia"
DEPEND="!net-www/gplflash
amd64? ( app-emulation/emul-linux-x86-baselibs
app-emulation/emul-linux-x86-xlibs )
!amd64? ( gtk? ( >=sys-libs/lib-compat-1.1
=x11-libs/gtk+-1.2* )
)"
RESTRICT="nostrip"
pkg_setup() {
# This is a binary x86 package => ABI=x86
# Please keep this in future versions
# Danny van Dyk <kugelfang@gentoo.org> 2005/03/26
has_multilib_profile && ABI="x86"
}
src_install() {
exeinto /opt/netscape/plugins
doexe libflashplayer.so
insinto /opt/netscape/plugins
doins flashplayer.xpt
inst_plugin /opt/netscape/plugins/libflashplayer.so
inst_plugin /opt/netscape/plugins/flashplayer.xpt
dodoc readme.txt
dohtml ReadMe.htm
# Optionally install the standalone GTK flash player
if [ "${ARCH}" != "amd64" ]; then
if use gtk
then
cd ${S}_sa
docinto gflashplayer
dodoc readme.txt
dohtml ReadMe.htm
dobin gflashplayer flashplayer-installer
fi
fi
}
|