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: Tue, 11 Feb 2020 16:17:50
Message-Id: 1581437865.29215f74ad2c0c17efd999843b76903edc04a19a.jer@gentoo
1 commit: 29215f74ad2c0c17efd999843b76903edc04a19a
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 11 16:17:35 2020 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 11 16:17:45 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29215f74
7
8 www-plugins/adobe-flash: Old
9
10 Package-Manager: Portage-2.3.88, Repoman-2.3.20
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.314.ebuild | 141 ---------------------
15 2 files changed, 145 deletions(-)
16
17 diff --git a/www-plugins/adobe-flash/Manifest b/www-plugins/adobe-flash/Manifest
18 index dfc29dcfc2a..38d65923ac3 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.314-npapi.i386.tar.gz 8537211 BLAKE2B 3c16d10039d921659c67c203449258f27f65837f13acfffa8b4b6c73d3543e9bb7f233bdb5ea00cb9bbfdecd3d0505d945a2a5bf151868d5c7e1a5f261c4a015 SHA512 8271fc0062c2fb838c9fb0e6ae5e2cbdd9b314cd1b82304ca88a98151f02be9d67936aa43b7b207a020423240238b501b7ae869eb8470904871cc626ebe07b2d
23 -DIST adobe-flash-32.0.0.314-npapi.x86_64.tar.gz 9243290 BLAKE2B 86929bdda23d8b747a7c229cb13fa8a2eadcb6df392dea04a6d7db79d4e785b0a24dbaa730e0d1d3eacaa74d8c36da2a0632d20b938a02b8733ca7fc7953a00f SHA512 1d75b37d5f097f91ac1eac44293cb97728c6e50505dcb75e55135b79cb94929908616d51aed34697bf59dc46ffe9b49c2d24bd817c1ee720c0e34390fc6e4678
24 -DIST adobe-flash-32.0.0.314-ppapi.i386.tar.gz 8574115 BLAKE2B a36ae83bc7cbad7cb1b0828edbce3552a29abc86c13116792b2a3909a80047e9fd1617cdd0136d57b98f86597fa37ca488f85bd7c190c88caa200c36b2c71d6a SHA512 ec2cf8273273f5cdefd800c1555995de2d5ccfc5abd83a7eafa72679a00dab8e283c8bbce35a7e52b20c5d2a7199f2dc33333d8714725b3a74c22c2e8be77b71
25 -DIST adobe-flash-32.0.0.314-ppapi.x86_64.tar.gz 9491851 BLAKE2B 4fcea8b6101ed634e7952234ffa826503a07085fb26405d2d9bc5f4a8bdd7af36d03f2fac9e19d9186e543d2f5f7fb6b655160ec595c6dc7cdc1514bfc96b98e SHA512 a032db1edc05b8b60c7fbb98af20e55925839a41da2c2d41202f6c9c7c1dc866f15c7908f2049d10a39b52794ba7c82c35cb6a31157040b6cdfdc146c10e9fea
26 DIST adobe-flash-32.0.0.330-npapi.i386.tar.gz 8542901 BLAKE2B 5b43a56c8de4462b51c3003877be8aa4c8e85af05202211358a9aed7566c6c1a57e369a933260b452c0f076bee398626214f366bad613d6ca14db08ee5a9fbd2 SHA512 6036edf4a8da513657e4b759f6d9ac1c6e5a78e478c76c1eb42edf35f533cfd95b6feeea488814b2461d7e42ddb345269e7192ac243acf7240d8ced6a5728dc0
27 DIST adobe-flash-32.0.0.330-npapi.x86_64.tar.gz 9062340 BLAKE2B 981becbbddb599c17516f73f3e353618eaafbd06e58b4d091a1af776ec8687778949785214b4834f2e70b437ba6085361907278e6156c7fb59da92fc5941890b SHA512 f8cddc25999574e0a7c29151b06339827caed2df7a7b61b2b625d5fc2f6f5c3583808178a5606c13b8e187bb2a29c1e40d6db15412e8aebe66abcc84b5f25525
28 DIST adobe-flash-32.0.0.330-ppapi.i386.tar.gz 8579454 BLAKE2B 2c71ee721caa6e6a98ececa89cfcc14f474ae1c862da42dc340d764d8f8db4b9c23172795a035cf839c77d1bac7753a466e6d802e01af7952af811bb274b7e26 SHA512 dcce6b054ae42b6215e4aa48c60b49722737f35dcafa9bf7313019122603981d7e9ec8105cd8f96d6844fa0dbecd775fa7b5a3789da0a9bd3f258545098da2ea
29
30 diff --git a/www-plugins/adobe-flash/adobe-flash-32.0.0.314.ebuild b/www-plugins/adobe-flash/adobe-flash-32.0.0.314.ebuild
31 deleted file mode 100644
32 index 577e3861a09..00000000000
33 --- a/www-plugins/adobe-flash/adobe-flash-32.0.0.314.ebuild
34 +++ /dev/null
35 @@ -1,141 +0,0 @@
36 -# Copyright 1999-2020 Gentoo Authors
37 -# Distributed under the terms of the GNU General Public License v2
38 -
39 -EAPI=6
40 -inherit xdg-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="bindist mirror strip"
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 - xdg_icon_cache_update
172 -}
173 -
174 -pkg_postrm() {
175 - xdg_icon_cache_update
176 -}