diff options
author | Jeroen Roovers <jer@gentoo.org> | 2019-10-10 10:20:53 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2019-10-10 10:22:10 +0200 |
commit | c894396b30819816e6fd1d7f5196786f816ef241 (patch) | |
tree | 191a97bcb68ced8de1e946e6f9d3af15c081ad12 /www-plugins | |
parent | media-libs/bcg729: Add live ebuild (diff) | |
download | gentoo-c894396b30819816e6fd1d7f5196786f816ef241.tar.gz gentoo-c894396b30819816e6fd1d7f5196786f816ef241.tar.bz2 gentoo-c894396b30819816e6fd1d7f5196786f816ef241.zip |
www-plugins/adobe-flash: Version 32.0.0.270
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'www-plugins')
-rw-r--r-- | www-plugins/adobe-flash/Manifest | 4 | ||||
-rw-r--r-- | www-plugins/adobe-flash/adobe-flash-32.0.0.270.ebuild | 140 |
2 files changed, 144 insertions, 0 deletions
diff --git a/www-plugins/adobe-flash/Manifest b/www-plugins/adobe-flash/Manifest index acc616f9bb04..cefd3b29290d 100644 --- a/www-plugins/adobe-flash/Manifest +++ b/www-plugins/adobe-flash/Manifest @@ -2,3 +2,7 @@ DIST adobe-flash-32.0.0.255-npapi.i386.tar.gz 8538367 BLAKE2B 2a2a1ee2afe690b78a DIST adobe-flash-32.0.0.255-npapi.x86_64.tar.gz 9053852 BLAKE2B 4305ca7cf9171270162aed537cf8308eb4bcb6d80621a93c4c80af4093c681b84febf7927b9dba0f8b19a6f9237d4be349ef3029892e0d8166f2c59e6b841bcf SHA512 28817f6d3d2f618f750cd56f98ef0bac04e2a35498f1b259f61df1001efa4d0b1f49cd9975c8641fb4bc6c6ef32b97484d5f9ab0095261f58454b3f1d0bab7ec DIST adobe-flash-32.0.0.255-ppapi.i386.tar.gz 8574530 BLAKE2B ce413404762b43fa020bca9e7e404bdb4a8f3c8f1325824e8aca18aca6ed8256c0995229df2b693f87725869f4a45fe86dfb2624ff07046e16d309dad63fdab8 SHA512 c39377f3aabf5e7cd9838eb848021296968153cde93d50d9bc46205926ebda96bb5048be1ee0fce99d364d74548d57e77096371afe51bbb4cc4c98131169865c DIST adobe-flash-32.0.0.255-ppapi.x86_64.tar.gz 9491821 BLAKE2B 4d1a03f90413b0183d9560199e24383e252628cf6ca4a96a4da47206503461f00188647f3acb4e3715af62707bc98259654ab7b7a32ddba577fdd54fc388a9a0 SHA512 e17ba6499f823fdd7a11a805abba1655ac8683b292ce198124123ca3e2cf6cf36c5948c01b69fbd6ca7671d06e532983b31e3000a24f27ff75e62776b6b201e4 +DIST adobe-flash-32.0.0.270-npapi.i386.tar.gz 8537431 BLAKE2B 807148ed3b307dfaac2ca2fbfff0f699426fb04c4fa25b635e7c9595452deae6c1479bc6d595b4ce5ea55af429004273fc47af21678140cc69743568b181834c SHA512 f26a48a0d3d29d2b6dd4e02f8a0ddf8633c72d4a9556ad65def61ec7f498c3c6ac79276d7ab16eb95c79f501dc8e38a460e7d63a5cd73bf9cf31630deda1f64c +DIST adobe-flash-32.0.0.270-npapi.x86_64.tar.gz 9053678 BLAKE2B ad4a4d89c0da9cedcfa30d8175e1e66c4e01f338fb708b2bcaf19671d624fcc222222c6315ebabf7dc524ab3b4c540a5f8f4237e0b5dcab2d3f472bb8abe6c70 SHA512 b7170a28a271d2080824727d1e2500633cef6798d38a4937656de8be99e7829a6fd8033491abe874c74c913336ab19dc013329aa51511c5a4ca9c31574b72ccf +DIST adobe-flash-32.0.0.270-ppapi.i386.tar.gz 8574381 BLAKE2B 83e5f472e296bb32a27ff3de273fa5b81811488b7caf574b64840910ff76b85d9860e44c952539a105ec3706a7e278fc8d3a943a74c03c329be1a974ad4bb14d SHA512 6c283b5d73f78689b465cf2302f3516059d82a0dc4542e21994dc9ff775fb8a993bd40d883919a620462b47866b38740da8f778a6c8e0b7b074fa72570d27ec2 +DIST adobe-flash-32.0.0.270-ppapi.x86_64.tar.gz 9491644 BLAKE2B 11f0af7a9f08072cf9e6014e5f567aa29bd6d061a5f19907563944270ce41dcdfc296ea996d165ed579acfa792e6207191e8bc4a3e4ec035187942289badab23 SHA512 6245f03e72a06e912ca8cf514f7a6cec1aee1dfc1f26208ac0c8dcf60939253320cfe565de9470a64cc0a2a0cc271cdb21e9c24a4b4669ec746252e9a1fbe6a1 diff --git a/www-plugins/adobe-flash/adobe-flash-32.0.0.270.ebuild b/www-plugins/adobe-flash/adobe-flash-32.0.0.270.ebuild new file mode 100644 index 000000000000..07169b6d9ced --- /dev/null +++ b/www-plugins/adobe-flash/adobe-flash-32.0.0.270.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="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() { + gnome2_icon_cache_update +} +pkg_postrm() { + gnome2_icon_cache_update +} |