Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-plugins/adobe-flash/
Date: Sun, 18 Nov 2018 00:06:01
Message-Id: 1542499540.660b2733225cca1850105d4905e1db3c13a50539.whissi@gentoo
1 commit: 660b2733225cca1850105d4905e1db3c13a50539
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 18 00:05:40 2018 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 18 00:05:40 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=660b2733
7
8 www-plugins/adobe-flash: drop old
9
10 Package-Manager: Portage-2.3.51, Repoman-2.3.12
11 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
12
13 www-plugins/adobe-flash/Manifest | 4 -
14 .../adobe-flash/adobe-flash-31.0.0.122.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 5d82caf2c28..3bb21429e52 100644
19 --- a/www-plugins/adobe-flash/Manifest
20 +++ b/www-plugins/adobe-flash/Manifest
21 @@ -1,7 +1,3 @@
22 -DIST adobe-flash-31.0.0.122-npapi.i386.tar.gz 8529106 BLAKE2B 71984e263ec5fb1720288208371551a74a22a982832dc16b2da314fc1fc1ee1009faf36b2648e9ed52a6eb4b7a34a5ffef5af266e31daca0fc3049162cc6c4f9 SHA512 8383f15cf14528a9b3bbf15b880b530f15fbec18708ccbfce83bdd6ec6bef8b7b7fd8f8231dfa534e42d077ef7b5bf92627a6fcc14749abefca748b307680e4b
23 -DIST adobe-flash-31.0.0.122-npapi.x86_64.tar.gz 9044791 BLAKE2B 4f659381aeffd1a46e8a72cad7612c9b626ff0bf208492502c887a9bcd5beb9888bd8063265a81dd3b848fa97dedde327ab4563b262719fab7620912efe2c1e6 SHA512 c8f27ef630ac6797c0879b444499e954ba5e46564a9d35842134fb963cf7866bbc1badbc773ccdce928c158c716d63d91b79e47b10f8388c97493dd16bd66911
24 -DIST adobe-flash-31.0.0.122-ppapi.i386.tar.gz 8563099 BLAKE2B 0951b14ed7a3c8ea7dbb7ab2de93521435a164a4358f20084cb3e407fb45d19561fd17871553bb2a39da9caf7dec17388d825b51ccafa8184e6fbfd006c328e0 SHA512 fc2efd870a6a2fabd53b1c6d095fd0ffc6c9e1d05a13ebaec93ea31bc84e022e8b54e8c2194a42a54dd3258c8d2fb378fa14205acb3c4a876b07c48e40c18d96
25 -DIST adobe-flash-31.0.0.122-ppapi.x86_64.tar.gz 9482137 BLAKE2B 25585e857de26917880aa09289b7ea2e3b0191f958495d2523461ffd55869a67808c604b9bd5d80c9ea4326df9b72a5a4a3c47a8f2cb32071093df9a7f7ea673 SHA512 64e18f58ce7abda62aa098c47c260226f67d78e17698175629f2777fbcde84b2bd88e80b6247af34bcfe6bed3a558e767b43f45fdf2164cb974d59e70751a4fc
26 DIST adobe-flash-31.0.0.148-npapi.i386.tar.gz 8529825 BLAKE2B 3b73bb3f4d1a235f02c6a1819253e9a60489bd388aa00370d7a98d49127f8f666bb99f03a33fbdd9d0ccf12033b38d87d3ecbada13cf3dec185bcc8a988d4a85 SHA512 16dc46da7c71e159845cbd862490fd682ff0c1e97467e42a56ace172fcba07326ed87272f250e9c96b5d3057b08dbb980973567cdc8fe24b0c5463f465056819
27 DIST adobe-flash-31.0.0.148-npapi.x86_64.tar.gz 9046263 BLAKE2B 359b08d6bfd3725211bac32fddd28dd18654133c99cdd761879fd48eae1697ab06b6f8d5a22aba98ce44ec484e5fc7b669d13066d0bc90d312aab54fd109edd8 SHA512 79b5a170d63e84d88c74b9ccdbe55a2ec517a28cd69df60eea9c0255ed95d4c0fb8db3a56f7343256b58c4e0aebdb0e421714d92feba494826d06c95f53a54ea
28 DIST adobe-flash-31.0.0.148-ppapi.i386.tar.gz 8565088 BLAKE2B b700cc95c8328acbe54b2754afb697dec20287ade78d3b0db687c4dc04c0587c15d6f247a93d74035cb896cc044c28bd85815975b4b5c26399e26e7480d79948 SHA512 695c7df7d224bfd90458980e4e8e12385a12fe6b4586abd1043563a7bc96ae2cc8569ec979c2f6305dd4a99e9373ec1deb210cbf762391122427828b652b3de3
29
30 diff --git a/www-plugins/adobe-flash/adobe-flash-31.0.0.122.ebuild b/www-plugins/adobe-flash/adobe-flash-31.0.0.122.ebuild
31 deleted file mode 100644
32 index 43c2833801f..00000000000
33 --- a/www-plugins/adobe-flash/adobe-flash-31.0.0.122.ebuild
34 +++ /dev/null
35 @@ -1,140 +0,0 @@
36 -# Copyright 1999-2018 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 -}