diff options
author | Jeroen Roovers <jer@gentoo.org> | 2019-07-09 09:25:40 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2019-07-09 09:27:53 +0200 |
commit | 25de814e82ee531251148ec05952d553aa4fabb7 (patch) | |
tree | caba7f8b4d5323303a83fd2d4c26d1907f1bb6af /www-plugins | |
parent | www-client/opera-developer: Version 64.0.3372.0 (diff) | |
download | gentoo-25de814e82ee531251148ec05952d553aa4fabb7.tar.gz gentoo-25de814e82ee531251148ec05952d553aa4fabb7.tar.bz2 gentoo-25de814e82ee531251148ec05952d553aa4fabb7.zip |
www-plugins/adobe-flash: Version 32.0.0.223
Package-Manager: Portage-2.3.68, Repoman-2.3.16
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.223.ebuild | 140 |
2 files changed, 144 insertions, 0 deletions
diff --git a/www-plugins/adobe-flash/Manifest b/www-plugins/adobe-flash/Manifest index 9d59648075f0..b754fd07eb12 100644 --- a/www-plugins/adobe-flash/Manifest +++ b/www-plugins/adobe-flash/Manifest @@ -2,3 +2,7 @@ DIST adobe-flash-32.0.0.207-npapi.i386.tar.gz 8537551 BLAKE2B bcd6e71258596e3bb2 DIST adobe-flash-32.0.0.207-npapi.x86_64.tar.gz 9052823 BLAKE2B b9b0e6c618abd40061c8f601ead8427406e1eea249c4e32d123384f1edbb27c6e8e255f0dad95554522fa842f41e2eddaf92bc68a155d8dd5d101e602bf8b396 SHA512 4924616bc2f40e0aea04bb4dce393e8a8f7a7a7604eaceb2fd04a74341e57499a4cb2e25d26a26bfd475719b219443e269d7d7d53f82f94f8874792369000c99 DIST adobe-flash-32.0.0.207-ppapi.i386.tar.gz 8570361 BLAKE2B ef909376405b2ac643d47acb8d6c5cfb156f16b22e16b1cb1bac9f1fe0889d88be676150173e23b4a4966c113c980bf455756fe2d458992193a76fa392815f36 SHA512 3584c717b68ed017c209d18e797388f48636f918a36c4f9b73a748bda14b481ad85e703d6c6d985294882c1e0f262556261ca46a52f2750a60d9f80399992c4c DIST adobe-flash-32.0.0.207-ppapi.x86_64.tar.gz 9485128 BLAKE2B 5b994561f19bacf6b9a2aa765d514328526eeec7c4cb13e50b9ae17a699577681aa8b5828b225c76fd1e0f453848827ee90d6603dd2ac43fd71e4ed01168f581 SHA512 919e608800ede398025af866f47fa3395d2335af33f300463ae46585bb422fcd3942d25c978ef0399ffd92c3745f89efeed4baea6f3692d1ae192eccb510733e +DIST adobe-flash-32.0.0.223-npapi.i386.tar.gz 8537552 BLAKE2B d9e1a838eb639fdf2457eac60389e91fa8c704bfc77a3f422336171d165967f55eeed191d1bcfa1df66d9f5246d2de08280c9b2e596782b244f2c40fa84dc367 SHA512 0f18ffc00fa2a11ddf614a4e173ba322cdfd7a010d85e3e8497f902f38824a48f62c8a7b461ab7459f3c2ea707d0f768a0d3e78e192f69c4accad2af152145ae +DIST adobe-flash-32.0.0.223-npapi.x86_64.tar.gz 9052736 BLAKE2B a1e116e89bfc35336f14d449b61a2de374d3ff4f3c39a7ee3edd7fa6eee5f76c4cf32275318a28ef2bf026a65376c29057a71545ebdb0cbdb619c95532ba13fb SHA512 bceb2781cda99d5c821720bbb6088be4e03924bcb4ba31bfe4d55f3aaa1f607cc200246ded02e4ff05161253818cfef8f3b6d053d91b35459317d278745e5e8f +DIST adobe-flash-32.0.0.223-ppapi.i386.tar.gz 8569994 BLAKE2B d22c797c8782c95073e239ad13fa9bb9157cf1bc63f60d48d9a3ca0440f33babc9a9adb3db6eaccc372fc519d1b78c8c987a750469d9a8a279f93df77457ab86 SHA512 0b8ab4e76c6b3e8b189a0da3a7bbfa04462eac9067d11e78f0e376e6b779d8eb13b55cb0ff877f6d5b659f1cc81e4ac1f9319834bea25040935742afdcf32653 +DIST adobe-flash-32.0.0.223-ppapi.x86_64.tar.gz 9485487 BLAKE2B c3e80307b439fcbb27093a6bbb7da6dd91ff77f1ef4396abc51948c0825b9aaf11132f3a15cff17bebdd066c2c069a164d05ab57f2da6a7e6942269a4b8a2c47 SHA512 041d976a09cb957d3ffc34e1462c6bd5866641f505f0c2a65079c83578e731c877c623d1a237bf827db083f1578a1da9b0a2049eaa4d1427d8e9e2d6570a87e3 diff --git a/www-plugins/adobe-flash/adobe-flash-32.0.0.223.ebuild b/www-plugins/adobe-flash/adobe-flash-32.0.0.223.ebuild new file mode 100644 index 000000000000..2cc1c70b340d --- /dev/null +++ b/www-plugins/adobe-flash/adobe-flash-32.0.0.223.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 +} |