summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2019-06-12 08:47:59 +0200
committerJeroen Roovers <jer@gentoo.org>2019-06-12 08:50:01 +0200
commit7c9f6a1b3f07aed6b789bf9501d792a6476de09c (patch)
tree8133f120f94e30325335b86f8256c6556b858abd
parentdev-util/cppcheck: refresh tinyxml2 patch for live ebuild (diff)
downloadgentoo-7c9f6a1b3f07aed6b789bf9501d792a6476de09c.tar.gz
gentoo-7c9f6a1b3f07aed6b789bf9501d792a6476de09c.tar.bz2
gentoo-7c9f6a1b3f07aed6b789bf9501d792a6476de09c.zip
www-plugins/adobe-flash: Version 32.0.0.207
Package-Manager: Portage-2.3.67, Repoman-2.3.14 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.207.ebuild140
2 files changed, 144 insertions, 0 deletions
diff --git a/www-plugins/adobe-flash/Manifest b/www-plugins/adobe-flash/Manifest
index 229bebc92d8..fe977bcd70f 100644
--- a/www-plugins/adobe-flash/Manifest
+++ b/www-plugins/adobe-flash/Manifest
@@ -2,3 +2,7 @@ DIST adobe-flash-32.0.0.192-npapi.i386.tar.gz 8536032 BLAKE2B 28c1d5616756934d16
DIST adobe-flash-32.0.0.192-npapi.x86_64.tar.gz 9051565 BLAKE2B 074e06736e1c1766330ad54d685f3e1c1f60ededffc800939abcabb65fdbf12fb5cd7c364b764e001939773cd85ed18e6c2e3fa2c8923a9a4a1b2aad591944e3 SHA512 4db4ae53e92878d1fade66dfee1c29744f86a45cd37b2822be83bc8b0a6ab4684e8e158d8754e678265af763e64fa208be318cbf0588845b86529bc1eca8734a
DIST adobe-flash-32.0.0.192-ppapi.i386.tar.gz 8569493 BLAKE2B 428d4f239157ae63614b0b5489d586da31e099bc64ed1a12f09d76a3bbba048872977b87ab608659d1122bd8da9d206bb737f7fe56b3569adf8281f556e0fdec SHA512 5c299783a549377d55818ecc5bfd89aeb789508d41d8abb13e415908da6a3efca021e91927c726311e6fdc1a340d6ef5e20d918149c7965d5feada95241f7d7a
DIST adobe-flash-32.0.0.192-ppapi.x86_64.tar.gz 9489423 BLAKE2B 9e3ac444562ffca1075dd00e329d98a5c4f44a945beedcf92b78aca982d2d6b72160c68a6cc1c7697071ed602b553f3399520fb8f9c0540bb50ea630c324682b SHA512 0039f432a675fa036600c91a05a2db9828b8c350ec45dbcc1d110801231ddadeff478da182e887aa2b3d32dce2d208bdfd1f4aca01c2a08d37f2382049b114e0
+DIST adobe-flash-32.0.0.207-npapi.i386.tar.gz 8537551 BLAKE2B bcd6e71258596e3bb2e38a70a02e1a97e103f7bac9e465a92346574be3b5d4882ff73528e2957b4bd9908d41f4396ee15b448cf2a614d746bb7d2bb16e33b929 SHA512 71d45cf311fdedc434783fd237a9b8853b72a38d849493616c9c865ef8b19ca5d454702aba543b3d8f9f1ba848c9991b54cb10f3ad4cd27c7664809981e85988
+DIST adobe-flash-32.0.0.207-npapi.x86_64.tar.gz 9052823 BLAKE2B b9b0e6c618abd40061c8f601ead8427406e1eea249c4e32d123384f1edbb27c6e8e255f0dad95554522fa842f41e2eddaf92bc68a155d8dd5d101e602bf8b396 SHA512 4924616bc2f40e0aea04bb4dce393e8a8f7a7a7604eaceb2fd04a74341e57499a4cb2e25d26a26bfd475719b219443e269d7d7d53f82f94f8874792369000c99
+DIST adobe-flash-32.0.0.207-ppapi.i386.tar.gz 8570361 BLAKE2B ef909376405b2ac643d47acb8d6c5cfb156f16b22e16b1cb1bac9f1fe0889d88be676150173e23b4a4966c113c980bf455756fe2d458992193a76fa392815f36 SHA512 3584c717b68ed017c209d18e797388f48636f918a36c4f9b73a748bda14b481ad85e703d6c6d985294882c1e0f262556261ca46a52f2750a60d9f80399992c4c
+DIST adobe-flash-32.0.0.207-ppapi.x86_64.tar.gz 9485128 BLAKE2B 5b994561f19bacf6b9a2aa765d514328526eeec7c4cb13e50b9ae17a699577681aa8b5828b225c76fd1e0f453848827ee90d6603dd2ac43fd71e4ed01168f581 SHA512 919e608800ede398025af866f47fa3395d2335af33f300463ae46585bb422fcd3942d25c978ef0399ffd92c3745f89efeed4baea6f3692d1ae192eccb510733e
diff --git a/www-plugins/adobe-flash/adobe-flash-32.0.0.207.ebuild b/www-plugins/adobe-flash/adobe-flash-32.0.0.207.ebuild
new file mode 100644
index 00000000000..2cc1c70b340
--- /dev/null
+++ b/www-plugins/adobe-flash/adobe-flash-32.0.0.207.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
+}