summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2018-07-16 19:41:46 +0200
committerJeroen Roovers <jer@gentoo.org>2018-07-16 19:50:59 +0200
commitfc7d1948cffd32b7bf07416ee938885ea9b54fad (patch)
treeca2e549c25a7e1acedc3807c1e50a0a4d32c4b00 /www-plugins
parentdev-python/pycurl: Enable running standalone test (diff)
downloadgentoo-fc7d1948cffd32b7bf07416ee938885ea9b54fad.tar.gz
gentoo-fc7d1948cffd32b7bf07416ee938885ea9b54fad.tar.bz2
gentoo-fc7d1948cffd32b7bf07416ee938885ea9b54fad.zip
www-plugins/adobe-flash: Version 30.0.0.134.
Package-Manager: Portage-2.3.41, Repoman-2.3.9
Diffstat (limited to 'www-plugins')
-rw-r--r--www-plugins/adobe-flash/Manifest4
-rw-r--r--www-plugins/adobe-flash/adobe-flash-30.0.0.134.ebuild140
2 files changed, 144 insertions, 0 deletions
diff --git a/www-plugins/adobe-flash/Manifest b/www-plugins/adobe-flash/Manifest
index fe36dbf0b389..efcc8c5e9c33 100644
--- a/www-plugins/adobe-flash/Manifest
+++ b/www-plugins/adobe-flash/Manifest
@@ -2,3 +2,7 @@ DIST adobe-flash-30.0.0.113-npapi.i386.tar.gz 8525678 BLAKE2B 8aba96593370c47992
DIST adobe-flash-30.0.0.113-npapi.x86_64.tar.gz 9045060 BLAKE2B b5454860c71c35b84c26700686ee248a7525d292d176032e951351704ef4a732403cedbe711ca52a3d89e397f4f036bc31e46d6e466eefe4b5e54354ba9680b1 SHA512 cff833da87d2ae24bd19f3669690c6ce071804e518612c7fd3fd7839bf5881afe57c472f10cb972362598d287f1bc840e1b61a07b6502ff5b916b7c4fb76c647
DIST adobe-flash-30.0.0.113-ppapi.i386.tar.gz 8562694 BLAKE2B 7f678bc4eb069fba68fe419bd3109999d880912e1b76a9ffbe25df24e81f083b548383f4c54e944e66e0558f11b0f9672625c676d0f1af85fbe58f7facdc578f SHA512 b7713f9c740884722d0eff75b9874a6a9d253f50a0cbd796be64f03d34fff2c4e955f1e0674d5a910af8d3056811344da923e6d026e6b90829aaf3e2b8bb9fdd
DIST adobe-flash-30.0.0.113-ppapi.x86_64.tar.gz 9477997 BLAKE2B 7c3f17ed89471a1e5c2d0bb945fad38f4184bb46b3d0f89d5a523682c84690374c2f1cccd367c913df7cbb7abaa2044e06ee7e96a2fe872632ffc22f9e6d2ae6 SHA512 7516d8b8e61038170c4bf282afca12dd6cc51a52520003caee213a49a0458ea94c735963965afd485f70a75a92b65e2439248d364a67e2d63a6f38cb19b7d49c
+DIST adobe-flash-30.0.0.134-npapi.i386.tar.gz 8523733 BLAKE2B 0c079dbc95e867681bad6e9f651909a76d2ae084450db0fa94b3794590b7f4b6578d064b351523b8d42aad55538b23fee918035399091d924330e6f0323cf2a1 SHA512 163e265a20377beeae786a8a3dadb06fbc8c3f8d936c4517eae6727f85dd6be7fb19aeae7dcb4e16c7e8155859a3fe6bfcba6719e411805f584e84968e18a701
+DIST adobe-flash-30.0.0.134-npapi.x86_64.tar.gz 9042379 BLAKE2B 31e7e42c9845aa4d5cf2361c95c6d46fa812c7593a269b92f2192ac059bf76fc89fc46683bc78ebe30a8f5e57ee0eabd512ae6c226d134e31a5081227f983231 SHA512 7895ae695fc151c38a5b01ef35b7e81b76b02dba582a1898663b377aaf599187da335d5bbac2fed8cdec424b97ede66b0b5cd642a835989a2f6099f2f690aecc
+DIST adobe-flash-30.0.0.134-ppapi.i386.tar.gz 8562153 BLAKE2B 1741a0c3ac245bfe0916cfe78b24f4f7659773d749634bad16a30420d198787b08239b41c4f8be742a219ccaaf967108f3e430791da70c8929a6e29ee09b4850 SHA512 2a50f1af0424b2f534c1fe8afe839acb87857559e724b5c1fbf0df0ccce8f17df558776942a06a0885727f7704f9db5abde9d77aa053b33fe765437015eb7270
+DIST adobe-flash-30.0.0.134-ppapi.x86_64.tar.gz 9476250 BLAKE2B b840bf4d0d5d462c8367f4fa4cf120bb376aa24b71b28c3e00a82f55015736580a513f13ec8bdc26108e4eb07e728745bf21fc0d0292cd34a31860b1bde754fa SHA512 194f7e0e37a5b44a2f702220cbde2493a910bc0d76f1bd10ff3a6451d2434eb500e694d67b9741c33927a35bcfbfb4e0a4a2d2beb87fca4b7074896c4452141f
diff --git a/www-plugins/adobe-flash/adobe-flash-30.0.0.134.ebuild b/www-plugins/adobe-flash/adobe-flash-30.0.0.134.ebuild
new file mode 100644
index 000000000000..edde28781c17
--- /dev/null
+++ b/www-plugins/adobe-flash/adobe-flash-30.0.0.134.ebuild
@@ -0,0 +1,140 @@
+# Copyright 1999-2018 Gentoo Foundation
+# 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
+}