summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2020-11-11 10:06:57 +0100
committerPacho Ramos <pacho@gentoo.org>2020-11-11 10:06:57 +0100
commit83922c28202fa5c0cbf59a51d990fcdf7537f78a (patch)
treea2a1fbd49f73b6a7aa0c1de4bb2162b2e39cde09 /www-plugins
parentdev-python/toml: Bump to 0.10.2 (diff)
downloadgentoo-83922c28202fa5c0cbf59a51d990fcdf7537f78a.tar.gz
gentoo-83922c28202fa5c0cbf59a51d990fcdf7537f78a.tar.bz2
gentoo-83922c28202fa5c0cbf59a51d990fcdf7537f78a.zip
www-plugins/adobe-flash: Version bump
Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'www-plugins')
-rw-r--r--www-plugins/adobe-flash/Manifest4
-rw-r--r--www-plugins/adobe-flash/adobe-flash-32.0.0.453.ebuild141
2 files changed, 145 insertions, 0 deletions
diff --git a/www-plugins/adobe-flash/Manifest b/www-plugins/adobe-flash/Manifest
index 1bd219a57f96..7b194c04a940 100644
--- a/www-plugins/adobe-flash/Manifest
+++ b/www-plugins/adobe-flash/Manifest
@@ -2,3 +2,7 @@ DIST adobe-flash-32.0.0.445-npapi.i386.tar.gz 8546864 BLAKE2B 10f585753cac9f2323
DIST adobe-flash-32.0.0.445-npapi.x86_64.tar.gz 9066116 BLAKE2B d83bd5bc5b41ebdafb64e16e23b3bc8857f72d85145639564a9bd12d82f1c72927a905911ed12fad0b882069e8bfe0cc496255d70e2a397ed7d286a0ec80a368 SHA512 0d1b0d533674c9c7b2ea4e089cf82645345732be5e255dcf1ea181587f48c3013b7956b88cfd2a24aebbf31540e316c13a87d8633546b9dc3243dc6e166657be
DIST adobe-flash-32.0.0.445-ppapi.i386.tar.gz 8833013 BLAKE2B 63b38440d0c91d0e15c464945ed10004ebfb28d5cad7180e818641aa8c7e77dd3f5387027b3dbe494264c65e4520967af9ad0bfd73d954b1b4dfe95c2889f9e9 SHA512 78b45c4d9f9aba131927eee2a56f1cbc9128e5abd4273f07ff6102a31b6c032b9cfdd73a163f47a7ba5bbe02a2d84a81fcd0e43fff5d8602b3a237b330745c5e
DIST adobe-flash-32.0.0.445-ppapi.x86_64.tar.gz 9764163 BLAKE2B 4f9d4053e5f6df78caebacb3d6d7198692cd1101f3504970e5105a56d8177ed1ea3697f57cfe5026df2a1d81b4406e90063dc4238c661311c1f28dbb2565bd93 SHA512 1d0522045b8ccba6a0b798f76e88a8dee7af6bd835901c3b49bac379706f070c683f24d0024609c2bab18ea22feca9d48802cde32c52621ad342cc4a2c33f210
+DIST adobe-flash-32.0.0.453-npapi.i386.tar.gz 8548784 BLAKE2B 9b0944a7a6a1aa958f6fcda0fe4a725c599e6558293594371812299ce788cc9e9ed426dc33f9b1ecb43a59fa3b7104bdee392b44fc243a8b5823e20d1ea6e4f0 SHA512 1dcacb25cd20c1d469f2160a40e29f10267c79945a79b583ce65be187a6ada34c269096d0e44d2253492edc51c5110e61c586ee097ff50745f9557c8dac2090e
+DIST adobe-flash-32.0.0.453-npapi.x86_64.tar.gz 9066153 BLAKE2B 73ee100479b95627af617417d741866a22134a255bbf97692ad1d2d996059702d290fc72ec441e61305d743ad1357bf85011b775b56073beb95f16796ce21328 SHA512 50d6afb9477f31e267dd485caad08cbb6cb4a198403a89c9849012333a35d1e2851137cb6da0d18a87b1e539b6b78246ca689d6cb3dbbcd87432d3183223cd07
+DIST adobe-flash-32.0.0.453-ppapi.i386.tar.gz 8832903 BLAKE2B c9423e696437672f21bc2c4fa0a0e2b889260d13bef9cf361b9bb9517abfe35f1e42c13d6e49ee0dcc56beb47832b81842356dd1fc2bd4f608f31ba9023fa23a SHA512 7540fda93e2c7a3d63c79b5b5a5656f1d294e1d06b2f7613436026af961f49707706815cba36cd0531d3eb7dccd5be429ac9c05ff8a5cb0bb21d6ec30811116a
+DIST adobe-flash-32.0.0.453-ppapi.x86_64.tar.gz 9764153 BLAKE2B ff890985141f9c1d23fc04e281f91f437e2e7fee165a68cae0f3fcbf1bef7b4c4a19067a887b7542bedf5a5a765a9598c51c598ff34cc4cc6e2308a364d9fb84 SHA512 a385b68ace7de021c30ab71fcf84114793bc821863ebbb062c61fb134e13c94402f8b676c723eb2a06fbb0622bba027db438a34c434288b77491dfaca1621b5d
diff --git a/www-plugins/adobe-flash/adobe-flash-32.0.0.453.ebuild b/www-plugins/adobe-flash/adobe-flash-32.0.0.453.ebuild
new file mode 100644
index 000000000000..4bed41bad555
--- /dev/null
+++ b/www-plugins/adobe-flash/adobe-flash-32.0.0.453.ebuild
@@ -0,0 +1,141 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit xdg-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() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}