summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2016-12-13 17:20:11 +0100
committerJeroen Roovers <jer@gentoo.org>2016-12-13 17:21:33 +0100
commitaf80dd617dbd4bbc682fcf43ac7df38f0eeaeae1 (patch)
tree7b79d657ae2e0cfc9d7ae917ced5241ab19726a6 /www-plugins
parentwww-apps/icingaweb2: bup (diff)
downloadgentoo-af80dd617dbd4bbc682fcf43ac7df38f0eeaeae1.tar.gz
gentoo-af80dd617dbd4bbc682fcf43ac7df38f0eeaeae1.tar.bz2
gentoo-af80dd617dbd4bbc682fcf43ac7df38f0eeaeae1.zip
www-plugins/adobe-flash: Version bump.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'www-plugins')
-rw-r--r--www-plugins/adobe-flash/Manifest4
-rw-r--r--www-plugins/adobe-flash/adobe-flash-24.0.0.186.ebuild154
2 files changed, 158 insertions, 0 deletions
diff --git a/www-plugins/adobe-flash/Manifest b/www-plugins/adobe-flash/Manifest
index acb0a2390f24..5abac6ce40d1 100644
--- a/www-plugins/adobe-flash/Manifest
+++ b/www-plugins/adobe-flash/Manifest
@@ -7,3 +7,7 @@ DIST adobe-flash-24.0.0.170-npapi.i386.rpm 9133446 SHA256 0cf42b37dfb08b8d2f0b24
DIST adobe-flash-24.0.0.170-npapi.x86_64.rpm 9675923 SHA256 5b663fb88bb78a223148c27a395c19519e091a975135e63d4a0c5a3165f22848 SHA512 2fd823a901a71aa98693d05d7982a840711fec4daaa4d3c5a8eff41b34b9a9709bba9fb8c8896a54df35d846930fffb2ac832f8681239508db2d1483f9067cee WHIRLPOOL 7382711c69453f36f170a3512f2b7ced8ada84b3e001c9d0512a93baeec07f405430c936052b645170e71ff31ce14a4b68476174b9d3baeff0b6452692d58b2d
DIST adobe-flash-24.0.0.170-ppapi.i386.rpm 8539220 SHA256 08285fe1d7b859fef869015f5304b5b1166e238128e4927206ce03deddebc8ac SHA512 6b741ddc24cfb45846c064756b01d6a3ae56fcb988e7a16b5384dc35b64c268a30016a33272f4d89e297bf011c49a07a0e0d8aa3947342326d437d3006f10d8c WHIRLPOOL 8a6dc26b229768f7dff42c5095eb8057b15f922e04378563a632f53f5d3e4fa382f2df5debb14db9e24e5ec97005eefb0d502da1a8e316d5340a12acb234ae7e
DIST adobe-flash-24.0.0.170-ppapi.x86_64.rpm 9441180 SHA256 a9e894c65204df6ddf708ba22704f8153c56b65e01acaa05870bbdd4f38db3e0 SHA512 76edb7b132a7a62440153557bbb71490c3d660860e77d2fcc9755d565735cddb748420cf73b116e23c438099f821845ec4586b892c72c9f5506dafeff184bd70 WHIRLPOOL abd4aaf0d5e29a3a20c5f7591e3149f5c964ea7056552d5c0e3377c952583954ce5ce37648140211df779c29932048d02175361ed26532b09668fa46d0b80aec
+DIST adobe-flash-24.0.0.186-npapi.i386.tar.gz 9159537 SHA256 3b5803388f31940484c1020db4c5533aa48cfccab3880eb55a6f25610eb691fd SHA512 3ecee0240193171c383721186c33495a73b9992c07583e7eb59a5a6b7c1476d1a7abf6df33d52ffb2785cbf9d4bdc47c9dfd7ba10e743a6dea9e1c706023e921 WHIRLPOOL 31825020725ef1a612c2a5d0fdf62ff6c4938efabe36df4e77c4ad4ad4f1fc7add47a5e524ed3c4a6593de681f52bfd639476e78d4a421fcab46582840baeef5
+DIST adobe-flash-24.0.0.186-npapi.x86_64.tar.gz 9698084 SHA256 c721b59102d12597a8592f0e8d2fb3d65ccda33d8e499435fe02871b46874663 SHA512 c495b2980cc4038fa0144e6acbce4a5faaa3ddbd7f06adfdadc6d359aae9bcacc4b37c503c2ed55e5d5941535205de9e16746a6c5e2561e7a79e7b1e9517f7af WHIRLPOOL ea06dab827991bbff1aaf6744a7bd191868c29d3a947add50a47d104ada1cd40ded93ae11a6eff4cace75cb0e0275ffe031be8bd001bedb44a8f808d8621751e
+DIST adobe-flash-24.0.0.186-ppapi.i386.tar.gz 8557210 SHA256 8fff4214db24a07f971455d9363fb210c838a7ca2d469cb5db2eed49d012b446 SHA512 5db68c0c56855e2c7e401f68797d5b53f3610dbfaecfb25868b06dc774bb9619ce6a10aeb4265487a0765f93516e8cd825652ce66faa3b2e0f5921d2a21635fe WHIRLPOOL 38ff6a2ad6544d9f699c2409edaebede5406ba8dc659ec70dc14fb9fc2ec2dbe5dc0d5bf1f6b5ca1d291bf117b32d632ec2ae9184d326381e86d2bcf3597b092
+DIST adobe-flash-24.0.0.186-ppapi.x86_64.tar.gz 9476879 SHA256 37ccc51fb61c3f039eca58a34e40f4872a68eea4fe56450c83aeccb0eb08b57d SHA512 05d2b648651b437bcad4a43e1c28581a5f0895191a44e36381f998f43952984fcc5bfe7225097d3be64d14a895bb28cba633e9c633fb04e88c4d30f6cdadb427 WHIRLPOOL 794a6b8bac9aa2f9b76293a30e5e131a3b157bc027d18a4ef4552727867282f1a8b7b8667c3163f1e4852a1cfa337738b6262d6426764cfc84ffb14534cbf9f8
diff --git a/www-plugins/adobe-flash/adobe-flash-24.0.0.186.ebuild b/www-plugins/adobe-flash/adobe-flash-24.0.0.186.ebuild
new file mode 100644
index 000000000000..3814fad75377
--- /dev/null
+++ b/www-plugins/adobe-flash/adobe-flash-24.0.0.186.ebuild
@@ -0,0 +1,154 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit nsplugins multilib multilib-minimal
+
+DESCRIPTION="Adobe Flash Player"
+HOMEPAGE="
+ http://www.adobe.com/products/flashplayer.html
+ http://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="kde +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
+ dev-libs/glib:2
+ dev-libs/nspr
+ dev-libs/nss
+ kde? (
+ dev-qt/qtcore:4
+ dev-qt/qtdbus:4
+ dev-qt/qtgui:4
+ dev-qt/qtsvg:4
+ kde-base/kdelibs
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libXau
+ x11-libs/libXdmcp
+ x11-libs/libXext
+ x11-libs/libXft
+ x11-libs/libXpm
+ )
+ media-libs/fontconfig
+ media-libs/freetype
+ >=sys-libs/glibc-2.4
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf
+ x11-libs/gtk+:2
+ x11-libs/libX11
+ x11-libs/libXcursor
+ x11-libs/libXext
+ x11-libs/libXrender
+ x11-libs/libXt
+ x11-libs/pango
+"
+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
+ if use kde; then
+ exeinto /usr/$(get_libdir)/kde4
+ doexe usr/${pkglibdir}/kde4/kcm_adobe_flash_player.so
+ insinto /usr/share/kde4/services
+ doins usr/share/kde4/services/kcm_adobe_flash_player.desktop
+ else
+ # 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 "sed of .desktop file failed"
+ fi
+
+ # 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-browser/PepperFlash
+ doexe libpepflashplayer.so
+ insinto /usr/$(get_libdir)/chromium-browser/PepperFlash
+ doins manifest.json
+
+ if multilib_is_native_abi; then
+ dodir /etc/chromium
+ sed "${FILESDIR}"/pepper-flash \
+ -e "s|@FP_LIBDIR@|$(get_libdir)|g" \
+ -e "s|@FP_PV@|${PV}|g" \
+ > "${D}"/etc/chromium/pepper-flash \
+ || die
+ fi
+ fi
+}