summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2017-10-16 18:06:32 +0200
committerJeroen Roovers <jer@gentoo.org>2017-10-16 18:40:40 +0200
commit5bf2b6a7e6666c001799ff24f63051e7d80ad484 (patch)
tree8a5444f11990ef90fdad959e9e6f6dea9e3a3b6c /www-plugins
parentapp-admin/dxf: Initial version (diff)
downloadgentoo-5bf2b6a7e6666c001799ff24f63051e7d80ad484.tar.gz
gentoo-5bf2b6a7e6666c001799ff24f63051e7d80ad484.tar.bz2
gentoo-5bf2b6a7e6666c001799ff24f63051e7d80ad484.zip
www-plugins/adobe-flash: Version bump.
Package-Manager: Portage-2.3.11, Repoman-2.3.3
Diffstat (limited to 'www-plugins')
-rw-r--r--www-plugins/adobe-flash/Manifest4
-rw-r--r--www-plugins/adobe-flash/adobe-flash-27.0.0.170.ebuild140
2 files changed, 144 insertions, 0 deletions
diff --git a/www-plugins/adobe-flash/Manifest b/www-plugins/adobe-flash/Manifest
index 0f3423bf64ac..6806e44d743c 100644
--- a/www-plugins/adobe-flash/Manifest
+++ b/www-plugins/adobe-flash/Manifest
@@ -2,3 +2,7 @@ DIST adobe-flash-27.0.0.159-npapi.i386.tar.gz 8511837 SHA256 3443daf0bb70532e754
DIST adobe-flash-27.0.0.159-npapi.x86_64.tar.gz 9025182 SHA256 2d5aff35d00b7f443b69ba40f1250ea5cbe5b5cb67520a642a17a602ec3723dc SHA512 4ad6f7ca1ce0d533a20e1edc748a368bac4be8a13b592d4c72d2f048fa9055158a7c89899e8179f59e66b34d98b857a2bc2587b02de986ac4fc16cc2e12b38b3 WHIRLPOOL 8bfd01d3e2566d8c8754c5efbdd218daae163c2ce2192c50b4ce4ac23cc227150704ecfafc3fc77d3ee9b1e10a28cc11a4cbe3eceb0746055a7d57b79d6e1f94
DIST adobe-flash-27.0.0.159-ppapi.i386.tar.gz 8547073 SHA256 46305f024fcab46ac73bea45637a72384ef3ae2420dcb132a0125aadc267e158 SHA512 2d8c9d8db42022754ccf88f0f676e9964af35a3107707dc9685a09a4270bce4d6926fda9f87e8b7bb5d0a3c33a62e83a30d731891e1bf3e7a5abb3185a555373 WHIRLPOOL b93ab94a0cccbe14dabd9209b6678a58aa9b1569f9fec3324124d93ecaf596d12f1ee1712a32405e5dab0aac4f296aa807e08b298b8e9b955d930b49093073ba
DIST adobe-flash-27.0.0.159-ppapi.x86_64.tar.gz 9462989 SHA256 5844d563f79ace7dea2c9f1196d63cc8b77c0f5fe5d5b258f2fee3aae4ef8fb4 SHA512 dff4c40cef124278656912997a4772e3b8117ce65074e1e366e0f12d37a8591cd1ca6f52c198feffbc6cb503154a80972c0a7132cfae5ecd06e9d0250a1007a4 WHIRLPOOL 4fee4d1f3e4b150c5fd4cdf0b43622312b656dc5bd9c4965a814b13d4421147c1f6cc7af2514dc1e3b13f65731e799a1c3c24a1d823ab91132ab2262d34c737f
+DIST adobe-flash-27.0.0.170-npapi.i386.tar.gz 8512470 SHA256 a06d815d2858e58b0f11624a6567da3de17db27df68a3527a7774ba21f4558cb SHA512 e51b494de7da910079c6810b8b7c74d39bdc8f6addde3ba01cde087fe7de6a65ea668c429bbceb30d98989de4686fb66e75087f668ae0961d6e13ae40996c8dd WHIRLPOOL 3629aca75aa3c1fbeded1c956564f59eaf87f922ef9fea31ce61c6c4e1a7f44c0a4c8d1aa14f53c2cfed6db75060e7f7ca7fe9519a0ec612104419139e9d4564
+DIST adobe-flash-27.0.0.170-npapi.x86_64.tar.gz 9025191 SHA256 966761fda5fc29301cd7720dc1e84b2551d142e7e5d51e3898e8e6fe7c11cc43 SHA512 c4a2879c4ac945ff6921025e4efcffe0dbccbf2cb972dfd9db3020c78b69dfec35c0f7a63e479f55ab06d06f386864d1740595f633fb9f02fc20584125c3c7ef WHIRLPOOL d0bdc0d6356dcb80f2f3e0a9f49bc723b7285151414ab2702b5103235226ecd34a874eacbcfe26a50e5de4ee479ff18146d262ef2751e90532a4fb672f31ed7e
+DIST adobe-flash-27.0.0.170-ppapi.i386.tar.gz 8547131 SHA256 9b60006e28333bb0a8f333ebd97782dc811b8c35d63ea5441d65bea5a7085aa4 SHA512 1cd426eaba556b296e8ba91dd21ee5899767444408ecedf96dbda74bcc56a69e0d542b4d91a287878fa2307457b2aa8291a37a4b689cc0f8e896b9ea40f92293 WHIRLPOOL a5c33c669a32431d6d352182d7b40f620afb09c16c3adccfa873fcb3e631e434a66d20795ffb2dec08f1badd83c187bc52de18a1f90502d14bebc7d39413836a
+DIST adobe-flash-27.0.0.170-ppapi.x86_64.tar.gz 9461678 SHA256 2ac5788fd87881acbdf5992a0b4841087e30f4244ecff7311fe36b702b0c25ab SHA512 e324f6f4a813157f5acde2225a4ac920c7d920a585299dbd6c0af1a3ee17b8339f966baf1868d11d237673936df24c04270a15c8bf1618fd377a762784d8bad1 WHIRLPOOL a82853451ef8f4608ed3e18a16c20e7e47254b3b7219c747ed66dadb89b10ce30b5ea172ac79db0d297b4dbf2407c39e6db1a708ad5432cc0a8036df492d58ce
diff --git a/www-plugins/adobe-flash/adobe-flash-27.0.0.170.ebuild b/www-plugins/adobe-flash/adobe-flash-27.0.0.170.ebuild
new file mode 100644
index 000000000000..eb6463c6e194
--- /dev/null
+++ b/www-plugins/adobe-flash/adobe-flash-27.0.0.170.ebuild
@@ -0,0 +1,140 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit gnome2-utils nsplugins multilib multilib-minimal
+
+DESCRIPTION="Adobe Flash Player"
+HOMEPAGE="
+ https://www.adobe.com/products/flashplayer.html
+ https://get.adobe.com/flashplayer/
+ https://helpx.adobe.com/security/products/flash-player.html
+"
+
+AF_URI="https://fpdownload.adobe.com/pub/flashplayer/pdc/${PV}"
+AF_NP_32_URI="${AF_URI}/flash_player_npapi_linux.i386.tar.gz -> ${P}-npapi.i386.tar.gz"
+AF_NP_64_URI="${AF_URI}/flash_player_npapi_linux.x86_64.tar.gz -> ${P}-npapi.x86_64.tar.gz"
+AF_PP_32_URI="${AF_URI}/flash_player_ppapi_linux.i386.tar.gz -> ${P}-ppapi.i386.tar.gz"
+AF_PP_64_URI="${AF_URI}/flash_player_ppapi_linux.x86_64.tar.gz -> ${P}-ppapi.x86_64.tar.gz"
+
+IUSE="+nsplugin +ppapi"
+REQUIRED_USE="
+ || ( nsplugin ppapi )
+"
+
+SRC_URI="
+ nsplugin? (
+ abi_x86_32? ( ${AF_NP_32_URI} )
+ abi_x86_64? ( ${AF_NP_64_URI} )
+ )
+ ppapi? (
+ abi_x86_32? ( ${AF_PP_32_URI} )
+ abi_x86_64? ( ${AF_PP_64_URI} )
+ )
+"
+SLOT="22"
+
+KEYWORDS="-* ~amd64 ~x86"
+LICENSE="AdobeFlash-11.x"
+RESTRICT="strip mirror"
+
+NPAPI_RDEPEND="
+ dev-libs/atk[${MULTILIB_USEDEP}]
+ dev-libs/glib:2[${MULTILIB_USEDEP}]
+ dev-libs/nspr[${MULTILIB_USEDEP}]
+ dev-libs/nss[${MULTILIB_USEDEP}]
+ media-libs/fontconfig[${MULTILIB_USEDEP}]
+ media-libs/freetype[${MULTILIB_USEDEP}]
+ >=sys-libs/glibc-2.4
+ x11-libs/cairo[${MULTILIB_USEDEP}]
+ x11-libs/gdk-pixbuf[${MULTILIB_USEDEP}]
+ x11-libs/gtk+:2[${MULTILIB_USEDEP}]
+ x11-libs/libX11[${MULTILIB_USEDEP}]
+ x11-libs/libXcursor[${MULTILIB_USEDEP}]
+ x11-libs/libXext[${MULTILIB_USEDEP}]
+ x11-libs/libXrender[${MULTILIB_USEDEP}]
+ x11-libs/libXt[${MULTILIB_USEDEP}]
+ x11-libs/pango[${MULTILIB_USEDEP}]
+"
+RDEPEND="
+ !www-plugins/chrome-binary-plugins[flash(-)]
+ nsplugin? (
+ ${NPAPI_RDEPEND}
+ !www-plugins/adobe-flash:0
+ )
+"
+
+S="${WORKDIR}"
+
+# Ignore QA warnings in these closed-source binaries, since we can't fix them:
+QA_PREBUILT="usr/*"
+
+src_unpack() {
+ local files=( ${A} )
+
+ multilib_src_unpack() {
+ mkdir -p "${BUILD_DIR}" || die
+ cd "${BUILD_DIR}" || die
+
+ # we need to filter out the other archive(s)
+ local other_abi
+ [[ ${ABI} == amd64 ]] && other_abi=i386 || other_abi=x86_64
+ unpack ${files[@]//*${other_abi}*/}
+ }
+
+ multilib_parallel_foreach_abi multilib_src_unpack
+}
+
+multilib_src_install() {
+ local pkglibdir=lib
+ [[ -d usr/lib64 ]] && pkglibdir=lib64
+
+ if use nsplugin; then
+ # PLUGINS_DIR comes from nsplugins.eclass
+ exeinto /usr/$(get_libdir)/${PLUGINS_DIR}
+ doexe libflashplayer.so
+
+ if multilib_is_native_abi; then
+ # No KDE applet, so allow the GTK utility to show up in KDE:
+ sed \
+ -i usr/share/applications/flash-player-properties.desktop \
+ -e "/^NotShowIn=KDE;/d" || die
+
+ # The userland 'flash-player-properties' standalone app:
+ dobin usr/bin/flash-player-properties
+
+ # Icon and .desktop for 'flash-player-properties'
+ insinto /usr/share
+ doins -r usr/share/{icons,applications}
+ dosym ../icons/hicolor/48x48/apps/flash-player-properties.png \
+ /usr/share/pixmaps/flash-player-properties.png
+ fi
+
+ # The magic config file!
+ insinto "/etc/adobe"
+ doins "${FILESDIR}/mms.cfg"
+ fi
+
+ if use ppapi; then
+ exeinto /usr/$(get_libdir)/chromium/PepperFlash
+ doexe libpepflashplayer.so
+ insinto /usr/$(get_libdir)/chromium/PepperFlash
+ doins manifest.json
+
+ if multilib_is_native_abi; then
+ dodir /etc/chromium
+ sed "${FILESDIR}"/pepper-flash-r1 \
+ -e "s|@FP_LIBDIR@|$(get_libdir)|g" \
+ -e "s|@FP_PV@|${PV}|g" \
+ > "${D}"/etc/chromium/pepper-flash \
+ || die
+ fi
+ fi
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+pkg_postrm() {
+ gnome2_icon_cache_update
+}