1 |
commit: 9ad31fe3b88753f72a49809a34ec3933bedb5f37 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Oct 25 10:58:27 2017 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Oct 25 10:58:27 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ad31fe3 |
7 |
|
8 |
www-plugins/adobe-flash: Version bump. |
9 |
|
10 |
Package-Manager: Portage-2.3.12, Repoman-2.3.3 |
11 |
|
12 |
www-plugins/adobe-flash/Manifest | 4 + |
13 |
.../adobe-flash/adobe-flash-27.0.0.183.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 9dd8b112c0e..171edd6bc3a 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.170-npapi.i386.tar.gz 8512470 SHA256 a06d815d2858e58b0f1 |
21 |
DIST adobe-flash-27.0.0.170-npapi.x86_64.tar.gz 9025191 SHA256 966761fda5fc29301cd7720dc1e84b2551d142e7e5d51e3898e8e6fe7c11cc43 SHA512 c4a2879c4ac945ff6921025e4efcffe0dbccbf2cb972dfd9db3020c78b69dfec35c0f7a63e479f55ab06d06f386864d1740595f633fb9f02fc20584125c3c7ef WHIRLPOOL d0bdc0d6356dcb80f2f3e0a9f49bc723b7285151414ab2702b5103235226ecd34a874eacbcfe26a50e5de4ee479ff18146d262ef2751e90532a4fb672f31ed7e |
22 |
DIST adobe-flash-27.0.0.170-ppapi.i386.tar.gz 8547131 SHA256 9b60006e28333bb0a8f333ebd97782dc811b8c35d63ea5441d65bea5a7085aa4 SHA512 1cd426eaba556b296e8ba91dd21ee5899767444408ecedf96dbda74bcc56a69e0d542b4d91a287878fa2307457b2aa8291a37a4b689cc0f8e896b9ea40f92293 WHIRLPOOL a5c33c669a32431d6d352182d7b40f620afb09c16c3adccfa873fcb3e631e434a66d20795ffb2dec08f1badd83c187bc52de18a1f90502d14bebc7d39413836a |
23 |
DIST adobe-flash-27.0.0.170-ppapi.x86_64.tar.gz 9461678 SHA256 2ac5788fd87881acbdf5992a0b4841087e30f4244ecff7311fe36b702b0c25ab SHA512 e324f6f4a813157f5acde2225a4ac920c7d920a585299dbd6c0af1a3ee17b8339f966baf1868d11d237673936df24c04270a15c8bf1618fd377a762784d8bad1 WHIRLPOOL a82853451ef8f4608ed3e18a16c20e7e47254b3b7219c747ed66dadb89b10ce30b5ea172ac79db0d297b4dbf2407c39e6db1a708ad5432cc0a8036df492d58ce |
24 |
+DIST adobe-flash-27.0.0.183-npapi.i386.tar.gz 8512893 SHA256 ae4532b374b63aa2ce5a625d93e5ae543a073bcb1f812489a88c1595691e466f SHA512 14be1b1c0312f65288b2ac434d476ca525431bed5be9706f240a7119e73baae0236f4e1bb7ead89c3be6bcd8e4915f53db8b27d43e055722bcc36a06a9f625cb WHIRLPOOL ee6fd9ee2f9210884be95f0fb86e1c6504d9b5d3a4004d63b3be7a2556cfa784670671f24bb05effdceba050e67229048722603b594034b1e5907251d021e548 |
25 |
+DIST adobe-flash-27.0.0.183-npapi.x86_64.tar.gz 9025057 SHA256 a12b8ee3e40dc80bd3f96a968f17f0de2cd9acea5c8a6b7e9a4688bcd7a2c835 SHA512 a1992d432470dcab43aed4eb6db6fb499abf760f59eb8b6985de8f11164afc81509e1d5c3fa34c68671061e03b006e519edf6dcb17adf95c0877d16777a9435c WHIRLPOOL 28011389d1a8e01cbf53f95944077f7873e1db04f13ac14188ac94010b86bc29dde92650eaf17e0fbdf07449c731ee7a334d20d5481410cabf67e83a3f91e0fd |
26 |
+DIST adobe-flash-27.0.0.183-ppapi.i386.tar.gz 8545500 SHA256 93e2f1a457281cd8a6b22a9f6c28a87f683bc989f05aed03d457dc91667a03f1 SHA512 19905f4fd6b6707482c7f3acdc53dcf2d6988518dedf4f86c1b6f1ce6007f38ce12e7c805988a556a20471c4ea9797e828d5906e88de5b91e1f7458a1e8b1f9d WHIRLPOOL 427583114d2f8f78351c62054a1c07fe0fa8a625cceb641802b919a96098ef02aaa5bbc94bea198807477d64c1a88d3851e48904ec66e3d9cea7aba1d2398f7c |
27 |
+DIST adobe-flash-27.0.0.183-ppapi.x86_64.tar.gz 9463482 SHA256 144325c00f40dfa704eda72fda6518ef797eb5be37715626099de8e722f80d22 SHA512 5c0fb7f42eccd1389d2ef0b4122cbb3b2fe917dabe514fb07e63aa6489e7d99169a1c7bdfc5a5514a61cc8d9d35ae7057fbc9fda7e9d7351a66efd0baf66b2a4 WHIRLPOOL 4440c50d87994ce7463ceb909fed60f992db69c60a88d4deba841a70f52d3bc04af7bc402ed1134eab8e106cb861b12ac182f5e96c0d9caa950a60314f058661 |
28 |
|
29 |
diff --git a/www-plugins/adobe-flash/adobe-flash-27.0.0.183.ebuild b/www-plugins/adobe-flash/adobe-flash-27.0.0.183.ebuild |
30 |
new file mode 100644 |
31 |
index 00000000000..eb6463c6e19 |
32 |
--- /dev/null |
33 |
+++ b/www-plugins/adobe-flash/adobe-flash-27.0.0.183.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 |
+} |