summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2016-09-08 11:13:21 +0200
committerJeroen Roovers <jer@gentoo.org>2016-09-08 11:13:41 +0200
commite03402af02ac469b0d10fbc069a6c2b594e7b6e4 (patch)
tree891bb7ef495f9131fc7b7bc47d62b211cf315ec3 /www-plugins/adobe-flash
parentmedia-video/raspberrypi-omxplayer: improvements. (diff)
downloadgentoo-e03402af02ac469b0d10fbc069a6c2b594e7b6e4.tar.gz
gentoo-e03402af02ac469b0d10fbc069a6c2b594e7b6e4.tar.bz2
gentoo-e03402af02ac469b0d10fbc069a6c2b594e7b6e4.zip
www-plugins/adobe-flash: Version bump (bug #593004).
Package-Manager: portage-2.3.0
Diffstat (limited to 'www-plugins/adobe-flash')
-rw-r--r--www-plugins/adobe-flash/Manifest2
-rw-r--r--www-plugins/adobe-flash/adobe-flash-22.0.0.209.ebuild83
-rw-r--r--www-plugins/adobe-flash/files/pepper-flash1
3 files changed, 86 insertions, 0 deletions
diff --git a/www-plugins/adobe-flash/Manifest b/www-plugins/adobe-flash/Manifest
index c3c2cb308843..f4e4f7325b1b 100644
--- a/www-plugins/adobe-flash/Manifest
+++ b/www-plugins/adobe-flash/Manifest
@@ -1,3 +1,5 @@
DIST adobe-flash-11.2.202.632-debug.i386.tar.gz 7464481 SHA256 a0d82fdfc50912e89e9ee51777947ce02753c5c439a08ace4eccdd3765c57dd9 SHA512 ac16e3cc9d0ffb672b61b246a8ccf4c1211eb1af8fb24d31ad2d995a175cec885c4efc7375b0325ed2221124885c9e22e62c38ace4b29bbc109a8633277acac8 WHIRLPOOL 3f39e91902ff7d9988ab2fc14012a34b396aa76597909e3ea959ff3bda9f675cc13e9a1ec2ee1d25308c646d4b2d144516dacde4d0be6b44ffbae575eb53dbee
DIST adobe-flash-11.2.202.632.i386.tar.gz 6986419 SHA256 c455ba9b72318d87434c7199a94ca15dc0f1c7fca590ee3703e013cbdecce942 SHA512 b33f4fbc888e10ce034cd2236272960bed4c429ee5c6f3f93162bbd1642fd6ee3bb5b0273654818eef5b84540c826e3c3dd039e982b26e93091532e5a30941aa WHIRLPOOL fe7d364442ba5543d4d7f54d0f039c8c8a69d5e72b145d12a0add32ed7635b56abd9966e49d577bc45733c6f81c8b43db20d2a407e188320d6def540d4f17493
DIST adobe-flash-11.2.202.632.x86_64.tar.gz 7296191 SHA256 8a0cea025f854f2c6e139f623851eee60bb3842d5326fb7502644a1a94a6d1d7 SHA512 cdda85ec491d0e3b08333d8547fbb693e342cd73110231b2df8b285424cdf30fe7296892c2744c3a33eac2eb4b4562d08ecb8f80f62f45834e739e0bd13c3da8 WHIRLPOOL 5bc3a9079b18623d2ee227496d91429131075a2ba04d901075a0e83d599031909c2f750fd31e7393409994cd4ff0e164d2e5f67eea82fab4c95849d960d0c1ac
+DIST adobe-flash-22.0.0.209.i386.tar.gz 5980870 SHA256 512cac431b46fd2ed96d4e724ffa0e67eacc9eb6b2066ab92b83323b017e54f4 SHA512 07ab7a662aa45855ce02aba5bd9367df2a73910f4a43869922c2d7c332b2bb6d265b5db24dfb0f2ff57d42f99a00e83a51fb8ffee3739c5d5cd9ae821e83488b WHIRLPOOL 50386c1c06c71338b3415310e8fb8ff796d44446af55784a6285dd1411d9b96e48bbb9970d02edb379271f9606b234c16d668b92ad9bc4f7d2262ce783d19109
+DIST adobe-flash-22.0.0.209.x86_64.tar.gz 6897798 SHA256 644b5bd10b0adaef09468ed9ee6f1d3fc4b3801d9eeb40591930ff40493135f8 SHA512 456052ff699c48b4d0c54439d57269115badef8940019b30999dcc8245b5b61394dc0b4095c71bce48e8eb2560369033b6d7e70a7a1c697ed6149707e85a5aa4 WHIRLPOOL 57f40d1d3361ec77344880b27d4d7195aa803469bec3018bc5ef73c0295dfd2f6bf0594b402f8f274b4df7ad6e9481e10b4cd841b57ab6627b5b508fbd852ca8
diff --git a/www-plugins/adobe-flash/adobe-flash-22.0.0.209.ebuild b/www-plugins/adobe-flash/adobe-flash-22.0.0.209.ebuild
new file mode 100644
index 000000000000..ab75f5a58df5
--- /dev/null
+++ b/www-plugins/adobe-flash/adobe-flash-22.0.0.209.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit toolchain-funcs versionator 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#version11
+"
+
+AF_URI="https://fpdownload.adobe.com/pub/flashplayer/pdc"
+PV_M=$(get_major_version)
+# https://fpdownload.adobe.com/pub/flashplayer/pdc/22.0.0.209/flash_player_ppapi_linux.x86_64.tar.gz
+AF_32_URI="${AF_URI}/${PV}/flash_player_ppapi_linux.i386.tar.gz -> ${P}.i386.tar.gz"
+AF_64_URI="${AF_URI}/${PV}/flash_player_ppapi_linux.x86_64.tar.gz -> ${P}.x86_64.tar.gz"
+
+SRC_URI="
+ abi_x86_32? ( ${AF_32_URI} )
+ abi_x86_64? ( ${AF_64_URI} )
+"
+SLOT="22"
+
+KEYWORDS="-* ~amd64 ~x86"
+LICENSE="AdobeFlash-11.x"
+RESTRICT="strip mirror"
+
+RDEPEND="
+ !www-plugins/chrome-binary-plugins[flash]
+"
+
+S="${WORKDIR}"
+
+# Ignore QA warnings in these closed-source binaries, since we can't fix them:
+QA_PREBUILT="usr/*"
+
+any_cpu_missing_flag() {
+ local value=${1}
+ grep '^flags' /proc/cpuinfo | grep -qv "${value}"
+}
+
+pkg_setup() {
+ unset need_lahf_wrapper
+ if use abi_x86_64 && any_cpu_missing_flag 'lahf_lm'; then
+ export need_lahf_wrapper=1
+ fi
+}
+
+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
+}
+
+src_configure() { :; }
+
+multilib_src_install() {
+ exeinto /usr/$(get_libdir)/chromium-browser/PepperFlash
+ doexe libpepflashplayer.so
+ doins manifest.json
+
+ if multilib_is_native_abi; then
+ dodir /etc/chromium
+ sed "${FILESDIR}"/pepper-flash \
+ -e "s|@FP_LIBDIR@|$(get_libdir)|g" \
+ -e "s|@FP_PV@|${PV}|g" \
+ > "${D}"/etc/chromium/pepper-flash \
+ || die
+ fi
+}
diff --git a/www-plugins/adobe-flash/files/pepper-flash b/www-plugins/adobe-flash/files/pepper-flash
new file mode 100644
index 000000000000..31b55752e1a1
--- /dev/null
+++ b/www-plugins/adobe-flash/files/pepper-flash
@@ -0,0 +1 @@
+CHROMIUM_FLAGS="${CHROMIUM_FLAGS} --ppapi-flash-path=/usr/@FP_LIBDIR@/chromium-browser/PepperFlash/libpepflashplayer.so --ppapi-flash-version=@FP_PV@"