1 |
commit: eaef0f728222826637dd3567aa5d1a8130a5c9a7 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Sep 11 15:48:36 2018 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 11 15:48:36 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eaef0f72 |
7 |
|
8 |
www-plugins/adobe-flash: Version 31.0.0.108. |
9 |
|
10 |
Package-Manager: Portage-2.3.49, Repoman-2.3.10 |
11 |
|
12 |
www-plugins/adobe-flash/Manifest | 4 + |
13 |
.../adobe-flash/adobe-flash-31.0.0.108.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 c2266e7e99e..302a2e7dc80 100644 |
18 |
--- a/www-plugins/adobe-flash/Manifest |
19 |
+++ b/www-plugins/adobe-flash/Manifest |
20 |
@@ -2,3 +2,7 @@ DIST adobe-flash-30.0.0.154-npapi.i386.tar.gz 8529169 BLAKE2B 0a777bd3f04141a906 |
21 |
DIST adobe-flash-30.0.0.154-npapi.x86_64.tar.gz 9047298 BLAKE2B efbfd432bd224b5be0167d782316c4590461c4e16e15f254a43de6c52b2e85b41f22c7ed5834c6a22a34530f478244759af2c4e295a35467cc7993f6a8c724c2 SHA512 4b280b394169cdb4805f0dcdf0ec98a8f94c6921d78949603a6a14c1dc48537d5db44a360928caabd19b51e6aa16e3766e007e351ce8eb17191a206083965dd7 |
22 |
DIST adobe-flash-30.0.0.154-ppapi.i386.tar.gz 8562339 BLAKE2B 94fbff82201891122e09f2eb291fd224b321bd7fab133ae25ea3102e505e2d4de19cec9a6e0e14f7199559433bfbd19a15ea6a51b53ea77d1287a81a4b9ee9ea SHA512 e2ff2580fc21c3492bed603e3ff8d787f881b02584983625da51c881cb1d0278827ae6baf1aaa6ffa29150a33c941d169558d151dbe4312e1036fd35dc89f048 |
23 |
DIST adobe-flash-30.0.0.154-ppapi.x86_64.tar.gz 9478847 BLAKE2B 27a74283f27c00e4b2f6762f18ea1fc785cee7d0576a31e9b97d5cd3e9cfb19a5e744a1b4908a0ca000b3acd5925fa3bb5d6be4d094a09ae0a6cd65b5d347042 SHA512 f4a2b9aeab0aa3d950b17bfc38575a71452e1b608fc4214dc6f6233a1dd042a27c9f2b103adba560f07b468b5197230df46e5d32b7c59eef020181508b42bf72 |
24 |
+DIST adobe-flash-31.0.0.108-npapi.i386.tar.gz 8529291 BLAKE2B ded98c85f55dbc9bc80b89e6b787fed16d3123d0941e9cefbb3f843c2f35df483b4ebe0f5f078b2e99e3606845fb0e7e9b79990b72f5f0c4bc6f78598e954f7f SHA512 ef11942c9b7d69cf610885f53c1b1cee4e44c81d5229faaa6d38b30d4846892250ec0366deaa84d98ed1a8e12e526daf2c9a39f6a2e1f7f590914983f32b7641 |
25 |
+DIST adobe-flash-31.0.0.108-npapi.x86_64.tar.gz 9047129 BLAKE2B 11a3d90683442261ebb79fbc21bdcbf31b4369815c74a6460d7b59b01b7f0d8444143b540c7635c07aa3fd300feaceb1e3e6b1812d0c6b4f1b39f21cf5ee2a12 SHA512 6cf83b12002220aef393115b27e6b3e4bcd9901c3e6c782bbe2a0c2fbcee498454d34cecd6c629252b24c25966e2703ca9b5b193d14fcb0a3be39ebd38fd2a18 |
26 |
+DIST adobe-flash-31.0.0.108-ppapi.i386.tar.gz 8561961 BLAKE2B 4917fb4188b1c12e077babdfa0def0148bbad95359a48fce9ec94d934341c00aae6e19879f4287058706992baa6a44b3047ef5997d8f18ea2456c0701f61cfae SHA512 4ddaaeaf2fe5768ffd8fd91b97021625f1f9472c58ec51e2e385113e90096e51563d04cca9d7fb1932e818ff3c6a6370ce95b356882e846407af00f58c41e3ff |
27 |
+DIST adobe-flash-31.0.0.108-ppapi.x86_64.tar.gz 9479466 BLAKE2B 13b8165081aa9e99f164406c23c4a816ad6f2e2ea235e0d8914626b6b70fedddcf641d1879a5b6ca4e41194cf424f877928bd2a93b408d8bb763d8d01c55c2eb SHA512 e4846fdd0301e7f4df811128c97bf782d34abde60c440e66335cdd99cc458a5ac120cc4f8ef7707f7383dbc89db3d9ecf46cbd39822f4f889b3e9664e61a1091 |
28 |
|
29 |
diff --git a/www-plugins/adobe-flash/adobe-flash-31.0.0.108.ebuild b/www-plugins/adobe-flash/adobe-flash-31.0.0.108.ebuild |
30 |
new file mode 100644 |
31 |
index 00000000000..edde28781c1 |
32 |
--- /dev/null |
33 |
+++ b/www-plugins/adobe-flash/adobe-flash-31.0.0.108.ebuild |
34 |
@@ -0,0 +1,140 @@ |
35 |
+# Copyright 1999-2018 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 |
+} |