www-plugins/adobe-flash: Old

Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
This commit is contained in:
Jeroen Roovers
2019-12-11 11:46:29 +01:00
parent 948bdbc4ac
commit 17f89272a0
2 changed files with 0 additions and 145 deletions

View File

@@ -1,7 +1,3 @@
DIST adobe-flash-32.0.0.293-npapi.i386.tar.gz 8537294 BLAKE2B f9df95e6ca0536ee6f8d49f069964522ed168243ba7304cab47205d9232c52667f6fe876ca009d76f98252319cf4c0c6ae74c771bb626ebf16996afbdf337355 SHA512 593921299b10d61cb03a2e6a22e64deea4e466a60d0f4b7291d93371ec342825fcb8078cfb85bcd4fac68616d0820ea1dcfab2bcb6f279fbe8b7da8582867e48
DIST adobe-flash-32.0.0.293-npapi.x86_64.tar.gz 9245618 BLAKE2B d76dff6fff671b2f8a71ff28be53ff05dadd47517fb0b9d669991bf70f84c590fea71998902fee9d1bf3908c9233d3946f6b2d156af89c2c01f8d431b71d8a23 SHA512 3c35d667aa4e0801b3596048ae9ebf0dd3d2572764ab92bf2c78b04ce5db588445d96c490d7cd59fa399a7c71d7d6eb7cc143164ffd96a4587908884cfd30322
DIST adobe-flash-32.0.0.293-ppapi.i386.tar.gz 8574626 BLAKE2B 807675f133ceae1ace0009a3047098eba3d088413496b405c3834d6479c7c715aad12a869d125dcb4bad7058c652604b437c5cc1880b98730114905a7bd8a998 SHA512 b1810d756606f5dd5e46c50446ad0961bae93cf4d66bfa5e542292e056213f0e59fa2a45741cc18c2d7f8bf61ccd7dc87c8cba5fb5cb13beec7f42d63742881c
DIST adobe-flash-32.0.0.293-ppapi.x86_64.tar.gz 9491735 BLAKE2B 9d1ccaa06a152fa5a6ded4fb227287a9169f6c68ab492ed140c1981151bf5e690321793f4f943c51d75a1e822013be48cdfd8f88b6298e3ce732763aa4e1a6c1 SHA512 0eba2558a877da356d45ba9e25e308e70b93adcf6bb34f5c42661ca1b2734df945eb1bbf6f9c802984891dd6b47e562fdec7755f72dcb305e9750d6bc0fd0e95
DIST adobe-flash-32.0.0.303-npapi.i386.tar.gz 8537265 BLAKE2B 24f3ea4a7d1149c1ac5fecd431a1ada087772575301977c5a77403259013cff2af5cf42f5c11d5f2b8a7449a69c190fab42dfc4efe95c739c0f50792ba929a3e SHA512 989da54079600f304abe91bdf71f079a8b3652a194b621403d061feb55641cfe9a5acb362084cfeeb5c48762aa0847e2298df82ed91fce3b83dd4b2dec6f8dda
DIST adobe-flash-32.0.0.303-npapi.x86_64.tar.gz 9242954 BLAKE2B 8bd71bffa24753dbd6e0d2177459b30bfbd12d43e4b19162427c08a2f7cf8caa71adc9857b40712553c8073caa660069ed32cd949f91ac07d68763b0e8d549eb SHA512 ee949dfe75eedf0f6e42fbce8d4c9e24f0133a74c339b4f0aae819698a1463907ef124e569dc1fb5994922b6b32d260c293de647b31c56076fcec75d69f4c6a7
DIST adobe-flash-32.0.0.303-ppapi.i386.tar.gz 8574350 BLAKE2B 710b1188c70687bd8c71483e53a260ee140c8539b85be03e0d0b46c44c51499c5138c5dc39a79c803dabf299f58d889d3e2fd3527c0780293deb127e299e5a2c SHA512 cc829f851b16ee5226e90d3208769598d9835ca3948de0a7a0eee96e03fd00cdfdeeaee4ca0fc82d26e873e71084b77922541c7fbf72118351911f53d573ce4a

View File

@@ -1,141 +0,0 @@
# Copyright 1999-2019 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
}