1 |
commit: 3b7dd77cd80474ce29b6c33eeedc0a39c19c44ae |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Dec 6 14:13:20 2018 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 6 14:15:09 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b7dd77c |
7 |
|
8 |
www-plugins/adobe-flash: Version 32.0.0.101 |
9 |
|
10 |
Package-Manager: Portage-2.3.52, Repoman-2.3.12 |
11 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
12 |
|
13 |
www-plugins/adobe-flash/Manifest | 4 + |
14 |
.../adobe-flash/adobe-flash-32.0.0.101.ebuild | 140 +++++++++++++++++++++ |
15 |
2 files changed, 144 insertions(+) |
16 |
|
17 |
diff --git a/www-plugins/adobe-flash/Manifest b/www-plugins/adobe-flash/Manifest |
18 |
index b596e003e29..8a43d955763 100644 |
19 |
--- a/www-plugins/adobe-flash/Manifest |
20 |
+++ b/www-plugins/adobe-flash/Manifest |
21 |
@@ -2,3 +2,7 @@ DIST adobe-flash-31.0.0.153-npapi.i386.tar.gz 8529821 BLAKE2B 3a465808b09f8b1f0b |
22 |
DIST adobe-flash-31.0.0.153-npapi.x86_64.tar.gz 9045870 BLAKE2B ff8d75fc30569c5076d28ae41eda038a1cd75aa85329309b54bd7fd260b81de98127a97f26d173b678e9263df1509771fd4df99ed7448245c944a1b5d47a53f6 SHA512 32813eb27feb3a3fe4e2f1c88671468f3d264c9ecca7b8f5e9abaa772fb91077ba8d479ab1e19c8a8d74203c6b37584a69faf2a9e7849f16cebe11fa96a71b6b |
23 |
DIST adobe-flash-31.0.0.153-ppapi.i386.tar.gz 8564354 BLAKE2B 08ae4a7417428e52c307c599a17ce931d717d09c347473950e78bfd2ca44183f6536c523c4c32178660c7f86342189e866ad58e21f0aefbeada6279c351bb50b SHA512 2efdb4c771e73325b93f9f20a282051734df9d9b4c103a3235c5db56b397fce23cbda69798439d7ec2a370f15196d976844d85a3fb594d8a846b622157575910 |
24 |
DIST adobe-flash-31.0.0.153-ppapi.x86_64.tar.gz 9482489 BLAKE2B 0fba22570fcb6fb9501d9a167733c0f761f193280c1de6f99836d23aa2de0353528ca12680d7b2dc133fbac7f8f0f6e2a4080dcaf0e2480d2d37f435bdb2a88c SHA512 205a1a215d87e319ba53429b583ffa3be34fec9960121505a3cedb758c9ae518c3781fd2f6f99e2e6599c3cac74c169a14ba8565525da610c1477771d76c6369 |
25 |
+DIST adobe-flash-32.0.0.101-npapi.i386.tar.gz 8528897 BLAKE2B 13a4160bff61e9f012953ca7eb3a5f1edcb5f4510d68a26fc56faf46b8f308c5aa3dc15747461c939f75e54a4bbe6fe9b8a371cbaeac9e1539b937143d3db034 SHA512 dca312d884e866a1474de6288e40144a4b32b71d2462ce864ef293ec6fe4e567c9c71d4396e7b9ddfb8ac5a3eee7e18365e4a51efa3f0cc66545037fb483fddf |
26 |
+DIST adobe-flash-32.0.0.101-npapi.x86_64.tar.gz 9045426 BLAKE2B d6c3decf07f03d8128c89dc82f7500902a349af8013d83237001ebda316ee68745367920f602683601cb1b02bd20456bffa1f84fe547be74cfac321c7ecb79b3 SHA512 b71ded348cd5fe58785e72c8f0feeb4730482874c9485cbbdcaa61c2a0e93ab565405d72ae4cbf0899f23eaa42e5854c576fbe465477f06e7abf46fa037598a8 |
27 |
+DIST adobe-flash-32.0.0.101-ppapi.i386.tar.gz 8563433 BLAKE2B 7665b460fb57174e0222263b06fe8a8e953794644f3b918e0e8e4350acb8413312060af1ff8e8f0007373fd06b26ba2f6e7ff010baacefabc1b8130f20b8f84a SHA512 7d4f34677d389404e97b86ea84a9a97d5a01c02f3bf47cbd2f4c2da5e239d04b01f78f2c5d17011c50324f384f99a93935cc3458264bc3691da6c4d136868155 |
28 |
+DIST adobe-flash-32.0.0.101-ppapi.x86_64.tar.gz 9482471 BLAKE2B 3d164f7f8421c304940bad797ee04b3417c6fe57ee16641b0c78275a980707c7bbb9f369923f96451739932660e3b2cb4d12edc0da5e2e5896a6a2c371a75b8e SHA512 39c96bc54c21c9d125daedce1a67b516dad17fdae8ac48cd8e2ac9a7bc3e6e22a34eaafe8234e998e3c9610641d5ede2a0e33f94471aa6812941d54b1f6e2f3f |
29 |
|
30 |
diff --git a/www-plugins/adobe-flash/adobe-flash-32.0.0.101.ebuild b/www-plugins/adobe-flash/adobe-flash-32.0.0.101.ebuild |
31 |
new file mode 100644 |
32 |
index 00000000000..b4fe619358d |
33 |
--- /dev/null |
34 |
+++ b/www-plugins/adobe-flash/adobe-flash-32.0.0.101.ebuild |
35 |
@@ -0,0 +1,140 @@ |
36 |
+# Copyright 1999-2018 Gentoo Authors |
37 |
+# Distributed under the terms of the GNU General Public License v2 |
38 |
+ |
39 |
+EAPI=6 |
40 |
+inherit gnome2-utils nsplugins multilib multilib-minimal |
41 |
+ |
42 |
+DESCRIPTION="Adobe Flash Player" |
43 |
+HOMEPAGE=" |
44 |
+ https://www.adobe.com/products/flashplayer.html |
45 |
+ https://get.adobe.com/flashplayer/ |
46 |
+ https://helpx.adobe.com/security/products/flash-player.html |
47 |
+" |
48 |
+ |
49 |
+AF_URI="https://fpdownload.adobe.com/pub/flashplayer/pdc/${PV}" |
50 |
+AF_NP_32_URI="${AF_URI}/flash_player_npapi_linux.i386.tar.gz -> ${P}-npapi.i386.tar.gz" |
51 |
+AF_NP_64_URI="${AF_URI}/flash_player_npapi_linux.x86_64.tar.gz -> ${P}-npapi.x86_64.tar.gz" |
52 |
+AF_PP_32_URI="${AF_URI}/flash_player_ppapi_linux.i386.tar.gz -> ${P}-ppapi.i386.tar.gz" |
53 |
+AF_PP_64_URI="${AF_URI}/flash_player_ppapi_linux.x86_64.tar.gz -> ${P}-ppapi.x86_64.tar.gz" |
54 |
+ |
55 |
+IUSE="+nsplugin +ppapi" |
56 |
+REQUIRED_USE=" |
57 |
+ || ( nsplugin ppapi ) |
58 |
+" |
59 |
+ |
60 |
+SRC_URI=" |
61 |
+ nsplugin? ( |
62 |
+ abi_x86_32? ( ${AF_NP_32_URI} ) |
63 |
+ abi_x86_64? ( ${AF_NP_64_URI} ) |
64 |
+ ) |
65 |
+ ppapi? ( |
66 |
+ abi_x86_32? ( ${AF_PP_32_URI} ) |
67 |
+ abi_x86_64? ( ${AF_PP_64_URI} ) |
68 |
+ ) |
69 |
+" |
70 |
+SLOT="22" |
71 |
+ |
72 |
+KEYWORDS="-* ~amd64 ~x86" |
73 |
+LICENSE="AdobeFlash-11.x" |
74 |
+RESTRICT="strip mirror" |
75 |
+ |
76 |
+NPAPI_RDEPEND=" |
77 |
+ dev-libs/atk[${MULTILIB_USEDEP}] |
78 |
+ dev-libs/glib:2[${MULTILIB_USEDEP}] |
79 |
+ dev-libs/nspr[${MULTILIB_USEDEP}] |
80 |
+ dev-libs/nss[${MULTILIB_USEDEP}] |
81 |
+ media-libs/fontconfig[${MULTILIB_USEDEP}] |
82 |
+ media-libs/freetype[${MULTILIB_USEDEP}] |
83 |
+ >=sys-libs/glibc-2.4 |
84 |
+ x11-libs/cairo[${MULTILIB_USEDEP}] |
85 |
+ x11-libs/gdk-pixbuf[${MULTILIB_USEDEP}] |
86 |
+ x11-libs/gtk+:2[${MULTILIB_USEDEP}] |
87 |
+ x11-libs/libX11[${MULTILIB_USEDEP}] |
88 |
+ x11-libs/libXcursor[${MULTILIB_USEDEP}] |
89 |
+ x11-libs/libXext[${MULTILIB_USEDEP}] |
90 |
+ x11-libs/libXrender[${MULTILIB_USEDEP}] |
91 |
+ x11-libs/libXt[${MULTILIB_USEDEP}] |
92 |
+ x11-libs/pango[${MULTILIB_USEDEP}] |
93 |
+" |
94 |
+RDEPEND=" |
95 |
+ !www-plugins/chrome-binary-plugins[flash(-)] |
96 |
+ nsplugin? ( |
97 |
+ ${NPAPI_RDEPEND} |
98 |
+ !www-plugins/adobe-flash:0 |
99 |
+ ) |
100 |
+" |
101 |
+ |
102 |
+S="${WORKDIR}" |
103 |
+ |
104 |
+# Ignore QA warnings in these closed-source binaries, since we can't fix them: |
105 |
+QA_PREBUILT="usr/*" |
106 |
+ |
107 |
+src_unpack() { |
108 |
+ local files=( ${A} ) |
109 |
+ |
110 |
+ multilib_src_unpack() { |
111 |
+ mkdir -p "${BUILD_DIR}" || die |
112 |
+ cd "${BUILD_DIR}" || die |
113 |
+ |
114 |
+ # we need to filter out the other archive(s) |
115 |
+ local other_abi |
116 |
+ [[ ${ABI} == amd64 ]] && other_abi=i386 || other_abi=x86_64 |
117 |
+ unpack ${files[@]//*${other_abi}*/} |
118 |
+ } |
119 |
+ |
120 |
+ multilib_parallel_foreach_abi multilib_src_unpack |
121 |
+} |
122 |
+ |
123 |
+multilib_src_install() { |
124 |
+ local pkglibdir=lib |
125 |
+ [[ -d usr/lib64 ]] && pkglibdir=lib64 |
126 |
+ |
127 |
+ if use nsplugin; then |
128 |
+ # PLUGINS_DIR comes from nsplugins.eclass |
129 |
+ exeinto /usr/$(get_libdir)/${PLUGINS_DIR} |
130 |
+ doexe libflashplayer.so |
131 |
+ |
132 |
+ if multilib_is_native_abi; then |
133 |
+ # No KDE applet, so allow the GTK utility to show up in KDE: |
134 |
+ sed \ |
135 |
+ -i usr/share/applications/flash-player-properties.desktop \ |
136 |
+ -e "/^NotShowIn=KDE;/d" || die |
137 |
+ |
138 |
+ # The userland 'flash-player-properties' standalone app: |
139 |
+ dobin usr/bin/flash-player-properties |
140 |
+ |
141 |
+ # Icon and .desktop for 'flash-player-properties' |
142 |
+ insinto /usr/share |
143 |
+ doins -r usr/share/{icons,applications} |
144 |
+ dosym ../icons/hicolor/48x48/apps/flash-player-properties.png \ |
145 |
+ /usr/share/pixmaps/flash-player-properties.png |
146 |
+ fi |
147 |
+ |
148 |
+ # The magic config file! |
149 |
+ insinto "/etc/adobe" |
150 |
+ doins "${FILESDIR}/mms.cfg" |
151 |
+ fi |
152 |
+ |
153 |
+ if use ppapi; then |
154 |
+ exeinto /usr/$(get_libdir)/chromium/PepperFlash |
155 |
+ doexe libpepflashplayer.so |
156 |
+ insinto /usr/$(get_libdir)/chromium/PepperFlash |
157 |
+ doins manifest.json |
158 |
+ |
159 |
+ if multilib_is_native_abi; then |
160 |
+ dodir /etc/chromium |
161 |
+ sed "${FILESDIR}"/pepper-flash-r1 \ |
162 |
+ -e "s|@FP_LIBDIR@|$(get_libdir)|g" \ |
163 |
+ -e "s|@FP_PV@|${PV}|g" \ |
164 |
+ > "${D}"/etc/chromium/pepper-flash \ |
165 |
+ || die |
166 |
+ fi |
167 |
+ fi |
168 |
+} |
169 |
+ |
170 |
+pkg_postinst() { |
171 |
+ gnome2_icon_cache_update |
172 |
+} |
173 |
+pkg_postrm() { |
174 |
+ gnome2_icon_cache_update |
175 |
+} |