1 |
commit: 5bf2b6a7e6666c001799ff24f63051e7d80ad484 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Oct 16 16:06:32 2017 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 16 16:40:40 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bf2b6a7 |
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.170.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 0f3423bf64a..6806e44d743 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.159-npapi.i386.tar.gz 8511837 SHA256 3443daf0bb70532e754 |
21 |
DIST adobe-flash-27.0.0.159-npapi.x86_64.tar.gz 9025182 SHA256 2d5aff35d00b7f443b69ba40f1250ea5cbe5b5cb67520a642a17a602ec3723dc SHA512 4ad6f7ca1ce0d533a20e1edc748a368bac4be8a13b592d4c72d2f048fa9055158a7c89899e8179f59e66b34d98b857a2bc2587b02de986ac4fc16cc2e12b38b3 WHIRLPOOL 8bfd01d3e2566d8c8754c5efbdd218daae163c2ce2192c50b4ce4ac23cc227150704ecfafc3fc77d3ee9b1e10a28cc11a4cbe3eceb0746055a7d57b79d6e1f94 |
22 |
DIST adobe-flash-27.0.0.159-ppapi.i386.tar.gz 8547073 SHA256 46305f024fcab46ac73bea45637a72384ef3ae2420dcb132a0125aadc267e158 SHA512 2d8c9d8db42022754ccf88f0f676e9964af35a3107707dc9685a09a4270bce4d6926fda9f87e8b7bb5d0a3c33a62e83a30d731891e1bf3e7a5abb3185a555373 WHIRLPOOL b93ab94a0cccbe14dabd9209b6678a58aa9b1569f9fec3324124d93ecaf596d12f1ee1712a32405e5dab0aac4f296aa807e08b298b8e9b955d930b49093073ba |
23 |
DIST adobe-flash-27.0.0.159-ppapi.x86_64.tar.gz 9462989 SHA256 5844d563f79ace7dea2c9f1196d63cc8b77c0f5fe5d5b258f2fee3aae4ef8fb4 SHA512 dff4c40cef124278656912997a4772e3b8117ce65074e1e366e0f12d37a8591cd1ca6f52c198feffbc6cb503154a80972c0a7132cfae5ecd06e9d0250a1007a4 WHIRLPOOL 4fee4d1f3e4b150c5fd4cdf0b43622312b656dc5bd9c4965a814b13d4421147c1f6cc7af2514dc1e3b13f65731e799a1c3c24a1d823ab91132ab2262d34c737f |
24 |
+DIST adobe-flash-27.0.0.170-npapi.i386.tar.gz 8512470 SHA256 a06d815d2858e58b0f11624a6567da3de17db27df68a3527a7774ba21f4558cb SHA512 e51b494de7da910079c6810b8b7c74d39bdc8f6addde3ba01cde087fe7de6a65ea668c429bbceb30d98989de4686fb66e75087f668ae0961d6e13ae40996c8dd WHIRLPOOL 3629aca75aa3c1fbeded1c956564f59eaf87f922ef9fea31ce61c6c4e1a7f44c0a4c8d1aa14f53c2cfed6db75060e7f7ca7fe9519a0ec612104419139e9d4564 |
25 |
+DIST adobe-flash-27.0.0.170-npapi.x86_64.tar.gz 9025191 SHA256 966761fda5fc29301cd7720dc1e84b2551d142e7e5d51e3898e8e6fe7c11cc43 SHA512 c4a2879c4ac945ff6921025e4efcffe0dbccbf2cb972dfd9db3020c78b69dfec35c0f7a63e479f55ab06d06f386864d1740595f633fb9f02fc20584125c3c7ef WHIRLPOOL d0bdc0d6356dcb80f2f3e0a9f49bc723b7285151414ab2702b5103235226ecd34a874eacbcfe26a50e5de4ee479ff18146d262ef2751e90532a4fb672f31ed7e |
26 |
+DIST adobe-flash-27.0.0.170-ppapi.i386.tar.gz 8547131 SHA256 9b60006e28333bb0a8f333ebd97782dc811b8c35d63ea5441d65bea5a7085aa4 SHA512 1cd426eaba556b296e8ba91dd21ee5899767444408ecedf96dbda74bcc56a69e0d542b4d91a287878fa2307457b2aa8291a37a4b689cc0f8e896b9ea40f92293 WHIRLPOOL a5c33c669a32431d6d352182d7b40f620afb09c16c3adccfa873fcb3e631e434a66d20795ffb2dec08f1badd83c187bc52de18a1f90502d14bebc7d39413836a |
27 |
+DIST adobe-flash-27.0.0.170-ppapi.x86_64.tar.gz 9461678 SHA256 2ac5788fd87881acbdf5992a0b4841087e30f4244ecff7311fe36b702b0c25ab SHA512 e324f6f4a813157f5acde2225a4ac920c7d920a585299dbd6c0af1a3ee17b8339f966baf1868d11d237673936df24c04270a15c8bf1618fd377a762784d8bad1 WHIRLPOOL a82853451ef8f4608ed3e18a16c20e7e47254b3b7219c747ed66dadb89b10ce30b5ea172ac79db0d297b4dbf2407c39e6db1a708ad5432cc0a8036df492d58ce |
28 |
|
29 |
diff --git a/www-plugins/adobe-flash/adobe-flash-27.0.0.170.ebuild b/www-plugins/adobe-flash/adobe-flash-27.0.0.170.ebuild |
30 |
new file mode 100644 |
31 |
index 00000000000..eb6463c6e19 |
32 |
--- /dev/null |
33 |
+++ b/www-plugins/adobe-flash/adobe-flash-27.0.0.170.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 |
+} |