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 Oct 2018 10:49:07
Message-Id: 1539168539.b2fa078b707fcd7aee4c02a19b09368a82773caa.jer@gentoo
1 commit: b2fa078b707fcd7aee4c02a19b09368a82773caa
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Wed Oct 10 10:48:29 2018 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 10 10:48:59 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2fa078b
7
8 www-plugins/adobe-flash: Old.
9
10 Package-Manager: Portage-2.3.51, Repoman-2.3.11
11 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
12
13 www-plugins/adobe-flash/Manifest | 4 -
14 .../adobe-flash/adobe-flash-31.0.0.108.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 1ab8689151b..986fbd3ee59 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.108-npapi.i386.tar.gz 8529291 BLAKE2B ded98c85f55dbc9bc80b89e6b787fed16d3123d0941e9cefbb3f843c2f35df483b4ebe0f5f078b2e99e3606845fb0e7e9b79990b72f5f0c4bc6f78598e954f7f SHA512 ef11942c9b7d69cf610885f53c1b1cee4e44c81d5229faaa6d38b30d4846892250ec0366deaa84d98ed1a8e12e526daf2c9a39f6a2e1f7f590914983f32b7641
23 -DIST adobe-flash-31.0.0.108-npapi.x86_64.tar.gz 9047129 BLAKE2B 11a3d90683442261ebb79fbc21bdcbf31b4369815c74a6460d7b59b01b7f0d8444143b540c7635c07aa3fd300feaceb1e3e6b1812d0c6b4f1b39f21cf5ee2a12 SHA512 6cf83b12002220aef393115b27e6b3e4bcd9901c3e6c782bbe2a0c2fbcee498454d34cecd6c629252b24c25966e2703ca9b5b193d14fcb0a3be39ebd38fd2a18
24 -DIST adobe-flash-31.0.0.108-ppapi.i386.tar.gz 8561961 BLAKE2B 4917fb4188b1c12e077babdfa0def0148bbad95359a48fce9ec94d934341c00aae6e19879f4287058706992baa6a44b3047ef5997d8f18ea2456c0701f61cfae SHA512 4ddaaeaf2fe5768ffd8fd91b97021625f1f9472c58ec51e2e385113e90096e51563d04cca9d7fb1932e818ff3c6a6370ce95b356882e846407af00f58c41e3ff
25 -DIST adobe-flash-31.0.0.108-ppapi.x86_64.tar.gz 9479466 BLAKE2B 13b8165081aa9e99f164406c23c4a816ad6f2e2ea235e0d8914626b6b70fedddcf641d1879a5b6ca4e41194cf424f877928bd2a93b408d8bb763d8d01c55c2eb SHA512 e4846fdd0301e7f4df811128c97bf782d34abde60c440e66335cdd99cc458a5ac120cc4f8ef7707f7383dbc89db3d9ecf46cbd39822f4f889b3e9664e61a1091
26 DIST adobe-flash-31.0.0.122-npapi.i386.tar.gz 8529106 BLAKE2B 71984e263ec5fb1720288208371551a74a22a982832dc16b2da314fc1fc1ee1009faf36b2648e9ed52a6eb4b7a34a5ffef5af266e31daca0fc3049162cc6c4f9 SHA512 8383f15cf14528a9b3bbf15b880b530f15fbec18708ccbfce83bdd6ec6bef8b7b7fd8f8231dfa534e42d077ef7b5bf92627a6fcc14749abefca748b307680e4b
27 DIST adobe-flash-31.0.0.122-npapi.x86_64.tar.gz 9044791 BLAKE2B 4f659381aeffd1a46e8a72cad7612c9b626ff0bf208492502c887a9bcd5beb9888bd8063265a81dd3b848fa97dedde327ab4563b262719fab7620912efe2c1e6 SHA512 c8f27ef630ac6797c0879b444499e954ba5e46564a9d35842134fb963cf7866bbc1badbc773ccdce928c158c716d63d91b79e47b10f8388c97493dd16bd66911
28 DIST adobe-flash-31.0.0.122-ppapi.i386.tar.gz 8563099 BLAKE2B 0951b14ed7a3c8ea7dbb7ab2de93521435a164a4358f20084cb3e407fb45d19561fd17871553bb2a39da9caf7dec17388d825b51ccafa8184e6fbfd006c328e0 SHA512 fc2efd870a6a2fabd53b1c6d095fd0ffc6c9e1d05a13ebaec93ea31bc84e022e8b54e8c2194a42a54dd3258c8d2fb378fa14205acb3c4a876b07c48e40c18d96
29
30 diff --git a/www-plugins/adobe-flash/adobe-flash-31.0.0.108.ebuild b/www-plugins/adobe-flash/adobe-flash-31.0.0.108.ebuild
31 deleted file mode 100644
32 index c0de0f4b747..00000000000
33 --- a/www-plugins/adobe-flash/adobe-flash-31.0.0.108.ebuild
34 +++ /dev/null
35 @@ -1,140 +0,0 @@
36 -# Copyright 1999-2018 Gentoo Foundation
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 -}