summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2019-08-14 07:23:07 +0200
committerJeroen Roovers <jer@gentoo.org>2019-08-14 07:47:51 +0200
commitde86f17c18078d44d7345800caefac1e2766037a (patch)
tree01a0cc359d8d36828d8541489ee45faf9330fb48
parentdev-ruby/nokogiri: amd64 stable, bug 691974 (diff)
downloadgentoo-de86f17c18078d44d7345800caefac1e2766037a.tar.gz
gentoo-de86f17c18078d44d7345800caefac1e2766037a.tar.bz2
gentoo-de86f17c18078d44d7345800caefac1e2766037a.zip
www-plugins/adobe-flash: Version 32.0.0.238
Package-Manager: Portage-2.3.71, Repoman-2.3.17 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
-rw-r--r--www-plugins/adobe-flash/Manifest4
-rw-r--r--www-plugins/adobe-flash/adobe-flash-32.0.0.238.ebuild140
2 files changed, 144 insertions, 0 deletions
diff --git a/www-plugins/adobe-flash/Manifest b/www-plugins/adobe-flash/Manifest
index 36748c0e3b9..669d3eca688 100644
--- a/www-plugins/adobe-flash/Manifest
+++ b/www-plugins/adobe-flash/Manifest
@@ -2,3 +2,7 @@ DIST adobe-flash-32.0.0.223-npapi.i386.tar.gz 8537552 BLAKE2B d9e1a838eb639fdf24
DIST adobe-flash-32.0.0.223-npapi.x86_64.tar.gz 9052736 BLAKE2B a1e116e89bfc35336f14d449b61a2de374d3ff4f3c39a7ee3edd7fa6eee5f76c4cf32275318a28ef2bf026a65376c29057a71545ebdb0cbdb619c95532ba13fb SHA512 bceb2781cda99d5c821720bbb6088be4e03924bcb4ba31bfe4d55f3aaa1f607cc200246ded02e4ff05161253818cfef8f3b6d053d91b35459317d278745e5e8f
DIST adobe-flash-32.0.0.223-ppapi.i386.tar.gz 8569994 BLAKE2B d22c797c8782c95073e239ad13fa9bb9157cf1bc63f60d48d9a3ca0440f33babc9a9adb3db6eaccc372fc519d1b78c8c987a750469d9a8a279f93df77457ab86 SHA512 0b8ab4e76c6b3e8b189a0da3a7bbfa04462eac9067d11e78f0e376e6b779d8eb13b55cb0ff877f6d5b659f1cc81e4ac1f9319834bea25040935742afdcf32653
DIST adobe-flash-32.0.0.223-ppapi.x86_64.tar.gz 9485487 BLAKE2B c3e80307b439fcbb27093a6bbb7da6dd91ff77f1ef4396abc51948c0825b9aaf11132f3a15cff17bebdd066c2c069a164d05ab57f2da6a7e6942269a4b8a2c47 SHA512 041d976a09cb957d3ffc34e1462c6bd5866641f505f0c2a65079c83578e731c877c623d1a237bf827db083f1578a1da9b0a2049eaa4d1427d8e9e2d6570a87e3
+DIST adobe-flash-32.0.0.238-npapi.i386.tar.gz 8537560 BLAKE2B e4a039dcdf329c053fb727cfa35a2ba9dc7d8255c287e49cc7d27d9618bf7e705c0df3027bfb6145c752f01940cf05bb5e77d45d43a10d6fac60f74172458d60 SHA512 65ca4e8f936d67302305b94876b7cc029d2ec6711393407aba829abc4d13aefbe77eb6b4a9705dd986db630ecc9d132df3597911d7290ca0f6c0465d811ca5f2
+DIST adobe-flash-32.0.0.238-npapi.x86_64.tar.gz 9054187 BLAKE2B d2f50d3add8c70f872039c103099c5a378876c12f3ced4a5f8b539226f82bc0c2bcf181454276479c2ecdc4325d0b36816043dd0dd4f232d9ad7b3d7db702d96 SHA512 b79d073790888d90ef1612fbc104880d762833a8e61fbdb2ed081c20553eb546037577ef766ba529bb8202ee3cbcca0a07675857982e0ebd5884f8ad342f6fba
+DIST adobe-flash-32.0.0.238-ppapi.i386.tar.gz 8574403 BLAKE2B 8f31ab87dbce433e380d659c6542a497ae47522be8e852b59176ab3e338a9717c826f28d62f607cc0bfe8d2fbea86487891c61671b41c3e395f9d47f8dce68c4 SHA512 386af88ce22730c49db024b37b6ff71ad9642b0cf9844fcff91e53b529928ff9e672414167fe50a09bf815e77184a23b8ba8b4db081970dcafb646e148e95c99
+DIST adobe-flash-32.0.0.238-ppapi.x86_64.tar.gz 9492227 BLAKE2B 7f6c975056217cedb1b201dd159007b5182fca58999ecdd282a3b99743c721e8bc3c6ba7b28908eb04c57ad30edc0239870935869957c5ae7f9cf377aee78633 SHA512 fd5bde252400e11272d17cd8271d2455934e2565526a0526f05ecfbf141644511302fb05101bb408c5b79612b43627e19958ea4be300981473ca047a782f187a
diff --git a/www-plugins/adobe-flash/adobe-flash-32.0.0.238.ebuild b/www-plugins/adobe-flash/adobe-flash-32.0.0.238.ebuild
new file mode 100644
index 00000000000..2cc1c70b340
--- /dev/null
+++ b/www-plugins/adobe-flash/adobe-flash-32.0.0.238.ebuild
@@ -0,0 +1,140 @@
+# Copyright 1999-2019 Gentoo Authors
+# 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
+}