Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-plugins/adobe-flash/
Date: Wed, 14 Aug 2019 05:48:06
Message-Id: 1565761672.baf68cf7bff2861645377d954458308ca8c0d1af.jer@gentoo
1 commit: baf68cf7bff2861645377d954458308ca8c0d1af
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 14 05:24:43 2019 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 14 05:47:52 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=baf68cf7
7
8 www-plugins/adobe-flash: Old
9
10 Package-Manager: Portage-2.3.71, Repoman-2.3.17
11 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
12
13 www-plugins/adobe-flash/Manifest | 4 -
14 .../adobe-flash/adobe-flash-32.0.0.223.ebuild | 140 ---------------------
15 2 files changed, 144 deletions(-)
16
17 diff --git a/www-plugins/adobe-flash/Manifest b/www-plugins/adobe-flash/Manifest
18 index 669d3eca688..8cd40260283 100644
19 --- a/www-plugins/adobe-flash/Manifest
20 +++ b/www-plugins/adobe-flash/Manifest
21 @@ -1,7 +1,3 @@
22 -DIST adobe-flash-32.0.0.223-npapi.i386.tar.gz 8537552 BLAKE2B d9e1a838eb639fdf2457eac60389e91fa8c704bfc77a3f422336171d165967f55eeed191d1bcfa1df66d9f5246d2de08280c9b2e596782b244f2c40fa84dc367 SHA512 0f18ffc00fa2a11ddf614a4e173ba322cdfd7a010d85e3e8497f902f38824a48f62c8a7b461ab7459f3c2ea707d0f768a0d3e78e192f69c4accad2af152145ae
23 -DIST adobe-flash-32.0.0.223-npapi.x86_64.tar.gz 9052736 BLAKE2B a1e116e89bfc35336f14d449b61a2de374d3ff4f3c39a7ee3edd7fa6eee5f76c4cf32275318a28ef2bf026a65376c29057a71545ebdb0cbdb619c95532ba13fb SHA512 bceb2781cda99d5c821720bbb6088be4e03924bcb4ba31bfe4d55f3aaa1f607cc200246ded02e4ff05161253818cfef8f3b6d053d91b35459317d278745e5e8f
24 -DIST adobe-flash-32.0.0.223-ppapi.i386.tar.gz 8569994 BLAKE2B d22c797c8782c95073e239ad13fa9bb9157cf1bc63f60d48d9a3ca0440f33babc9a9adb3db6eaccc372fc519d1b78c8c987a750469d9a8a279f93df77457ab86 SHA512 0b8ab4e76c6b3e8b189a0da3a7bbfa04462eac9067d11e78f0e376e6b779d8eb13b55cb0ff877f6d5b659f1cc81e4ac1f9319834bea25040935742afdcf32653
25 -DIST adobe-flash-32.0.0.223-ppapi.x86_64.tar.gz 9485487 BLAKE2B c3e80307b439fcbb27093a6bbb7da6dd91ff77f1ef4396abc51948c0825b9aaf11132f3a15cff17bebdd066c2c069a164d05ab57f2da6a7e6942269a4b8a2c47 SHA512 041d976a09cb957d3ffc34e1462c6bd5866641f505f0c2a65079c83578e731c877c623d1a237bf827db083f1578a1da9b0a2049eaa4d1427d8e9e2d6570a87e3
26 DIST adobe-flash-32.0.0.238-npapi.i386.tar.gz 8537560 BLAKE2B e4a039dcdf329c053fb727cfa35a2ba9dc7d8255c287e49cc7d27d9618bf7e705c0df3027bfb6145c752f01940cf05bb5e77d45d43a10d6fac60f74172458d60 SHA512 65ca4e8f936d67302305b94876b7cc029d2ec6711393407aba829abc4d13aefbe77eb6b4a9705dd986db630ecc9d132df3597911d7290ca0f6c0465d811ca5f2
27 DIST adobe-flash-32.0.0.238-npapi.x86_64.tar.gz 9054187 BLAKE2B d2f50d3add8c70f872039c103099c5a378876c12f3ced4a5f8b539226f82bc0c2bcf181454276479c2ecdc4325d0b36816043dd0dd4f232d9ad7b3d7db702d96 SHA512 b79d073790888d90ef1612fbc104880d762833a8e61fbdb2ed081c20553eb546037577ef766ba529bb8202ee3cbcca0a07675857982e0ebd5884f8ad342f6fba
28 DIST adobe-flash-32.0.0.238-ppapi.i386.tar.gz 8574403 BLAKE2B 8f31ab87dbce433e380d659c6542a497ae47522be8e852b59176ab3e338a9717c826f28d62f607cc0bfe8d2fbea86487891c61671b41c3e395f9d47f8dce68c4 SHA512 386af88ce22730c49db024b37b6ff71ad9642b0cf9844fcff91e53b529928ff9e672414167fe50a09bf815e77184a23b8ba8b4db081970dcafb646e148e95c99
29
30 diff --git a/www-plugins/adobe-flash/adobe-flash-32.0.0.223.ebuild b/www-plugins/adobe-flash/adobe-flash-32.0.0.223.ebuild
31 deleted file mode 100644
32 index 14f113c3c5f..00000000000
33 --- a/www-plugins/adobe-flash/adobe-flash-32.0.0.223.ebuild
34 +++ /dev/null
35 @@ -1,140 +0,0 @@
36 -# Copyright 1999-2019 Gentoo Authors
37 -# Distributed under the terms of the GNU General Public License v2
38 -
39 -EAPI=6
40 -inherit gnome2-utils nsplugins multilib multilib-minimal
41 -
42 -DESCRIPTION="Adobe Flash Player"
43 -HOMEPAGE="
44 - https://www.adobe.com/products/flashplayer.html
45 - https://get.adobe.com/flashplayer/
46 - https://helpx.adobe.com/security/products/flash-player.html
47 -"
48 -
49 -AF_URI="https://fpdownload.adobe.com/pub/flashplayer/pdc/${PV}"
50 -AF_NP_32_URI="${AF_URI}/flash_player_npapi_linux.i386.tar.gz -> ${P}-npapi.i386.tar.gz"
51 -AF_NP_64_URI="${AF_URI}/flash_player_npapi_linux.x86_64.tar.gz -> ${P}-npapi.x86_64.tar.gz"
52 -AF_PP_32_URI="${AF_URI}/flash_player_ppapi_linux.i386.tar.gz -> ${P}-ppapi.i386.tar.gz"
53 -AF_PP_64_URI="${AF_URI}/flash_player_ppapi_linux.x86_64.tar.gz -> ${P}-ppapi.x86_64.tar.gz"
54 -
55 -IUSE="+nsplugin +ppapi"
56 -REQUIRED_USE="
57 - || ( nsplugin ppapi )
58 -"
59 -
60 -SRC_URI="
61 - nsplugin? (
62 - abi_x86_32? ( ${AF_NP_32_URI} )
63 - abi_x86_64? ( ${AF_NP_64_URI} )
64 - )
65 - ppapi? (
66 - abi_x86_32? ( ${AF_PP_32_URI} )
67 - abi_x86_64? ( ${AF_PP_64_URI} )
68 - )
69 -"
70 -SLOT="22"
71 -
72 -KEYWORDS="-* amd64 x86"
73 -LICENSE="AdobeFlash-11.x"
74 -RESTRICT="strip mirror"
75 -
76 -NPAPI_RDEPEND="
77 - dev-libs/atk[${MULTILIB_USEDEP}]
78 - dev-libs/glib:2[${MULTILIB_USEDEP}]
79 - dev-libs/nspr[${MULTILIB_USEDEP}]
80 - dev-libs/nss[${MULTILIB_USEDEP}]
81 - media-libs/fontconfig[${MULTILIB_USEDEP}]
82 - media-libs/freetype[${MULTILIB_USEDEP}]
83 - >=sys-libs/glibc-2.4
84 - x11-libs/cairo[${MULTILIB_USEDEP}]
85 - x11-libs/gdk-pixbuf[${MULTILIB_USEDEP}]
86 - x11-libs/gtk+:2[${MULTILIB_USEDEP}]
87 - x11-libs/libX11[${MULTILIB_USEDEP}]
88 - x11-libs/libXcursor[${MULTILIB_USEDEP}]
89 - x11-libs/libXext[${MULTILIB_USEDEP}]
90 - x11-libs/libXrender[${MULTILIB_USEDEP}]
91 - x11-libs/libXt[${MULTILIB_USEDEP}]
92 - x11-libs/pango[${MULTILIB_USEDEP}]
93 -"
94 -RDEPEND="
95 - !www-plugins/chrome-binary-plugins[flash(-)]
96 - nsplugin? (
97 - ${NPAPI_RDEPEND}
98 - !www-plugins/adobe-flash:0
99 - )
100 -"
101 -
102 -S="${WORKDIR}"
103 -
104 -# Ignore QA warnings in these closed-source binaries, since we can't fix them:
105 -QA_PREBUILT="usr/*"
106 -
107 -src_unpack() {
108 - local files=( ${A} )
109 -
110 - multilib_src_unpack() {
111 - mkdir -p "${BUILD_DIR}" || die
112 - cd "${BUILD_DIR}" || die
113 -
114 - # we need to filter out the other archive(s)
115 - local other_abi
116 - [[ ${ABI} == amd64 ]] && other_abi=i386 || other_abi=x86_64
117 - unpack ${files[@]//*${other_abi}*/}
118 - }
119 -
120 - multilib_parallel_foreach_abi multilib_src_unpack
121 -}
122 -
123 -multilib_src_install() {
124 - local pkglibdir=lib
125 - [[ -d usr/lib64 ]] && pkglibdir=lib64
126 -
127 - if use nsplugin; then
128 - # PLUGINS_DIR comes from nsplugins.eclass
129 - exeinto /usr/$(get_libdir)/${PLUGINS_DIR}
130 - doexe libflashplayer.so
131 -
132 - if multilib_is_native_abi; then
133 - # No KDE applet, so allow the GTK utility to show up in KDE:
134 - sed \
135 - -i usr/share/applications/flash-player-properties.desktop \
136 - -e "/^NotShowIn=KDE;/d" || die
137 -
138 - # The userland 'flash-player-properties' standalone app:
139 - dobin usr/bin/flash-player-properties
140 -
141 - # Icon and .desktop for 'flash-player-properties'
142 - insinto /usr/share
143 - doins -r usr/share/{icons,applications}
144 - dosym ../icons/hicolor/48x48/apps/flash-player-properties.png \
145 - /usr/share/pixmaps/flash-player-properties.png
146 - fi
147 -
148 - # The magic config file!
149 - insinto "/etc/adobe"
150 - doins "${FILESDIR}/mms.cfg"
151 - fi
152 -
153 - if use ppapi; then
154 - exeinto /usr/$(get_libdir)/chromium/PepperFlash
155 - doexe libpepflashplayer.so
156 - insinto /usr/$(get_libdir)/chromium/PepperFlash
157 - doins manifest.json
158 -
159 - if multilib_is_native_abi; then
160 - dodir /etc/chromium
161 - sed "${FILESDIR}"/pepper-flash-r1 \
162 - -e "s|@FP_LIBDIR@|$(get_libdir)|g" \
163 - -e "s|@FP_PV@|${PV}|g" \
164 - > "${D}"/etc/chromium/pepper-flash \
165 - || die
166 - fi
167 - fi
168 -}
169 -
170 -pkg_postinst() {
171 - gnome2_icon_cache_update
172 -}
173 -pkg_postrm() {
174 - gnome2_icon_cache_update
175 -}