From f966498ffa8f5607b09a4d87d4d678795d156bc4 Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Fri, 17 Apr 2020 13:35:03 +0200 Subject: www-plugins/adobe-flash: Version 32.0.0.363 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Jeroen Roovers --- www-plugins/adobe-flash/Manifest | 4 + .../adobe-flash/adobe-flash-32.0.0.363.ebuild | 141 +++++++++++++++++++++ 2 files changed, 145 insertions(+) create mode 100644 www-plugins/adobe-flash/adobe-flash-32.0.0.363.ebuild (limited to 'www-plugins') diff --git a/www-plugins/adobe-flash/Manifest b/www-plugins/adobe-flash/Manifest index 9e56ae2ae3b6..7c887d75fedb 100644 --- a/www-plugins/adobe-flash/Manifest +++ b/www-plugins/adobe-flash/Manifest @@ -2,3 +2,7 @@ DIST adobe-flash-32.0.0.344-npapi.i386.tar.gz 8543568 BLAKE2B f734671e7a3e0d45c8 DIST adobe-flash-32.0.0.344-npapi.x86_64.tar.gz 9062923 BLAKE2B 0dbe8e2ac099c41c2a135a8d37901752c5571d1c79fe5a5cbdeaa124a654a2fbff4b40e090e8083cb04406e1796f18e9d1a9b7000efeeb2c8f537e403d39d198 SHA512 4cf57daff5ef3435f277f77bcff6c34887a7ebeaf68346ac818797b07ef418fadfe091edea606a2a44fc8d3973377bc04e924ab0028d8b36c012edf2459db27f DIST adobe-flash-32.0.0.344-ppapi.i386.tar.gz 8579804 BLAKE2B 7f34e4441877a6155d32ad1d29a3c04600aa150deb8ec1a34c7277d2ee431f09be9f5440f1d55799e9dbc1514249804492b3b2fad6b1db911716650ff86bb876 SHA512 6143aa76823e0377833e6dd0142492819b49dae72691f74924cdab5cea98e2d42d9a74958bce49913568ea2ec44ca0b306e82204254f276e7d3067fa21bd2909 DIST adobe-flash-32.0.0.344-ppapi.x86_64.tar.gz 9492669 BLAKE2B 04d6c27cc985e999e87a33905ebffec4394391f21b4e458aa293050ddf868a45167c8e7b0cc4be8c2b2a65520c6c2d65edea5bef3489c76cdb240adb520e4202 SHA512 d209c083b01198e41834f840b602dd26ef50f1c8894b872ee41df8f2f667244e3e58296ba46e4ae379130ea266d07635d21f2eff185402c3fcb82d6c13a0226b +DIST adobe-flash-32.0.0.363-npapi.i386.tar.gz 8545286 BLAKE2B 1d3a364b09e75b3a81aeafa10e12834107d0058cb013b4530189c0225cd737db21f462f595a90413f7f7d6984bf97ed4a73b32a1bd9083e3a6ce972fdbc32bd6 SHA512 0bbe518f42a83cbad8d631da5c7eda9571bf87673d243a06442fc8a9057ebaef2e1860ac288c564d3c9988fc3a117be3f180ebcebf3b3ae0003c0e02e7928526 +DIST adobe-flash-32.0.0.363-npapi.x86_64.tar.gz 9063726 BLAKE2B f525ba3ed06188a1c96da0abbbf609aee31ed3c42485a956a0cd03ad0ed0610b47ee60c66e9c35ec608b1e84335d3ed4b7a38de36f1b968e8a0870805cf88c29 SHA512 64b1898128debf101d2eaa2fdab53c2b6dea608c2eb53f10ad05099b638eb83c1bacb5202d8a0b4be9513bbbe558e46c2f0bfbf258770817418b40fbf7cc69d4 +DIST adobe-flash-32.0.0.363-ppapi.i386.tar.gz 8579339 BLAKE2B 9f5beebc402e07c9bdcee286c05532b3ef3d1a7816fd0fd9d87074b7438b34b52fc1886e95d4a3e2d804a0f78dc0357052916ca325cadcebc8aa909d0905df9f SHA512 0dcd1a51e92be1f2c8ad7a004d43f6cb5b9d7c2ab69a5d95cdb89ff8a41a905cc49340da3c37f08088cb4cb90f3f1ea706837d060a8e54c89aeaf04ebb25d00f +DIST adobe-flash-32.0.0.363-ppapi.x86_64.tar.gz 9494211 BLAKE2B 986c26897bd0e9953733f9258cdeff0921349e7e08d0bef4e13a793fb110164ad37225fabbcb5ec01a30e6dc4dc9d492ea73d026758d87c412fc8406605569d9 SHA512 a325857f61262542f807531748ee1cf9cc669103a90ed5a766e3ef3dde0a75a4c73b7d47b5dcc2b35d9df603496fb36e228f4abe82f63a69dacbf03c7824d412 diff --git a/www-plugins/adobe-flash/adobe-flash-32.0.0.363.ebuild b/www-plugins/adobe-flash/adobe-flash-32.0.0.363.ebuild new file mode 100644 index 000000000000..4bed41bad555 --- /dev/null +++ b/www-plugins/adobe-flash/adobe-flash-32.0.0.363.ebuild @@ -0,0 +1,141 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit xdg-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="bindist mirror strip" + +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() { + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_icon_cache_update +} -- cgit v1.2.3-65-gdbad