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, 15 Aug 2018 15:38:22
Message-Id: 1534347493.fba512a4bf1769f4cbcdca5373d5514fcf5a0f87.jer@gentoo
1 commit: fba512a4bf1769f4cbcdca5373d5514fcf5a0f87
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 15 15:37:57 2018 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 15 15:38:13 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fba512a4
7
8 www-plugins/adobe-flash: Old.
9
10 Package-Manager: Portage-2.3.46, Repoman-2.3.10
11
12 www-plugins/adobe-flash/Manifest | 4 -
13 .../adobe-flash/adobe-flash-30.0.0.134.ebuild | 140 ---------------------
14 2 files changed, 144 deletions(-)
15
16 diff --git a/www-plugins/adobe-flash/Manifest b/www-plugins/adobe-flash/Manifest
17 index 7df3f211b04..c2266e7e99e 100644
18 --- a/www-plugins/adobe-flash/Manifest
19 +++ b/www-plugins/adobe-flash/Manifest
20 @@ -1,7 +1,3 @@
21 -DIST adobe-flash-30.0.0.134-npapi.i386.tar.gz 8523733 BLAKE2B 0c079dbc95e867681bad6e9f651909a76d2ae084450db0fa94b3794590b7f4b6578d064b351523b8d42aad55538b23fee918035399091d924330e6f0323cf2a1 SHA512 163e265a20377beeae786a8a3dadb06fbc8c3f8d936c4517eae6727f85dd6be7fb19aeae7dcb4e16c7e8155859a3fe6bfcba6719e411805f584e84968e18a701
22 -DIST adobe-flash-30.0.0.134-npapi.x86_64.tar.gz 9042379 BLAKE2B 31e7e42c9845aa4d5cf2361c95c6d46fa812c7593a269b92f2192ac059bf76fc89fc46683bc78ebe30a8f5e57ee0eabd512ae6c226d134e31a5081227f983231 SHA512 7895ae695fc151c38a5b01ef35b7e81b76b02dba582a1898663b377aaf599187da335d5bbac2fed8cdec424b97ede66b0b5cd642a835989a2f6099f2f690aecc
23 -DIST adobe-flash-30.0.0.134-ppapi.i386.tar.gz 8562153 BLAKE2B 1741a0c3ac245bfe0916cfe78b24f4f7659773d749634bad16a30420d198787b08239b41c4f8be742a219ccaaf967108f3e430791da70c8929a6e29ee09b4850 SHA512 2a50f1af0424b2f534c1fe8afe839acb87857559e724b5c1fbf0df0ccce8f17df558776942a06a0885727f7704f9db5abde9d77aa053b33fe765437015eb7270
24 -DIST adobe-flash-30.0.0.134-ppapi.x86_64.tar.gz 9476250 BLAKE2B b840bf4d0d5d462c8367f4fa4cf120bb376aa24b71b28c3e00a82f55015736580a513f13ec8bdc26108e4eb07e728745bf21fc0d0292cd34a31860b1bde754fa SHA512 194f7e0e37a5b44a2f702220cbde2493a910bc0d76f1bd10ff3a6451d2434eb500e694d67b9741c33927a35bcfbfb4e0a4a2d2beb87fca4b7074896c4452141f
25 DIST adobe-flash-30.0.0.154-npapi.i386.tar.gz 8529169 BLAKE2B 0a777bd3f04141a9069460e62ee29dc6aaeb5702988a681883aceb56a9463197441b4dbaeed210847ac9cff77dc4f678fe29a997f4e14c321aec7f6e30af25f5 SHA512 7f1cba9d45fa8e3d6cb84b1c0e0b67e0e036e7cd99a7300f4348fd5982855b9e99fa3f38eb8c81f42288f44679af3be0b160ad546c807453a806864bc3dc7392
26 DIST adobe-flash-30.0.0.154-npapi.x86_64.tar.gz 9047298 BLAKE2B efbfd432bd224b5be0167d782316c4590461c4e16e15f254a43de6c52b2e85b41f22c7ed5834c6a22a34530f478244759af2c4e295a35467cc7993f6a8c724c2 SHA512 4b280b394169cdb4805f0dcdf0ec98a8f94c6921d78949603a6a14c1dc48537d5db44a360928caabd19b51e6aa16e3766e007e351ce8eb17191a206083965dd7
27 DIST adobe-flash-30.0.0.154-ppapi.i386.tar.gz 8562339 BLAKE2B 94fbff82201891122e09f2eb291fd224b321bd7fab133ae25ea3102e505e2d4de19cec9a6e0e14f7199559433bfbd19a15ea6a51b53ea77d1287a81a4b9ee9ea SHA512 e2ff2580fc21c3492bed603e3ff8d787f881b02584983625da51c881cb1d0278827ae6baf1aaa6ffa29150a33c941d169558d151dbe4312e1036fd35dc89f048
28
29 diff --git a/www-plugins/adobe-flash/adobe-flash-30.0.0.134.ebuild b/www-plugins/adobe-flash/adobe-flash-30.0.0.134.ebuild
30 deleted file mode 100644
31 index c0de0f4b747..00000000000
32 --- a/www-plugins/adobe-flash/adobe-flash-30.0.0.134.ebuild
33 +++ /dev/null
34 @@ -1,140 +0,0 @@
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 -}