diff options
author | Jeroen Roovers <jer@gentoo.org> | 2019-03-12 11:49:46 +0100 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2019-03-12 12:00:27 +0100 |
commit | 319e3072c2f8f3410757d4b4e370dad169a0ab96 (patch) | |
tree | 8afe52908a805fee5a05640c06116ad8df0a0911 /www-plugins/adobe-flash | |
parent | net-p2p/syncthing: bump to version 1.0.1 and EAPI 7 (diff) | |
download | gentoo-319e3072c2f8f3410757d4b4e370dad169a0ab96.tar.gz gentoo-319e3072c2f8f3410757d4b4e370dad169a0ab96.tar.bz2 gentoo-319e3072c2f8f3410757d4b4e370dad169a0ab96.zip |
www-plugins/adobe-flash: Version 32.0.0.156
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'www-plugins/adobe-flash')
-rw-r--r-- | www-plugins/adobe-flash/Manifest | 4 | ||||
-rw-r--r-- | www-plugins/adobe-flash/adobe-flash-32.0.0.156.ebuild | 140 |
2 files changed, 144 insertions, 0 deletions
diff --git a/www-plugins/adobe-flash/Manifest b/www-plugins/adobe-flash/Manifest index 2ee18ed5a0ae..d32c84e1df70 100644 --- a/www-plugins/adobe-flash/Manifest +++ b/www-plugins/adobe-flash/Manifest @@ -2,3 +2,7 @@ DIST adobe-flash-32.0.0.142-npapi.i386.tar.gz 8530350 BLAKE2B 78faf86c16bb5e6eda DIST adobe-flash-32.0.0.142-npapi.x86_64.tar.gz 9047544 BLAKE2B e14cca8120405ec265168b3dfd43ce81c180f68f38dcb59a560115395e169550b2738cbf8821cadf12e1e8b868e6c588295e8926f55747e2c8bddfaa9e1d329d SHA512 047086d43902b3132358ed0c53dde26108bc4e69067945e6194cf5aaaf96f1f01921a8a0a08cd7ac6006bcaee08880a59e46a5c621c6dd6e306af419d65e03e1 DIST adobe-flash-32.0.0.142-ppapi.i386.tar.gz 8565686 BLAKE2B 8241352527e58057635581aa1f12c412c690ca5c119c70ff81f5178c0e6f0c3e0c5f5a4ab53a5d5729807d7f9a2c9e2ab4fcd8896cb9399f44996a9d11056c55 SHA512 942e8efc3eaa2674d4b0fbcfe46f50a0ce1a5a5ae87055419d4cea7b710083779b6803271042b4c3ca457a925ede13cc532ac7b8e5f4adfaa9ce932fa9e61417 DIST adobe-flash-32.0.0.142-ppapi.x86_64.tar.gz 9482227 BLAKE2B 6b91b802541058e7bc20a120c58d731684c98ce5719c24d48cd2a68307af15dfb399265af49c1f5e559391835a23fc8b1509b4a0c2b228efbc789d9a4f07fb20 SHA512 1ee8994ce485b72fc97967f8c4229a7c688518f3c05238063c493e320927164a3bf225fbdcb064d6502fb9ec2bddfd30857400daf39520d41153e95ae9cb3ef9 +DIST adobe-flash-32.0.0.156-npapi.i386.tar.gz 8530759 BLAKE2B 6e405a74fed006078e4a063b88de6740c578554e08bbd1c6ed4549fe4219ab45e3b34ee4b16f86e488debf1d3fedbc1d50c2410ecc0930962f3332e22c004553 SHA512 31ffb59b9249cd38ac75af85d179620335bf91adacd8d6147c3c4890547c6b205d6896bd623b670714b626ffbf5d480ed1126ccb9965046ccae953f06b895a01 +DIST adobe-flash-32.0.0.156-npapi.x86_64.tar.gz 9046020 BLAKE2B 8153cf404cfc5fef4b21faf030c8029d61e63dc3869befd9f8aa47ba358ac6d862b3f4cecdda962ff52010c081d7ecbaf205646c070bf127fe99473366bfb2b6 SHA512 2700042619d2fd6f9ba2251da9ecaee70e98f0b7dc810abc1577780d7e8909033e1654a2ac5ef3167478529aa871bba53d19e013f42ffd1c542f8e7d3eb3a389 +DIST adobe-flash-32.0.0.156-ppapi.i386.tar.gz 8565766 BLAKE2B 4874972649ad501adb1e983c529d1ffe516638239a4fd86df7854629c75eb96182f745d053906689e8893e60338cf5da991f84a712058c11416ae87b0aa4c60b SHA512 108192003d91bc148f54539f539588772479aaf576d651d3df124ae4ebfab47efe45c63b67395386a96f6d565cd5a6b4ab3a9aa5f3248ef2daf485b6586f1c49 +DIST adobe-flash-32.0.0.156-ppapi.x86_64.tar.gz 9479771 BLAKE2B 4c5711ff627bf28493a8f10736694c5b96e4aa07974e8890af7baa25d2d53bc7f761498a7d8f390c4139e856a8bba63c6b1b4e8481b6dcab353bb08f5a14383a SHA512 36dd51657eabf51b995904d19fe87996451dcc15ea8a9444829cd4cbceb7a67c9fe04f550a291607268170bc837c79e1de863dadd1b73a1af90a309548fd3d50 diff --git a/www-plugins/adobe-flash/adobe-flash-32.0.0.156.ebuild b/www-plugins/adobe-flash/adobe-flash-32.0.0.156.ebuild new file mode 100644 index 000000000000..2cc1c70b340d --- /dev/null +++ b/www-plugins/adobe-flash/adobe-flash-32.0.0.156.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 +} |