summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2017-05-09 15:29:14 +0200
committerJeroen Roovers <jer@gentoo.org>2017-05-09 15:29:33 +0200
commitb65481a28e30844a9aeb56641848897d1b8bed1f (patch)
tree524febf9bece295d4a2c80f5e5a8ce7a0fbcb9ed /www-plugins/adobe-flash
parentwww-client/vivaldi-snapshot: Old. (diff)
downloadgentoo-b65481a28e30844a9aeb56641848897d1b8bed1f.tar.gz
gentoo-b65481a28e30844a9aeb56641848897d1b8bed1f.tar.bz2
gentoo-b65481a28e30844a9aeb56641848897d1b8bed1f.zip
www-plugins/adobe-flash: Version bump.
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'www-plugins/adobe-flash')
-rw-r--r--www-plugins/adobe-flash/Manifest4
-rw-r--r--www-plugins/adobe-flash/adobe-flash-25.0.0.171.ebuild133
2 files changed, 137 insertions, 0 deletions
diff --git a/www-plugins/adobe-flash/Manifest b/www-plugins/adobe-flash/Manifest
index ac9773445412..7926adfe2c1b 100644
--- a/www-plugins/adobe-flash/Manifest
+++ b/www-plugins/adobe-flash/Manifest
@@ -2,3 +2,7 @@ DIST adobe-flash-25.0.0.148-npapi.i386.tar.gz 8485815 SHA256 7d9ffcdca435429d857
DIST adobe-flash-25.0.0.148-npapi.x86_64.tar.gz 8996004 SHA256 72f93bf2d2f6b6e7ed34321de8324f14d9ddff8bc9f42717691b8904be50e758 SHA512 f0656b4e294736a0a5027692abf5035a7ec67056c8df209e4a61aa24692e0e65eb4da95efa9de5597abb6384fbd0e85d54f87dff3b8871b44986f3a83eac2666 WHIRLPOOL 7034a6b8f393d382db48e697f33825f4497ba68ef3aa62be546b8b019ac50d53d5dad6f54f29620e5ff6fd70420c6e38bcd3c4bd7d9da840d7e0a47095f02a77
DIST adobe-flash-25.0.0.148-ppapi.i386.tar.gz 8530772 SHA256 4226ba0c0aee1ad7ecd7cc4c7f4519245d76361627df4b52e0f1a9a6ed0db764 SHA512 38ba505aee21b9dae3ec602b6a4ad5adb815d9f296d908dad7cb02985a251b62fec707379b52344da424d2d410aa4d5064ad128b84cdb40222dd8938c5b16db2 WHIRLPOOL f00c5cb873f1eeabed7df96a8129e4d68fd1df205f3aff1a10cdefb171fd7c269016a09d6c4e22fedae9d734228bb329f28c5da3fbc24b1b32df87714d428f2a
DIST adobe-flash-25.0.0.148-ppapi.x86_64.tar.gz 9441118 SHA256 5cf13ce4eb10534903213ad7ce8a40b0f84c744e705f7d676ca7b75787235de2 SHA512 25b6128f06b1f3ebdb1fdd186b60f9c77f6891271cd7a4433566b735d3650ce469351b4e3b94db6681de7d6307ecb15ca224645f2e4c223a3de896dd09877a65 WHIRLPOOL c9caf71364fac6f38509fa60cf9b9bc58010f857344833b0e68f5c463a4180fa4e4db2953faad1e47b2b7ceaa038b16b2488906713ba3cde32128f4ab3e1a010
+DIST adobe-flash-25.0.0.171-npapi.i386.tar.gz 8488318 SHA256 83395b43da1689104e569006c2a75d159d6b12f4c07d0d8e4e05e70b233662f4 SHA512 142aa954b21f54e23795880867380e17399247a1f8e44d7077ae9a0231174f8ba66e1d529ed194b315a3146725bada87ed368a57e3b1f66f7affbf41d067b0df WHIRLPOOL ef9cec371bb981fa5d821fabc752c62c82779608db0d0a291fd7525073c7a261efbc45e25a48697fc0f1fb35a92a52b0346d4686aeda8bf1f14076f56f5540ed
+DIST adobe-flash-25.0.0.171-npapi.x86_64.tar.gz 8995580 SHA256 60fe4a22278dda4e778f69bd063833fcce778cf21c88ebe4932095ae00c8cce4 SHA512 c4a05df98f1f21069b2ffb8f0e309c364977f2489ed05e66488ffd06fd2b3af3bf807a582c9430c0e7de618da4fbca96bdd589f6690fbf76e230ba80edf0ecc7 WHIRLPOOL ebbf3bb5898a508d4e6564b430f6bd5205cdd0619221020be708f0393496b406f04d8937062a2a211cde815ede754ab4734d6d591ca496b79651a453d08b85cc
+DIST adobe-flash-25.0.0.171-ppapi.i386.tar.gz 8530554 SHA256 bd044776ed45b74dba78f6ec0608a857cfab21dccc0c9ace06a7e4b5af8ffd21 SHA512 4eb3dc86901811212bc388b414a9d289a4f31b443ea497569c2bf6deb398914568c937513327a87ba33844c8f846ed594e17bcff56439a03cee29c7ee12623c9 WHIRLPOOL 1348cc483d3bf6cf4ad9b796c20f5746f281fcb93e4d5a03be59bd76727256f441c0485f16d30ea140005d789edddd7a2bb43e0ffab0d94e0a026697f0ad7a9a
+DIST adobe-flash-25.0.0.171-ppapi.x86_64.tar.gz 9444396 SHA256 b97e765d75eed61d4703f78af92655d93c80ed07260cdfb07aa6890c30a6dc5a SHA512 d3abde4cd2b88e4e002667a88a9a0906df51268ea602366c915e570851247b2208f3817c38f0e1fa4109222c3b7f10d71dc7323726eaea2d5ee4f46bc19ec107 WHIRLPOOL bbd3c3e18b961a9324d8d55dfbf2915bdfeae370f8b1a60e0e46240873c0721d2dfa68627d4b35b0e22fd640f96a049459b452e927ef855fda107ff76c5652d2
diff --git a/www-plugins/adobe-flash/adobe-flash-25.0.0.171.ebuild b/www-plugins/adobe-flash/adobe-flash-25.0.0.171.ebuild
new file mode 100644
index 000000000000..ed3de32b1a7f
--- /dev/null
+++ b/www-plugins/adobe-flash/adobe-flash-25.0.0.171.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
+ dev-libs/glib:2
+ dev-libs/nspr
+ dev-libs/nss
+ media-libs/fontconfig
+ media-libs/freetype
+ >=sys-libs/glibc-2.4
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf
+ x11-libs/gtk+:2
+ x11-libs/libX11
+ x11-libs/libXcursor
+ x11-libs/libXext
+ x11-libs/libXrender
+ x11-libs/libXt
+ x11-libs/pango
+"
+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
+}