summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2018-12-06 15:13:20 +0100
committerJeroen Roovers <jer@gentoo.org>2018-12-06 15:15:09 +0100
commit3b7dd77cd80474ce29b6c33eeedc0a39c19c44ae (patch)
tree5c6519614b2a4bf07cdd7245f98edb684048273b /www-plugins
parentnet-libs/nodejs: Version 6.15.1 (diff)
downloadgentoo-3b7dd77cd80474ce29b6c33eeedc0a39c19c44ae.tar.gz
gentoo-3b7dd77cd80474ce29b6c33eeedc0a39c19c44ae.tar.bz2
gentoo-3b7dd77cd80474ce29b6c33eeedc0a39c19c44ae.zip
www-plugins/adobe-flash: Version 32.0.0.101
Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'www-plugins')
-rw-r--r--www-plugins/adobe-flash/Manifest4
-rw-r--r--www-plugins/adobe-flash/adobe-flash-32.0.0.101.ebuild140
2 files changed, 144 insertions, 0 deletions
diff --git a/www-plugins/adobe-flash/Manifest b/www-plugins/adobe-flash/Manifest
index b596e003e298..8a43d9557638 100644
--- a/www-plugins/adobe-flash/Manifest
+++ b/www-plugins/adobe-flash/Manifest
@@ -2,3 +2,7 @@ DIST adobe-flash-31.0.0.153-npapi.i386.tar.gz 8529821 BLAKE2B 3a465808b09f8b1f0b
DIST adobe-flash-31.0.0.153-npapi.x86_64.tar.gz 9045870 BLAKE2B ff8d75fc30569c5076d28ae41eda038a1cd75aa85329309b54bd7fd260b81de98127a97f26d173b678e9263df1509771fd4df99ed7448245c944a1b5d47a53f6 SHA512 32813eb27feb3a3fe4e2f1c88671468f3d264c9ecca7b8f5e9abaa772fb91077ba8d479ab1e19c8a8d74203c6b37584a69faf2a9e7849f16cebe11fa96a71b6b
DIST adobe-flash-31.0.0.153-ppapi.i386.tar.gz 8564354 BLAKE2B 08ae4a7417428e52c307c599a17ce931d717d09c347473950e78bfd2ca44183f6536c523c4c32178660c7f86342189e866ad58e21f0aefbeada6279c351bb50b SHA512 2efdb4c771e73325b93f9f20a282051734df9d9b4c103a3235c5db56b397fce23cbda69798439d7ec2a370f15196d976844d85a3fb594d8a846b622157575910
DIST adobe-flash-31.0.0.153-ppapi.x86_64.tar.gz 9482489 BLAKE2B 0fba22570fcb6fb9501d9a167733c0f761f193280c1de6f99836d23aa2de0353528ca12680d7b2dc133fbac7f8f0f6e2a4080dcaf0e2480d2d37f435bdb2a88c SHA512 205a1a215d87e319ba53429b583ffa3be34fec9960121505a3cedb758c9ae518c3781fd2f6f99e2e6599c3cac74c169a14ba8565525da610c1477771d76c6369
+DIST adobe-flash-32.0.0.101-npapi.i386.tar.gz 8528897 BLAKE2B 13a4160bff61e9f012953ca7eb3a5f1edcb5f4510d68a26fc56faf46b8f308c5aa3dc15747461c939f75e54a4bbe6fe9b8a371cbaeac9e1539b937143d3db034 SHA512 dca312d884e866a1474de6288e40144a4b32b71d2462ce864ef293ec6fe4e567c9c71d4396e7b9ddfb8ac5a3eee7e18365e4a51efa3f0cc66545037fb483fddf
+DIST adobe-flash-32.0.0.101-npapi.x86_64.tar.gz 9045426 BLAKE2B d6c3decf07f03d8128c89dc82f7500902a349af8013d83237001ebda316ee68745367920f602683601cb1b02bd20456bffa1f84fe547be74cfac321c7ecb79b3 SHA512 b71ded348cd5fe58785e72c8f0feeb4730482874c9485cbbdcaa61c2a0e93ab565405d72ae4cbf0899f23eaa42e5854c576fbe465477f06e7abf46fa037598a8
+DIST adobe-flash-32.0.0.101-ppapi.i386.tar.gz 8563433 BLAKE2B 7665b460fb57174e0222263b06fe8a8e953794644f3b918e0e8e4350acb8413312060af1ff8e8f0007373fd06b26ba2f6e7ff010baacefabc1b8130f20b8f84a SHA512 7d4f34677d389404e97b86ea84a9a97d5a01c02f3bf47cbd2f4c2da5e239d04b01f78f2c5d17011c50324f384f99a93935cc3458264bc3691da6c4d136868155
+DIST adobe-flash-32.0.0.101-ppapi.x86_64.tar.gz 9482471 BLAKE2B 3d164f7f8421c304940bad797ee04b3417c6fe57ee16641b0c78275a980707c7bbb9f369923f96451739932660e3b2cb4d12edc0da5e2e5896a6a2c371a75b8e SHA512 39c96bc54c21c9d125daedce1a67b516dad17fdae8ac48cd8e2ac9a7bc3e6e22a34eaafe8234e998e3c9610641d5ede2a0e33f94471aa6812941d54b1f6e2f3f
diff --git a/www-plugins/adobe-flash/adobe-flash-32.0.0.101.ebuild b/www-plugins/adobe-flash/adobe-flash-32.0.0.101.ebuild
new file mode 100644
index 000000000000..b4fe619358d4
--- /dev/null
+++ b/www-plugins/adobe-flash/adobe-flash-32.0.0.101.ebuild
@@ -0,0 +1,140 @@
+# Copyright 1999-2018 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
+}