diff options
author | Jeroen Roovers <jer@gentoo.org> | 2017-10-25 12:58:27 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2017-10-25 12:58:27 +0200 |
commit | 9ad31fe3b88753f72a49809a34ec3933bedb5f37 (patch) | |
tree | 9ce2aa86b138ef6a832104351e69f87a3c9c99b2 /www-plugins | |
parent | games-roguelike/stone-soup: Fix pkg-config call. (diff) | |
download | gentoo-9ad31fe3b88753f72a49809a34ec3933bedb5f37.tar.gz gentoo-9ad31fe3b88753f72a49809a34ec3933bedb5f37.tar.bz2 gentoo-9ad31fe3b88753f72a49809a34ec3933bedb5f37.zip |
www-plugins/adobe-flash: Version bump.
Package-Manager: Portage-2.3.12, Repoman-2.3.3
Diffstat (limited to 'www-plugins')
-rw-r--r-- | www-plugins/adobe-flash/Manifest | 4 | ||||
-rw-r--r-- | www-plugins/adobe-flash/adobe-flash-27.0.0.183.ebuild | 140 |
2 files changed, 144 insertions, 0 deletions
diff --git a/www-plugins/adobe-flash/Manifest b/www-plugins/adobe-flash/Manifest index 9dd8b112c0e1..171edd6bc3a9 100644 --- a/www-plugins/adobe-flash/Manifest +++ b/www-plugins/adobe-flash/Manifest @@ -2,3 +2,7 @@ DIST adobe-flash-27.0.0.170-npapi.i386.tar.gz 8512470 SHA256 a06d815d2858e58b0f1 DIST adobe-flash-27.0.0.170-npapi.x86_64.tar.gz 9025191 SHA256 966761fda5fc29301cd7720dc1e84b2551d142e7e5d51e3898e8e6fe7c11cc43 SHA512 c4a2879c4ac945ff6921025e4efcffe0dbccbf2cb972dfd9db3020c78b69dfec35c0f7a63e479f55ab06d06f386864d1740595f633fb9f02fc20584125c3c7ef WHIRLPOOL d0bdc0d6356dcb80f2f3e0a9f49bc723b7285151414ab2702b5103235226ecd34a874eacbcfe26a50e5de4ee479ff18146d262ef2751e90532a4fb672f31ed7e DIST adobe-flash-27.0.0.170-ppapi.i386.tar.gz 8547131 SHA256 9b60006e28333bb0a8f333ebd97782dc811b8c35d63ea5441d65bea5a7085aa4 SHA512 1cd426eaba556b296e8ba91dd21ee5899767444408ecedf96dbda74bcc56a69e0d542b4d91a287878fa2307457b2aa8291a37a4b689cc0f8e896b9ea40f92293 WHIRLPOOL a5c33c669a32431d6d352182d7b40f620afb09c16c3adccfa873fcb3e631e434a66d20795ffb2dec08f1badd83c187bc52de18a1f90502d14bebc7d39413836a DIST adobe-flash-27.0.0.170-ppapi.x86_64.tar.gz 9461678 SHA256 2ac5788fd87881acbdf5992a0b4841087e30f4244ecff7311fe36b702b0c25ab SHA512 e324f6f4a813157f5acde2225a4ac920c7d920a585299dbd6c0af1a3ee17b8339f966baf1868d11d237673936df24c04270a15c8bf1618fd377a762784d8bad1 WHIRLPOOL a82853451ef8f4608ed3e18a16c20e7e47254b3b7219c747ed66dadb89b10ce30b5ea172ac79db0d297b4dbf2407c39e6db1a708ad5432cc0a8036df492d58ce +DIST adobe-flash-27.0.0.183-npapi.i386.tar.gz 8512893 SHA256 ae4532b374b63aa2ce5a625d93e5ae543a073bcb1f812489a88c1595691e466f SHA512 14be1b1c0312f65288b2ac434d476ca525431bed5be9706f240a7119e73baae0236f4e1bb7ead89c3be6bcd8e4915f53db8b27d43e055722bcc36a06a9f625cb WHIRLPOOL ee6fd9ee2f9210884be95f0fb86e1c6504d9b5d3a4004d63b3be7a2556cfa784670671f24bb05effdceba050e67229048722603b594034b1e5907251d021e548 +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 diff --git a/www-plugins/adobe-flash/adobe-flash-27.0.0.183.ebuild b/www-plugins/adobe-flash/adobe-flash-27.0.0.183.ebuild new file mode 100644 index 000000000000..eb6463c6e194 --- /dev/null +++ b/www-plugins/adobe-flash/adobe-flash-27.0.0.183.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 +} |