1 |
lack 09/02/25 19:32:10 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: netscape-flash-10.0.22.87.ebuild |
5 |
Removed: netscape-flash-10.0.21.1_alpha.ebuild |
6 |
Log: |
7 |
Version bump: 10.0.22.87 is released, for both 32-bit and 64-bit. Enjoy the first multilib flash plugin ebuild. |
8 |
(Portage version: 2.2_rc23/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.88 net-www/netscape-flash/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-www/netscape-flash/ChangeLog?rev=1.88&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-www/netscape-flash/ChangeLog?rev=1.88&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-www/netscape-flash/ChangeLog?r1=1.87&r2=1.88 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-www/netscape-flash/ChangeLog,v |
20 |
retrieving revision 1.87 |
21 |
retrieving revision 1.88 |
22 |
diff -u -r1.87 -r1.88 |
23 |
--- ChangeLog 7 Jan 2009 13:50:16 -0000 1.87 |
24 |
+++ ChangeLog 25 Feb 2009 19:32:09 -0000 1.88 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for net-www/netscape-flash |
27 |
# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-www/netscape-flash/ChangeLog,v 1.87 2009/01/07 13:50:16 lack Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-www/netscape-flash/ChangeLog,v 1.88 2009/02/25 19:32:09 lack Exp $ |
30 |
+ |
31 |
+*netscape-flash-10.0.22.87 (25 Feb 2009) |
32 |
+ |
33 |
+ 25 Feb 2009; Jim Ramsay <lack@g.o> |
34 |
+ -netscape-flash-10.0.21.1_alpha.ebuild, +netscape-flash-10.0.22.87.ebuild: |
35 |
+ Version bump: 10.0.22.87 is released, for both 32-bit and 64-bit. Enjoy |
36 |
+ the first multilib flash plugin ebuild. |
37 |
|
38 |
*netscape-flash-9.0.152.0 (07 Jan 2009) |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
1.1 net-www/netscape-flash/netscape-flash-10.0.22.87.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-www/netscape-flash/netscape-flash-10.0.22.87.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-www/netscape-flash/netscape-flash-10.0.22.87.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: netscape-flash-10.0.22.87.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2009 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/net-www/netscape-flash/netscape-flash-10.0.22.87.ebuild,v 1.1 2009/02/25 19:32:09 lack Exp $ |
53 |
|
54 |
EAPI=1 |
55 |
inherit nsplugins rpm multilib |
56 |
|
57 |
MY_32B_URI="http://fpdownload.macromedia.com/get/flashplayer/current/flash-plugin-${PV}-release.i386.rpm" |
58 |
MY_64B_URI="http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-${PV}.linux-x86_64.so.tar.gz" |
59 |
|
60 |
DESCRIPTION="Adobe Flash Player" |
61 |
SRC_URI="x86? ( ${MY_32B_URI} ) |
62 |
amd64? ( ${MY_64B_URI} |
63 |
multilib? ( ${MY_32B_URI} mirror://gentoo/flash-libcompat-0.2.tar.bz2 ) |
64 |
)" |
65 |
HOMEPAGE="http://www.adobe.com/" |
66 |
IUSE="multilib" |
67 |
SLOT="0" |
68 |
|
69 |
KEYWORDS="-* ~amd64 ~x86" |
70 |
LICENSE="AdobeFlash-10" |
71 |
RESTRICT="strip mirror" |
72 |
|
73 |
S="${WORKDIR}" |
74 |
|
75 |
RDEPEND="x11-libs/gtk+:2 |
76 |
media-libs/fontconfig |
77 |
dev-libs/nss |
78 |
net-misc/curl |
79 |
>=sys-libs/glibc-2.4 |
80 |
|| ( media-fonts/freefont-ttf media-fonts/corefonts ) |
81 |
amd64? ( |
82 |
multilib? ( |
83 |
app-emulation/emul-linux-x86-baselibs |
84 |
app-emulation/emul-linux-x86-gtklibs |
85 |
app-emulation/emul-linux-x86-soundlibs |
86 |
app-emulation/emul-linux-x86-xlibs |
87 |
) |
88 |
) |
89 |
" |
90 |
|
91 |
# Our new flash-libcompat suffers from the same EXESTACK problem as libcrypto |
92 |
# from app-text/acroread, so tell QA to ignore it. |
93 |
# Apparently the flash library itself also suffers from this issue |
94 |
QA_EXECSTACK="opt/flash-libcompat/libcrypto.so.0.9.7 |
95 |
opt/netscape/plugins32/libflashplayer.so |
96 |
opt/netscape/plugins/libflashplayer.so" |
97 |
|
98 |
src_install() { |
99 |
# 32b RPM has things hidden in funny places |
100 |
use x86 && pushd "${S}/usr/lib/flash-plugin" |
101 |
|
102 |
exeinto /opt/netscape/plugins |
103 |
doexe libflashplayer.so |
104 |
inst_plugin /opt/netscape/plugins/libflashplayer.so |
105 |
|
106 |
use x86 && popd "${S}/usr/lib/flash-plugin" |
107 |
|
108 |
# 64b tarball has no readme file. |
109 |
use x86 && dodoc "${S}/usr/share/doc/flash-plugin-${PV}/readme.txt" |
110 |
|
111 |
if use amd64 && has_multilib_profile; then |
112 |
oldabi="${ABI}" |
113 |
ABI="x86" |
114 |
|
115 |
# 32b plugin |
116 |
pushd "${S}/usr/lib/flash-plugin" |
117 |
exeinto /opt/netscape/plugins32/ |
118 |
doexe libflashplayer.so |
119 |
inst_plugin /opt/netscape/plugins32/libflashplayer.so |
120 |
dodoc "${S}/usr/share/doc/flash-plugin-${PV}/readme.txt" |
121 |
popd |
122 |
|
123 |
# 32b library compatibility: |
124 |
# |
125 |
# libcurl and libnss are not currently available in any emul-linux-x86 |
126 |
# packages, so for amd64 we provide these snarfed out of other binary |
127 |
# packages. libcurl and its ssl dependencies come from |
128 |
# app-text/acroread; libnss and its friends come from |
129 |
# net-libs/xulrunner-bin |
130 |
exeinto /opt/flash-libcompat |
131 |
pushd "${WORKDIR}/flash-libcompat-0.2/" |
132 |
doexe * |
133 |
popd |
134 |
echo 'LDPATH="/opt/flash-libcompat"' > 99flash-libcompat |
135 |
doenvd 99flash-libcompat |
136 |
|
137 |
ABI="${oldabi}" |
138 |
fi |
139 |
|
140 |
# The magic config file! |
141 |
insinto "/etc/adobe" |
142 |
doins "${FILESDIR}/mms.cfg" |
143 |
} |
144 |
|
145 |
pkg_postinst() { |
146 |
if use amd64 && has_version 'net-www/nspluginwrapper'; then |
147 |
# TODO: Perhaps parse the output of 'nspluginwrapper -l' |
148 |
# However, the 64b flash plugin makes 'nspluginwrapper -l' segfault. |
149 |
local FLASH_WRAPPER="${ROOT}/usr/lib64/nsbrowser/plugins/npwrapper.libflashplayer.so" |
150 |
if [[ -f ${FLASH_WRAPPER} ]]; then |
151 |
einfo "Removing duplicate 32-bit plugin wrapper: Native 64-bit plugin installed" |
152 |
nspluginwrapper -r ${FLASH_WRAPPER} |
153 |
fi |
154 |
fi |
155 |
|
156 |
ewarn "Flash player is closed-source, with a long history of security" |
157 |
ewarn "issues. Please consider only running flash applets you know to" |
158 |
ewarn "be safe. The 'flashblock' extension may help for mozilla users:" |
159 |
ewarn " https://addons.mozilla.org/en-US/firefox/addon/433" |
160 |
|
161 |
if has_version 'kde-base/konqueror'; then |
162 |
elog "Konqueror users - You may need to follow the instructions here:" |
163 |
elog " http://www.gentoo.org/proj/en/desktop/kde/kde-flash.xml" |
164 |
elog "For flash to work with your browser." |
165 |
fi |
166 |
} |