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