summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2017-09-12 21:59:14 +0200
committerJeroen Roovers <jer@gentoo.org>2017-09-12 22:04:30 +0200
commit49bcf30161fd9e3a53c77f68772ff64593d8d50f (patch)
treede5deadc86414c02f8be5d04eb74e1ae4f5a773b /www-plugins
parentsys-libs/libunwind-1.2.1: ppc64 stable, bug 629258 (diff)
downloadgentoo-49bcf30161fd9e3a53c77f68772ff64593d8d50f.tar.gz
gentoo-49bcf30161fd9e3a53c77f68772ff64593d8d50f.tar.bz2
gentoo-49bcf30161fd9e3a53c77f68772ff64593d8d50f.zip
www-plugins/adobe-flash: Version bump.
Package-Manager: Portage-2.3.8, 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.130.ebuild133
2 files changed, 137 insertions, 0 deletions
diff --git a/www-plugins/adobe-flash/Manifest b/www-plugins/adobe-flash/Manifest
index 5d2eecf51377..bb83c8893e6e 100644
--- a/www-plugins/adobe-flash/Manifest
+++ b/www-plugins/adobe-flash/Manifest
@@ -2,3 +2,7 @@ DIST adobe-flash-26.0.0.151-npapi.i386.tar.gz 8492462 SHA256 179a751d1c3624f3a25
DIST adobe-flash-26.0.0.151-npapi.x86_64.tar.gz 9002831 SHA256 147d90fa60b8c3831320998ca14c96278c4b6d0e9371617809fd1648b573dcfb SHA512 c91d28fcf9f7215d88fac6d8011453525e895b97125f14b5782cdbae2a278552962d1185ff19b184a5b9eaff0a6bc63c6a8455fa7988cb3a36e19a1a56e2e0bf WHIRLPOOL f70af6315c56ec43fefd74206388ae0ca410f6bbf222e4ebc9b3ebad1db2ea94d9e7e11bdc5b48ccc5247fe6e54a0ef9ef241238d2afb397194a2ce44b6a0aa0
DIST adobe-flash-26.0.0.151-ppapi.i386.tar.gz 8536460 SHA256 a1801dc2e46104b4cd8ce0e9cee1ff86d307de0044eee67685faddbcb0b847ea SHA512 c3782f8dac9b5ccc346edc4780c70b8a589ed13413675f928056d98a7ea31adfc652f1d36aaeeb6f282b8c962f322073f12b82d6ac8364392a154e9d2dab8a00 WHIRLPOOL 9083c71777e3b88e7f25f4954da2316ad209a7398d9f68296ef0675a2468a63a242b2b13a5e0275e82892c600bc778a88fb6f58baa1f815697710b1a70c5e111
DIST adobe-flash-26.0.0.151-ppapi.x86_64.tar.gz 9449331 SHA256 d5a392869276b957e4b66eac205bb76fbf30bcb4ae246a7d23383f8525f6fb2f SHA512 1d75f4b451faca4482f6435fa53b4f8ac0f9437ddba027fe22daa7dc6102bc9f7e9e4af7e80618e6a518117fa599c652cc9dc21622b9cd15863b44c9bbc9db1a WHIRLPOOL 0e0af0eea9895053339b2b3cac564297c67bee81e63034835298f9ebd7d94a2e23cfb884f1a818eebd1b553597dfb109228f53cd5486509e8dfe286ea8a188f6
+DIST adobe-flash-27.0.0.130-npapi.i386.tar.gz 8511696 SHA256 4615bec6a21822629ce7e0f5bf768ef12fe09c275f4bb18892563da20d9b7c62 SHA512 441398beccf1ec0772ef150ef13d46f374261963cdfb806f3518ff517125a9d19b0258f4200edbfd108709962e1e2fa49f3d8d65b79d391d15bc0f09d885d934 WHIRLPOOL 6a6ddb254b4945481edeaa29c879c74b042e9a9affef312a552541e0301a2d15ca3069532c8715ab68745113ecc39192dbe6a591d4a679ba6adab49c4ae1b9a6
+DIST adobe-flash-27.0.0.130-npapi.x86_64.tar.gz 9024933 SHA256 ecbd2254a68c7b0bb7675babe58cbe1b5f317bd2556ba49776eb3a6cd9526d62 SHA512 2574cd3fb707c8d32e54179bbf900ca47c875be3540c8016fad50f51721d5fc4bcf22b552ae71efdb1e78cc135163d0a2326c9569e49b9da7498eb971deabc78 WHIRLPOOL 1632fdb623fa0be0603d4866fbc4d7a31b76e1b813cbc429e8e81bc31ccc7df8e28a2e8031e6045dd34dc6130ab4821d62fedc6d0e44050ffd485c9749ae1bc0
+DIST adobe-flash-27.0.0.130-ppapi.i386.tar.gz 8544908 SHA256 c23a0c1a73872851b4e8879e713331242c0b17c73ccd57a29c17c94f3732920e SHA512 3c6036ebe87cbdca7a3baee8e651cf9e4de7b87600ae8631d516eeb30de8a309c2e2b1e0306a3d1a815a62e9116f0321fd5ece99a2dbacf41d3f350d57ca7079 WHIRLPOOL 700767b7fcf49949df24ac2ab78117703c9598445188cb3c5c8c56d7a3bcc81f6ecaa4ef267c939af7bc56b1b498d547ff7a3c14966f9a483fd01485b8d65cdb
+DIST adobe-flash-27.0.0.130-ppapi.x86_64.tar.gz 9462243 SHA256 3a9a860a42770547e0fc3c9f4c6fd6b539c122b0a9ee5bd65c9b9cd25541a752 SHA512 d88b39f4800be6e936adbe44a42cea7fe58fd82d101aeb6ee5d4722cf08e7113d41b57ff289af9ccb4b52dfed077e37a53527201a90c69e2f3fee17fedab0268 WHIRLPOOL aadeae7946dccf19d13bb3660d8ce823b2cc98384e141dcd92942dc4cee5bb34b2a591afef063ff53b6d9b4d4dfb89fa65a8d2ad50b9e4f69c356384f11c0b36
diff --git a/www-plugins/adobe-flash/adobe-flash-27.0.0.130.ebuild b/www-plugins/adobe-flash/adobe-flash-27.0.0.130.ebuild
new file mode 100644
index 000000000000..d8189defa27c
--- /dev/null
+++ b/www-plugins/adobe-flash/adobe-flash-27.0.0.130.ebuild
@@ -0,0 +1,133 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit nsplugins multilib multilib-minimal
+
+DESCRIPTION="Adobe Flash Player"
+HOMEPAGE="
+ http://www.adobe.com/products/flashplayer.html
+ http://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
+}