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