blob: 7dbfe40746fc556b9a7bf259f3160189258eb4dd (
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
63
64
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-www/netscape-flash/netscape-flash-10.0.20.7_alpha.ebuild,v 1.2 2008/11/19 15:11:29 lack Exp $
EAPI=1
inherit nsplugins rpm
DESCRIPTION="Adobe Flash Player"
SRC_URI="http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-10.0.d20.7.linux-x86_64.so.tar.gz"
HOMEPAGE="http://www.adobe.com/"
IUSE=""
SLOT="0"
# Keeps -x86 around as a placeholder for now - Some day we'll have the same
# version for both arches... I hope.
KEYWORDS="-* -x86 ~amd64"
LICENSE="AdobeFlash-10"
RESTRICT="strip mirror"
S="${WORKDIR}"
RDEPEND="x11-libs/gtk+:2
media-libs/fontconfig
dev-libs/nss
net-misc/curl
>=sys-libs/glibc-2.4
|| ( media-fonts/liberation-fonts media-fonts/corefonts )"
QA_EXECSTACK="opt/netscape/plugins/libflashplayer.so"
src_install() {
exeinto /opt/netscape/plugins
doexe libflashplayer.so
inst_plugin /opt/netscape/plugins/libflashplayer.so
# The magic config file!
insinto "/etc/adobe"
doins "${FILESDIR}/mms.cfg"
}
pkg_postinst() {
ewarn "Flash player is closed-source, with a long history of security"
ewarn "issues. Please consider only running Flash applets you know to"
ewarn "be safe."
if has_version 'www-client/mozilla-firefox' || \
has_version 'www-client/mozilla-firefox-bin'; then
elog "The Firefox 'flashblock' extension may help:"
elog " https://addons.mozilla.org/en-US/firefox/addon/433"
fi
if has_version 'kde-base/konqueror'; then
elog "Konqueror users: You may need to follow the instructions here:"
elog " http://dev.gentoo.org/~lack/konqueror-flash.xml"
elog "For Flash to work with your browser."
fi
if has_version 'net-www/nspluginwrapper'; then
elog "If you were using nspluginwrapper for this plugin, you may want"
elog "to run 'nspluginwrapper -a -u' as root to clear out any old"
elog "wrappers."
fi
}
|