diff options
author | Jeroen Roovers <jer@gentoo.org> | 2017-11-16 06:35:21 +0100 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2017-11-16 06:35:52 +0100 |
commit | d100448e494f3d9cfabf6509d5646b1875caefda (patch) | |
tree | 10ff4bdd3135db6303a17357fd3c8ea3485879eb /www-plugins/adobe-flash | |
parent | sys-kernel/ck-sources: v.bump (4.9.62 & 4.13.13) (diff) | |
download | gentoo-d100448e494f3d9cfabf6509d5646b1875caefda.tar.gz gentoo-d100448e494f3d9cfabf6509d5646b1875caefda.tar.bz2 gentoo-d100448e494f3d9cfabf6509d5646b1875caefda.zip |
www-plugins/adobe-flash: Version bump (bug #637630).
Package-Manager: Portage-2.3.14, Repoman-2.3.6
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-27.0.0.187.ebuild | 140 |
2 files changed, 144 insertions, 0 deletions
diff --git a/www-plugins/adobe-flash/Manifest b/www-plugins/adobe-flash/Manifest index 543a75460563..063ebac2272c 100644 --- a/www-plugins/adobe-flash/Manifest +++ b/www-plugins/adobe-flash/Manifest @@ -2,3 +2,7 @@ DIST adobe-flash-27.0.0.183-npapi.i386.tar.gz 8512893 SHA256 ae4532b374b63aa2ce5 DIST adobe-flash-27.0.0.183-npapi.x86_64.tar.gz 9025057 SHA256 a12b8ee3e40dc80bd3f96a968f17f0de2cd9acea5c8a6b7e9a4688bcd7a2c835 SHA512 a1992d432470dcab43aed4eb6db6fb499abf760f59eb8b6985de8f11164afc81509e1d5c3fa34c68671061e03b006e519edf6dcb17adf95c0877d16777a9435c WHIRLPOOL 28011389d1a8e01cbf53f95944077f7873e1db04f13ac14188ac94010b86bc29dde92650eaf17e0fbdf07449c731ee7a334d20d5481410cabf67e83a3f91e0fd DIST adobe-flash-27.0.0.183-ppapi.i386.tar.gz 8545500 SHA256 93e2f1a457281cd8a6b22a9f6c28a87f683bc989f05aed03d457dc91667a03f1 SHA512 19905f4fd6b6707482c7f3acdc53dcf2d6988518dedf4f86c1b6f1ce6007f38ce12e7c805988a556a20471c4ea9797e828d5906e88de5b91e1f7458a1e8b1f9d WHIRLPOOL 427583114d2f8f78351c62054a1c07fe0fa8a625cceb641802b919a96098ef02aaa5bbc94bea198807477d64c1a88d3851e48904ec66e3d9cea7aba1d2398f7c DIST adobe-flash-27.0.0.183-ppapi.x86_64.tar.gz 9463482 SHA256 144325c00f40dfa704eda72fda6518ef797eb5be37715626099de8e722f80d22 SHA512 5c0fb7f42eccd1389d2ef0b4122cbb3b2fe917dabe514fb07e63aa6489e7d99169a1c7bdfc5a5514a61cc8d9d35ae7057fbc9fda7e9d7351a66efd0baf66b2a4 WHIRLPOOL 4440c50d87994ce7463ceb909fed60f992db69c60a88d4deba841a70f52d3bc04af7bc402ed1134eab8e106cb861b12ac182f5e96c0d9caa950a60314f058661 +DIST adobe-flash-27.0.0.187-npapi.i386.tar.gz 8511242 SHA256 bc3a0722a72f6b24d314c04b75c05412c7b0802b8392c68b081c10549a244b1a SHA512 0e0cd2ef71a93047a6c4ad2355bbe7d9ceed06cd4e44ba643d59992d639f771cbdc785915e2e602844fbaa5da4bed691207900ae8ec3c620fec6ee9ec0869e3f WHIRLPOOL 06bf4bf15afb2295abe71c60cf652940296c2310c21d4671f4f1c7021029b5fbd65cde73a06156135f986063f35b98c41f82cabc1e335e20fc7d9a418ef40e49 +DIST adobe-flash-27.0.0.187-npapi.x86_64.tar.gz 9024091 SHA256 83912c2b09dc8e8fd006dd66cf9d25304e5b05c9a6e681d214a6aab619bcccc1 SHA512 f258df77ef447e216eaa39357750504980b3938cfa2c40ebe84f181c1df10c011011e9c34a13e89a1acc3667b201f52a455081f277386df062844df0026e4b61 WHIRLPOOL 5b02983f8551153e3c0ba666cdb59f3962b133ad60fbad214ec5f7dc72bccefca04efad2213d8d61f134d416c64bae9ad20cf4639f4f97dfb43342b3d34793e0 +DIST adobe-flash-27.0.0.187-ppapi.i386.tar.gz 8545784 SHA256 9fb221e6c08355264f58bba8b98d5b2b43dc97af9b7f88e60a5dfd1fd2bc2988 SHA512 e7f9e3f529c94b3d595a00a8f4ac40aa56c169f2c557300c20ff55f48b871df834e62626d88a79c3f07a08449e8599319ad0f385c25a97a1aa6109cf03c1e497 WHIRLPOOL 03748e4a66077794eb9aa09ed7d623f7d88572c3a0f7641a483d4c5095b9629f0ba87c3d4509e5b91be37b215364fe0161d4dc3ec3b74892a705069dbd1d336f +DIST adobe-flash-27.0.0.187-ppapi.x86_64.tar.gz 9463140 SHA256 70e67c96dcdf8818dc126492ea0a92c4311f1352676e8600337cf6839e33ecfb SHA512 4fb84cd352811b7e0d423b4f5970149f5265b6c729801b227f630c1145c64a54b770e24e253cc8a783aa9877ea0bdcf8314f37efca936f203a72de91178b8584 WHIRLPOOL 0f34d93e8394c23f53ac664104db13fc9cc5843e5c15e76f689c58bebfad0683f081979cae67480195c7e1b2ce380688acf09b01cd20d67f67855489e7590a7d diff --git a/www-plugins/adobe-flash/adobe-flash-27.0.0.187.ebuild b/www-plugins/adobe-flash/adobe-flash-27.0.0.187.ebuild new file mode 100644 index 000000000000..eb6463c6e194 --- /dev/null +++ b/www-plugins/adobe-flash/adobe-flash-27.0.0.187.ebuild @@ -0,0 +1,140 @@ +# Copyright 1999-2017 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 +} |