this is the only version of flash that actually works for me, and it needed a fix from the portage version

This commit is contained in:
Zero_Chaos 2009-08-03 20:07:19 +00:00
parent f87f249a8b
commit fafb5e74b4
2 changed files with 62 additions and 0 deletions

View file

@ -0,0 +1,2 @@
DIST install_flash_player_9.tar.gz 3057910 RMD160 efd3ddf118af41963ebb9a76c75383e4f5d27372 SHA1 b0b70bdba1a91e3954a509e8ea252d556cf4f3c9 SHA256 c2581cf5034a9adb9393acfd646d50608ab3a6a229c6f36a77ca9a8d8c5c6f07
EBUILD adobe-flash-9.0.159.0.ebuild 1847 RMD160 447acbe83660e8e9e01d93e9dc96a93dd58cb405 SHA1 16a28daef4f8a5869c17ca2c7fb417175c4804f4 SHA256 58d0852d6c1222884a6ecf8b18e567b434b99eb4d7247f2ffc328ecd79707d9e

View file

@ -0,0 +1,60 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-plugins/adobe-flash/adobe-flash-9.0.159.0.ebuild,v 1.1 2009/04/10 13:14:04 ulm Exp $
inherit nsplugins
DESCRIPTION="Adobe Flash Player"
SRC_URI="http://download.macromedia.com/pub/flashplayer/installers/current/9/install_flash_player_9.tar.gz"
HOMEPAGE="http://www.adobe.com/go/kb406791"
IUSE=""
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
LICENSE="AdobeFlash-9.0.31.0"
RESTRICT="strip mirror"
S=${WORKDIR}
RDEPEND="amd64? ( app-emulation/emul-linux-x86-baselibs
app-emulation/emul-linux-x86-gtklibs
app-emulation/emul-linux-x86-soundlibs
app-emulation/emul-linux-x86-xlibs )
x86? ( x11-libs/libXext
x11-libs/libX11
x11-libs/libXt
=x11-libs/gtk+-2*
media-libs/freetype
media-libs/fontconfig )
|| ( media-fonts/freefont-ttf media-fonts/corefonts )"
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() {
cd "${S}/install_flash_player_9_linux/"
exeinto /opt/netscape/plugins
doexe libflashplayer.so
inst_plugin /opt/netscape/plugins/libflashplayer.so
}
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'; 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
}