1 |
commit: 4ab142d599c129ed4f72d5eedebc2184a7ad4f67 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 24 07:55:33 2015 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 24 07:55:33 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ab142d5 |
7 |
|
8 |
www-plugins/adobe-flash: Old. |
9 |
|
10 |
Package-Manager: portage-2.2.20.1 |
11 |
|
12 |
www-plugins/adobe-flash/Manifest | 3 - |
13 |
.../adobe-flash/adobe-flash-11.2.202.508.ebuild | 234 --------------------- |
14 |
2 files changed, 237 deletions(-) |
15 |
|
16 |
diff --git a/www-plugins/adobe-flash/Manifest b/www-plugins/adobe-flash/Manifest |
17 |
index e2b718b..45b167d 100644 |
18 |
--- a/www-plugins/adobe-flash/Manifest |
19 |
+++ b/www-plugins/adobe-flash/Manifest |
20 |
@@ -1,6 +1,3 @@ |
21 |
-DIST adobe-flash-11.2.202.508-debug.i386.tar.gz 7427656 SHA256 f5f2e714d7023133bcb90cd88c941089a60331bb37ce4e9d82a83a0af738c4bb SHA512 9a94eaf9274f268467d9233667f86083001581dad3e4701aaefdbaa977d65e613d4e50443a5a7b5a5abe3fa679f843c2b346db9e43ed8aa3f8c529c76164e945 WHIRLPOOL fa0e0686e1d21916d8084a5476f47812bac7fe5c9e740022ca7ae032d451859a5968fbf1219ab3f1cabf2f521a3542bbc0820d396f7007a812185d5a77f2cff1 |
22 |
-DIST adobe-flash-11.2.202.508.i386.tar.gz 6947080 SHA256 2a263957676a1d5f3f7ff28fc119e41bc24c6187fc948759d890554f465c0391 SHA512 702fc60b786671b408cd58a743a9feab8af49458ed7465bd55b908fb2ccb9ae9d4f86249a065c2865e3b2e4510b3e5ec04e87db399f5ca868f2ed93bc6b59db0 WHIRLPOOL 5ec2907c0b3dcf00ee11049a989df5088108eaee7a6c357ab2caba4f1e5ecefdc1503044585726d99ca70345d1397c45b2652e3964e6dce6c165b2e7107a710f |
23 |
-DIST adobe-flash-11.2.202.508.x86_64.tar.gz 7266504 SHA256 e5bcd57d4d453c56da8c46fc738de79ebfb3bd9461f25439eb97a46f770003c4 SHA512 75ef86f769ee28599a305ed5ada05261050eaf896fd4e86cdc6d0a879444bbbe20ba2139cfb258f477f656fdac485e2b80dadefdbd4f91579370f329aff7929c WHIRLPOOL fec28a4895bd2d7b8c542cd609f6686192901b8dbdd3c276014fdda2f9a7c174bdcaf2982dd9532363eb5a29650d3b6f16b7ec2f3696600d967089d7c3697877 |
24 |
DIST adobe-flash-11.2.202.521-debug.i386.tar.gz 7429513 SHA256 c0d8ec7e6b450f2cefe18a4c202d6c6b77446b78fa1485fc711b176398d230a2 SHA512 b87d697ccb8c561b16d33f013483f4c2cfdb253dc9cbddbf479c1dc25b63b20b604617dfc53a39d63eaa3821c7e6ea19272b23de019e03dbffe2dcb24af406fc WHIRLPOOL 800caa1cfbab03ce043cb15118fe02897cbe92a9baa9f8e64c90eb0f37cd34c2ca22c932c18f2d34db06b0db311393ad5fa51cd6f852d0b3123013adf694960b |
25 |
DIST adobe-flash-11.2.202.521.i386.tar.gz 6949779 SHA256 628fab20b9592b2be903d40d42507d09ade2064aa44be59313eb60d2ac10a129 SHA512 aa5e34e670003763da0595f0e16f003e77ec983f65e595ea9a1264a9e4f7607d1c3735c117c4468938146733f3bd6a8cbec735251ddde9937e9896e98b78089c WHIRLPOOL 565a41bea61d8546893d093325dd1f0f72f1f18a89134e36341d312939ca36012afeba1aec6eb4fe91d160d4b3ddd3f51a9d7a1e57acbfc5c6d2ab6efb0dcb8a |
26 |
DIST adobe-flash-11.2.202.521.x86_64.tar.gz 7264084 SHA256 2dee7fa213d5dfc8cce497736144f271ef2393e9e164595ef03b1f2fafaa93b9 SHA512 e0b618a1979f679c211c2a94e7a324da594d964e6f2b5f07d9630ac81ee035ee910335039f57f7f6a201d343fa544665bce96ea92bab5a0a18f460dd0ee76a7d WHIRLPOOL 41f7b59404b3409500fa175b69ecf7debab144b79c2f80c56e8d75b26617f4ae432315c83d7eafaa2107e0c8d36c3739669e01898ec3274cc37ba404c83cbb79 |
27 |
|
28 |
diff --git a/www-plugins/adobe-flash/adobe-flash-11.2.202.508.ebuild b/www-plugins/adobe-flash/adobe-flash-11.2.202.508.ebuild |
29 |
deleted file mode 100644 |
30 |
index a77fb11..0000000 |
31 |
--- a/www-plugins/adobe-flash/adobe-flash-11.2.202.508.ebuild |
32 |
+++ /dev/null |
33 |
@@ -1,234 +0,0 @@ |
34 |
-# Copyright 1999-2015 Gentoo Foundation |
35 |
-# Distributed under the terms of the GNU General Public License v2 |
36 |
-# $Id$ |
37 |
- |
38 |
-EAPI=5 |
39 |
-inherit nsplugins toolchain-funcs versionator multilib multilib-minimal |
40 |
- |
41 |
-DESCRIPTION="Adobe Flash Player" |
42 |
-HOMEPAGE=" |
43 |
- http://www.adobe.com/products/flashplayer.html |
44 |
- http://get.adobe.com/flashplayer/ |
45 |
-" |
46 |
- |
47 |
-AF_URI="http://fpdownload.macromedia.com/get/flashplayer/pdc" |
48 |
-AF_DB_URI="http://fpdownload.macromedia.com/pub/flashplayer/updaters" |
49 |
-PV_M=$(get_major_version) |
50 |
-AF_32_URI="${AF_URI}/${PV}/install_flash_player_${PV_M}_linux.i386.tar.gz -> ${P}.i386.tar.gz" |
51 |
-AF_64_URI="${AF_URI}/${PV}/install_flash_player_${PV_M}_linux.x86_64.tar.gz -> ${P}.x86_64.tar.gz" |
52 |
-AF_32_DB_URI="${AF_DB_URI}/${PV_M}/flashplayer_${PV_M}_plugin_debug.i386.tar.gz -> ${P}-debug.i386.tar.gz" |
53 |
- |
54 |
-SRC_URI=" |
55 |
- abi_x86_32? ( |
56 |
- !debug? ( ${AF_32_URI} ) |
57 |
- debug? ( ${AF_32_DB_URI} ) |
58 |
- ) |
59 |
- abi_x86_64? ( ${AF_64_URI} ) |
60 |
-" |
61 |
-IUSE="debug kde selinux cpu_flags_x86_sse2" |
62 |
-REQUIRED_USE=" |
63 |
- cpu_flags_x86_sse2 |
64 |
- debug? ( abi_x86_32 ) |
65 |
- || ( abi_x86_64 abi_x86_32 ) |
66 |
-" |
67 |
-SLOT="0" |
68 |
- |
69 |
-KEYWORDS="-* amd64 x86" |
70 |
-LICENSE="AdobeFlash-11.x" |
71 |
-RESTRICT="strip mirror" |
72 |
- |
73 |
-S="${WORKDIR}" |
74 |
- |
75 |
-NATIVE_DEPS=" |
76 |
- dev-libs/atk |
77 |
- dev-libs/glib:2 |
78 |
- dev-libs/nspr |
79 |
- dev-libs/nss |
80 |
- kde? ( |
81 |
- dev-qt/qtcore:4 |
82 |
- dev-qt/qtdbus:4 |
83 |
- dev-qt/qtgui:4 |
84 |
- dev-qt/qtsvg:4 |
85 |
- kde-base/kdelibs |
86 |
- x11-libs/libICE |
87 |
- x11-libs/libSM |
88 |
- x11-libs/libXau |
89 |
- x11-libs/libXdmcp |
90 |
- x11-libs/libXext |
91 |
- x11-libs/libXft |
92 |
- x11-libs/libXpm |
93 |
- ) |
94 |
- media-libs/fontconfig |
95 |
- media-libs/freetype |
96 |
- >=sys-libs/glibc-2.4 |
97 |
- x11-libs/cairo |
98 |
- x11-libs/gdk-pixbuf |
99 |
- x11-libs/gtk+:2 |
100 |
- x11-libs/libX11 |
101 |
- x11-libs/libXcursor |
102 |
- x11-libs/libXext |
103 |
- x11-libs/libXrender |
104 |
- x11-libs/libXt |
105 |
- x11-libs/pango |
106 |
-" |
107 |
- |
108 |
-DEPEND=" |
109 |
- amd64? ( abi_x86_32? ( !abi_x86_64? ( www-plugins/nspluginwrapper ) ) ) |
110 |
-" |
111 |
-RDEPEND=" |
112 |
- ${DEPEND} |
113 |
- abi_x86_64? ( ${NATIVE_DEPS} ) |
114 |
- abi_x86_32? ( |
115 |
- amd64? ( |
116 |
- >=dev-libs/atk-2.10.0[abi_x86_32(-)] |
117 |
- >=dev-libs/glib-2.34.3:2[abi_x86_32(-)] |
118 |
- >=dev-libs/nspr-4.10.4[abi_x86_32(-)] |
119 |
- >=dev-libs/nss-3.15.4[abi_x86_32(-)] |
120 |
- >=media-libs/fontconfig-2.10.92[abi_x86_32(-)] |
121 |
- >=media-libs/freetype-2.5.0.1[abi_x86_32(-)] |
122 |
- >=x11-libs/cairo-1.12.14-r4[abi_x86_32(-)] |
123 |
- >=x11-libs/gdk-pixbuf-2.30.7[abi_x86_32(-)] |
124 |
- >=x11-libs/gtk+-2.24.23:2[abi_x86_32(-)] |
125 |
- >=x11-libs/libX11-1.6.2[abi_x86_32(-)] |
126 |
- >=x11-libs/libXcursor-1.1.14[abi_x86_32(-)] |
127 |
- >=x11-libs/libXext-1.3.2[abi_x86_32(-)] |
128 |
- >=x11-libs/libXrender-0.9.8[abi_x86_32(-)] |
129 |
- >=x11-libs/libXt-1.1.4[abi_x86_32(-)] |
130 |
- >=x11-libs/pango-1.36.3[abi_x86_32(-)] |
131 |
- ) |
132 |
- x86? ( ${NATIVE_DEPS} ) |
133 |
- ) |
134 |
- || ( media-fonts/liberation-fonts media-fonts/corefonts ) |
135 |
- selinux? ( sec-policy/selinux-flash ) |
136 |
-" |
137 |
- |
138 |
-# Ignore QA warnings in these closed-source binaries, since we can't fix them: |
139 |
-QA_PREBUILT="usr/*" |
140 |
- |
141 |
-any_cpu_missing_flag() { |
142 |
- local value=${1} |
143 |
- grep '^flags' /proc/cpuinfo | grep -qv "${value}" |
144 |
-} |
145 |
- |
146 |
-pkg_setup() { |
147 |
- unset need_lahf_wrapper |
148 |
- if use abi_x86_64 && any_cpu_missing_flag 'lahf_lm'; then |
149 |
- export need_lahf_wrapper=1 |
150 |
- fi |
151 |
-} |
152 |
- |
153 |
-src_unpack() { |
154 |
- local files=( ${A} ) |
155 |
- |
156 |
- multilib_src_unpack() { |
157 |
- mkdir -p "${BUILD_DIR}" || die |
158 |
- cd "${BUILD_DIR}" || die |
159 |
- |
160 |
- # we need to filter out the other archive(s) |
161 |
- local other_abi |
162 |
- [[ ${ABI} == amd64 ]] && other_abi=i386 || other_abi=x86_64 |
163 |
- unpack ${files[@]//*${other_abi}*/} |
164 |
- } |
165 |
- |
166 |
- multilib_parallel_foreach_abi multilib_src_unpack |
167 |
-} |
168 |
- |
169 |
-src_configure() { :; } |
170 |
- |
171 |
-multilib_src_compile() { |
172 |
- if [[ ${ABI} == amd64 && ${need_lahf_wrapper} ]]; then |
173 |
- # This experimental wrapper, from Maks Verver via bug #268336 should |
174 |
- # emulate the missing lahf instruction affected platforms. |
175 |
- set -- $(tc-getCC) -fPIC -shared -nostdlib -lc \ |
176 |
- -oflashplugin-lahf-fix.so "${FILESDIR}/flashplugin-lahf-fix.c" |
177 |
- echo "${@}" >&2 |
178 |
- "${@}" || die "Compile of flashplugin-lahf-fix.so failed" |
179 |
- fi |
180 |
-} |
181 |
- |
182 |
-multilib_src_install() { |
183 |
- # PLUGINS_DIR comes from nsplugins.eclass |
184 |
- exeinto /usr/$(get_libdir)/${PLUGINS_DIR} |
185 |
- doexe libflashplayer.so |
186 |
- |
187 |
- if [[ ${ABI} == amd64 && ${need_lahf_wrapper} ]]; then |
188 |
- # This experimental wrapper, from Maks Verver via bug #268336 should |
189 |
- # emulate the missing lahf instruction affected platforms. |
190 |
- doexe flashplugin-lahf-fix.so |
191 |
- fi |
192 |
- |
193 |
- if multilib_is_native_abi; then |
194 |
- if use kde; then |
195 |
- local pkglibdir=lib |
196 |
- [[ -d usr/lib64 ]] && pkglibdir=lib64 |
197 |
- |
198 |
- exeinto /usr/$(get_libdir)/kde4 |
199 |
- doexe usr/${pkglibdir}/kde4/kcm_adobe_flash_player.so |
200 |
- insinto /usr/share/kde4/services |
201 |
- doins usr/share/kde4/services/kcm_adobe_flash_player.desktop |
202 |
- else |
203 |
- # No KDE applet, so allow the GTK utility to show up in KDE: |
204 |
- sed -i usr/share/applications/flash-player-properties.desktop \ |
205 |
- -e "/^NotShowIn=KDE;/d" || die "sed of .desktop file failed" |
206 |
- fi |
207 |
- |
208 |
- # The userland 'flash-player-properties' standalone app: |
209 |
- dobin usr/bin/flash-player-properties |
210 |
- |
211 |
- # Icon and .desktop for 'flash-player-properties' |
212 |
- insinto /usr/share |
213 |
- doins -r usr/share/{icons,applications} |
214 |
- dosym ../icons/hicolor/48x48/apps/flash-player-properties.png \ |
215 |
- /usr/share/pixmaps/flash-player-properties.png |
216 |
- fi |
217 |
- |
218 |
- # The magic config file! |
219 |
- insinto "/etc/adobe" |
220 |
- doins "${FILESDIR}/mms.cfg" |
221 |
-} |
222 |
- |
223 |
-unregister_pluginwrapper() { |
224 |
- # TODO: Perhaps parse the output of 'nspluginwrapper -l' |
225 |
- # TODO: However, the 64b flash plugin makes |
226 |
- # TODO: 'nspluginwrapper -l' segfault. |
227 |
- local FLASH_WRAPPER="${ROOT}/usr/lib64/${PLUGINS_DIR}/npwrapper.libflashplayer.so" |
228 |
- if has_version 'www-plugins/nspluginwrapper' && [[ -f ${FLASH_WRAPPER} ]]; then |
229 |
- einfo "Removing 32-bit plugin wrapper" |
230 |
- nspluginwrapper -r "${FLASH_WRAPPER}" |
231 |
- fi |
232 |
-} |
233 |
- |
234 |
-pkg_postinst() { |
235 |
- if use amd64 ; then |
236 |
- if [[ ${need_lahf_wrapper} ]]; then |
237 |
- ewarn "Your processor does not support the 'lahf' instruction which is used" |
238 |
- ewarn "by Adobe's 64-bit flash binary. We have installed a wrapper which" |
239 |
- ewarn "should allow this plugin to run. If you encounter problems, please" |
240 |
- ewarn "adjust your USE flags to install only the 32-bit version and reinstall:" |
241 |
- ewarn " ${CATEGORY}/${PN}[abi_x86_32,-abi_x86_64]" |
242 |
- elog |
243 |
- fi |
244 |
- # needed to clean up upgrades from older installs |
245 |
- if use abi_x86_64 && [[ -n ${REPLACING_VERSIONS} ]]; then |
246 |
- unregister_pluginwrapper |
247 |
- fi |
248 |
- if has_version 'www-plugins/nspluginwrapper'; then |
249 |
- if use abi_x86_32 && ! use abi_x86_64; then |
250 |
- einfo "nspluginwrapper detected: Installing plugin wrapper" |
251 |
- local oldabi="${ABI}" |
252 |
- ABI="x86" |
253 |
- local FLASH_SOURCE="${ROOT}/usr/lib32/${PLUGINS_DIR}/libflashplayer.so" |
254 |
- nspluginwrapper -i "${FLASH_SOURCE}" |
255 |
- ABI="${oldabi}" |
256 |
- fi |
257 |
- elif use abi_x86_32; then |
258 |
- elog "To use the 32-bit flash player in a native 64-bit browser," |
259 |
- elog "you must install www-plugins/nspluginwrapper" |
260 |
- fi |
261 |
- fi |
262 |
-} |
263 |
- |
264 |
-pkg_prerm() { |
265 |
- use amd64 && use abi_x86_32 && ! use abi_x86_64 && \ |
266 |
- unregister_pluginwrapper |
267 |
-} |