1 |
commit: 6cac894400a6d95ead8b8db6343566550dc149de |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Nov 29 08:06:35 2016 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 29 08:11:24 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cac8944 |
7 |
|
8 |
www-plugins/adobe-flash: Version bump. |
9 |
|
10 |
Package-Manager: portage-2.3.2 |
11 |
|
12 |
www-plugins/adobe-flash/Manifest | 4 + |
13 |
.../adobe-flash/adobe-flash-24.0.0.170.ebuild | 150 +++++++++++++++++++++ |
14 |
2 files changed, 154 insertions(+) |
15 |
|
16 |
diff --git a/www-plugins/adobe-flash/Manifest b/www-plugins/adobe-flash/Manifest |
17 |
index 44e7da9..d83af04 100644 |
18 |
--- a/www-plugins/adobe-flash/Manifest |
19 |
+++ b/www-plugins/adobe-flash/Manifest |
20 |
@@ -7,3 +7,7 @@ DIST adobe-flash-24.0.0.154-npapi.i386.rpm 9132957 SHA256 1a2d552cdbdb52800a9144 |
21 |
DIST adobe-flash-24.0.0.154-npapi.x86_64.rpm 9671919 SHA256 db589ee00da05f8ee7730c453d3b4f65e0b7c84cca50d8416a67214d9b06b657 SHA512 d62a39015f682541dff08edbfd76d70476fbf7d084963d1d3cf50cf080f55dbede1a737326c96ee6215589f41e58a0199fe3d3549c015d2ff7314012d4418129 WHIRLPOOL 4da2d657e16441589a9f709ce0c46a4cc890d2f23de270ed09ac9fd66a1f2fc34cb7724a854ac58f897e78193769827e7e6798c97626acd8c43412094de072b9 |
22 |
DIST adobe-flash-24.0.0.154-ppapi.i386.rpm 8537186 SHA256 bcce5a9025dbf45f813f156cdd4e2799edbdea6c0f31c0770cf03e3494d6a1b4 SHA512 110eb6b7de5354721c3b45889f6a6470dce3154f985d03644d99c1a7be6140522945e85ff232493ab59b7890da5acdd19493c198a9d3e8e1ff31bfd2145e2d7b WHIRLPOOL 16e389214af279be0bf76138a9e1da51660e1f8adefd0e8bb5b2dde1de78e98dcd5e05eaae1f12de01e1dcc88ff32d900e81b8f3320b11c53b4e8aeef598a6de |
23 |
DIST adobe-flash-24.0.0.154-ppapi.x86_64.rpm 9437119 SHA256 fd5e0bea2f566f72999c6af76640e35baf8794bf3b38e451bebe78a5f3c4c561 SHA512 bdb80f700ae53583583c04a82742c1586f36ad8871a34c30867ed48d48e488329f1a87974d843e5a9d2b420cd130ca667f3ab2d7572ee46d854393b1431d1c30 WHIRLPOOL d95c73db8f0f68bc3a2354638e936b40fa9079098d135f51d58074ffe118668d4e6ca1590ae4081b5b3b94d405222f862cd958dcf1a140e76c9dd3f51578792d |
24 |
+DIST adobe-flash-24.0.0.170-npapi.i386.rpm 9133446 SHA256 0cf42b37dfb08b8d2f0b2442c4b6382664180fba9afa63be4673913088d8c558 SHA512 6220dddfab9523aa3a3417495e4780281885689cb1f44005320b779aec83882528eec41af37eb805bf27bb338c80bc99005a182bcf282f8f0d09e97d64926e75 WHIRLPOOL 5f6937ff26effcf483fce69fe407e9762f4b7b24dc7f4d3e500e59597b0b3b8bff81e032b42df42abe55c05787e61583a7f8b3067d1a7329da9940ac268a3502 |
25 |
+DIST adobe-flash-24.0.0.170-npapi.x86_64.rpm 9675923 SHA256 5b663fb88bb78a223148c27a395c19519e091a975135e63d4a0c5a3165f22848 SHA512 2fd823a901a71aa98693d05d7982a840711fec4daaa4d3c5a8eff41b34b9a9709bba9fb8c8896a54df35d846930fffb2ac832f8681239508db2d1483f9067cee WHIRLPOOL 7382711c69453f36f170a3512f2b7ced8ada84b3e001c9d0512a93baeec07f405430c936052b645170e71ff31ce14a4b68476174b9d3baeff0b6452692d58b2d |
26 |
+DIST adobe-flash-24.0.0.170-ppapi.i386.rpm 8539220 SHA256 08285fe1d7b859fef869015f5304b5b1166e238128e4927206ce03deddebc8ac SHA512 6b741ddc24cfb45846c064756b01d6a3ae56fcb988e7a16b5384dc35b64c268a30016a33272f4d89e297bf011c49a07a0e0d8aa3947342326d437d3006f10d8c WHIRLPOOL 8a6dc26b229768f7dff42c5095eb8057b15f922e04378563a632f53f5d3e4fa382f2df5debb14db9e24e5ec97005eefb0d502da1a8e316d5340a12acb234ae7e |
27 |
+DIST adobe-flash-24.0.0.170-ppapi.x86_64.rpm 9441180 SHA256 a9e894c65204df6ddf708ba22704f8153c56b65e01acaa05870bbdd4f38db3e0 SHA512 76edb7b132a7a62440153557bbb71490c3d660860e77d2fcc9755d565735cddb748420cf73b116e23c438099f821845ec4586b892c72c9f5506dafeff184bd70 WHIRLPOOL abd4aaf0d5e29a3a20c5f7591e3149f5c964ea7056552d5c0e3377c952583954ce5ce37648140211df779c29932048d02175361ed26532b09668fa46d0b80aec |
28 |
|
29 |
diff --git a/www-plugins/adobe-flash/adobe-flash-24.0.0.170.ebuild b/www-plugins/adobe-flash/adobe-flash-24.0.0.170.ebuild |
30 |
new file mode 100644 |
31 |
index 00000000..90d2caf |
32 |
--- /dev/null |
33 |
+++ b/www-plugins/adobe-flash/adobe-flash-24.0.0.170.ebuild |
34 |
@@ -0,0 +1,150 @@ |
35 |
+# Copyright 1999-2016 Gentoo Foundation |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+# $Id$ |
38 |
+ |
39 |
+EAPI=6 |
40 |
+inherit nsplugins multilib multilib-minimal rpm |
41 |
+ |
42 |
+DESCRIPTION="Adobe Flash Player" |
43 |
+HOMEPAGE=" |
44 |
+ http://www.adobe.com/products/flashplayer.html |
45 |
+ http://get.adobe.com/flashplayer/ |
46 |
+ https://helpx.adobe.com/security/products/flash-player.html |
47 |
+" |
48 |
+ |
49 |
+AF_URI="https://fpdownload.macromedia.com/pub/labs/flashruntimes/flashplayer" |
50 |
+AF_NP_32_URI="${AF_URI}/linux32/flash-player-npapi-${PV}-release.i386.rpm -> ${P}-npapi.i386.rpm" |
51 |
+AF_NP_64_URI="${AF_URI}/linux64/flash-player-npapi-${PV}-release.x86_64.rpm -> ${P}-npapi.x86_64.rpm" |
52 |
+AF_PP_32_URI="${AF_URI}/linux32/flash-player-ppapi-${PV}-release.i386.rpm -> ${P}-ppapi.i386.rpm" |
53 |
+AF_PP_64_URI="${AF_URI}/linux64/flash-player-ppapi-${PV}-release.x86_64.rpm -> ${P}-ppapi.x86_64.rpm" |
54 |
+ |
55 |
+IUSE="kde +nsplugin +ppapi" |
56 |
+SRC_URI=" |
57 |
+ nsplugin? ( |
58 |
+ abi_x86_32? ( ${AF_NP_32_URI} ) |
59 |
+ abi_x86_64? ( ${AF_NP_64_URI} ) |
60 |
+ ) |
61 |
+ ppapi? ( |
62 |
+ abi_x86_32? ( ${AF_PP_32_URI} ) |
63 |
+ abi_x86_64? ( ${AF_PP_64_URI} ) |
64 |
+ ) |
65 |
+" |
66 |
+SLOT="22" |
67 |
+ |
68 |
+KEYWORDS="-* ~amd64 ~x86" |
69 |
+LICENSE="AdobeFlash-11.x" |
70 |
+RESTRICT="strip mirror" |
71 |
+ |
72 |
+NPAPI_RDEPEND=" |
73 |
+ dev-libs/atk |
74 |
+ dev-libs/glib:2 |
75 |
+ dev-libs/nspr |
76 |
+ dev-libs/nss |
77 |
+ kde? ( |
78 |
+ dev-qt/qtcore:4 |
79 |
+ dev-qt/qtdbus:4 |
80 |
+ dev-qt/qtgui:4 |
81 |
+ dev-qt/qtsvg:4 |
82 |
+ kde-base/kdelibs |
83 |
+ x11-libs/libICE |
84 |
+ x11-libs/libSM |
85 |
+ x11-libs/libXau |
86 |
+ x11-libs/libXdmcp |
87 |
+ x11-libs/libXext |
88 |
+ x11-libs/libXft |
89 |
+ x11-libs/libXpm |
90 |
+ ) |
91 |
+ media-libs/fontconfig |
92 |
+ media-libs/freetype |
93 |
+ >=sys-libs/glibc-2.4 |
94 |
+ x11-libs/cairo |
95 |
+ x11-libs/gdk-pixbuf |
96 |
+ x11-libs/gtk+:2 |
97 |
+ x11-libs/libX11 |
98 |
+ x11-libs/libXcursor |
99 |
+ x11-libs/libXext |
100 |
+ x11-libs/libXrender |
101 |
+ x11-libs/libXt |
102 |
+ x11-libs/pango |
103 |
+" |
104 |
+RDEPEND=" |
105 |
+ !www-plugins/chrome-binary-plugins[flash(-)] |
106 |
+ nsplugin? ( |
107 |
+ ${NPAPI_RDEPEND} |
108 |
+ !www-plugins/adobe-flash:0 |
109 |
+ ) |
110 |
+" |
111 |
+ |
112 |
+S="${WORKDIR}" |
113 |
+ |
114 |
+# Ignore QA warnings in these closed-source binaries, since we can't fix them: |
115 |
+QA_PREBUILT="usr/*" |
116 |
+ |
117 |
+src_unpack() { |
118 |
+ local files=( ${A} ) |
119 |
+ |
120 |
+ multilib_src_unpack() { |
121 |
+ mkdir -p "${BUILD_DIR}" || die |
122 |
+ cd "${BUILD_DIR}" || die |
123 |
+ |
124 |
+ # we need to filter out the other archive(s) |
125 |
+ local other_abi |
126 |
+ [[ ${ABI} == amd64 ]] && other_abi=i386 || other_abi=x86_64 |
127 |
+ rpm_unpack ${files[@]//*${other_abi}*/} |
128 |
+ } |
129 |
+ |
130 |
+ multilib_parallel_foreach_abi multilib_src_unpack |
131 |
+} |
132 |
+ |
133 |
+multilib_src_install() { |
134 |
+ local pkglibdir=lib |
135 |
+ [[ -d usr/lib64 ]] && pkglibdir=lib64 |
136 |
+ |
137 |
+ if use nsplugin; then |
138 |
+ # PLUGINS_DIR comes from nsplugins.eclass |
139 |
+ exeinto /usr/$(get_libdir)/${PLUGINS_DIR} |
140 |
+ doexe usr/${pkglibdir}/flash-plugin/libflashplayer.so |
141 |
+ |
142 |
+ if multilib_is_native_abi; then |
143 |
+ if use kde; then |
144 |
+ exeinto /usr/$(get_libdir)/kde4 |
145 |
+ doexe usr/${pkglibdir}/kde4/kcm_adobe_flash_player.so |
146 |
+ insinto /usr/share/kde4/services |
147 |
+ doins usr/share/kde4/services/kcm_adobe_flash_player.desktop |
148 |
+ else |
149 |
+ # No KDE applet, so allow the GTK utility to show up in KDE: |
150 |
+ sed -i usr/share/applications/flash-player-properties.desktop \ |
151 |
+ -e "/^NotShowIn=KDE;/d" || die "sed of .desktop file failed" |
152 |
+ fi |
153 |
+ |
154 |
+ # The userland 'flash-player-properties' standalone app: |
155 |
+ dobin usr/bin/flash-player-properties |
156 |
+ |
157 |
+ # Icon and .desktop for 'flash-player-properties' |
158 |
+ insinto /usr/share |
159 |
+ doins -r usr/share/{icons,applications} |
160 |
+ dosym ../icons/hicolor/48x48/apps/flash-player-properties.png \ |
161 |
+ /usr/share/pixmaps/flash-player-properties.png |
162 |
+ fi |
163 |
+ |
164 |
+ # The magic config file! |
165 |
+ insinto "/etc/adobe" |
166 |
+ doins "${FILESDIR}/mms.cfg" |
167 |
+ fi |
168 |
+ |
169 |
+ if use ppapi; then |
170 |
+ exeinto /usr/$(get_libdir)/chromium-browser/PepperFlash |
171 |
+ doexe usr/${pkglibdir}/flash-plugin/libpepflashplayer.so |
172 |
+ insinto /usr/$(get_libdir)/chromium-browser/PepperFlash |
173 |
+ doins usr/${pkglibdir}/flash-plugin/manifest.json |
174 |
+ |
175 |
+ if multilib_is_native_abi; then |
176 |
+ dodir /etc/chromium |
177 |
+ sed "${FILESDIR}"/pepper-flash \ |
178 |
+ -e "s|@FP_LIBDIR@|$(get_libdir)|g" \ |
179 |
+ -e "s|@FP_PV@|${PV}|g" \ |
180 |
+ > "${D}"/etc/chromium/pepper-flash \ |
181 |
+ || die |
182 |
+ fi |
183 |
+ fi |
184 |
+} |