diff options
author | Jeroen Roovers <jer@gentoo.org> | 2015-01-27 08:51:00 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2015-01-27 08:51:00 +0000 |
commit | 9767c596bde5bd6a4b5d21b9be8081d726980212 (patch) | |
tree | b968719290f441595c8b9a1856d704c05278c60a /www-plugins | |
parent | update HOMEPAGE (diff) | |
download | historical-9767c596bde5bd6a4b5d21b9be8081d726980212.tar.gz historical-9767c596bde5bd6a4b5d21b9be8081d726980212.tar.bz2 historical-9767c596bde5bd6a4b5d21b9be8081d726980212.zip |
Version bump (bug #537426).
Package-Manager: portage-2.2.15/cvs/Linux x86_64
Manifest-Sign-Key: 0xA792A613
Diffstat (limited to 'www-plugins')
-rw-r--r-- | www-plugins/adobe-flash/ChangeLog | 8 | ||||
-rw-r--r-- | www-plugins/adobe-flash/Manifest | 12 | ||||
-rw-r--r-- | www-plugins/adobe-flash/adobe-flash-11.2.202.440.ebuild | 248 |
3 files changed, 263 insertions, 5 deletions
diff --git a/www-plugins/adobe-flash/ChangeLog b/www-plugins/adobe-flash/ChangeLog index 884d7e24df6e..10890fd4b7e7 100644 --- a/www-plugins/adobe-flash/ChangeLog +++ b/www-plugins/adobe-flash/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for www-plugins/adobe-flash # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-plugins/adobe-flash/ChangeLog,v 1.291 2015/01/23 08:00:11 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-plugins/adobe-flash/ChangeLog,v 1.292 2015/01/27 08:50:59 jer Exp $ + +*adobe-flash-11.2.202.440 (27 Jan 2015) + + 27 Jan 2015; Jeroen Roovers <jer@gentoo.org> + +adobe-flash-11.2.202.440.ebuild: + Version bump (bug #537426). 23 Jan 2015; Jeroen Roovers <jer@gentoo.org> -adobe-flash-11.2.202.429.ebuild: Old. diff --git a/www-plugins/adobe-flash/Manifest b/www-plugins/adobe-flash/Manifest index f2276cf7dfe1..9efe1b8f8088 100644 --- a/www-plugins/adobe-flash/Manifest +++ b/www-plugins/adobe-flash/Manifest @@ -6,13 +6,17 @@ AUX mms.cfg 4420 SHA256 0dd2a9f9aab559243c4d282b5c143ed8876b8d6f8be519bfa8ca6e8f DIST adobe-flash-11.2.202.438-debug.i386.tar.gz 7406493 SHA256 9cc836d54d48260ebcd9629e8a221512bceee99411587e2537f20f79f3572fd2 SHA512 3db32b92cfeb1dd306872ad1d1b53b2c4caef5e5379e6bea8b5a570fd169f6107a6667256020845dbab06d2a18f2964659d50d16fc1b47db5e8b8138fbd743d2 WHIRLPOOL 2f2bf561be78dc319151e4926c358440c65f5e4ab06ea7dcbf40d11bb210872667982a65403b4b52f2ed38684642601138095430d737b51944bceea1e4b98305 DIST adobe-flash-11.2.202.438.i386.tar.gz 6926814 SHA256 aba7c700e0efe42be5995b61a6c2069b8f2208da209ad7e652914aaf6fbc6950 SHA512 3310d160154ea3ac0050d37d95d98b695efab02c4fd82725cf0ed46515d5c8f99da9ce1beaa4669b161fc18199e4fded8eb3f73fff679147d04f114726de8af4 WHIRLPOOL d6abd13528dad1fcb18ffb479ac59c99da2c49ada1a67eb5f11edb6e483b020c0a7f1dd17cb5d32ef9c9d8959278237c96b1710f300cdb5f7b88045bfb9a63de DIST adobe-flash-11.2.202.438.x86_64.tar.gz 7240645 SHA256 b923d0a82ca4daf57a5566da411c319691214f8b092475c25f5e686961330ab6 SHA512 70b8311bdbbd1053269ba1d6b3767ead3c44dd94b35d5153af9cfb763c346907dfabe3bfef1c5968c29353d1c87ec24e615c6db54f87cbc7c5f419095e69df74 WHIRLPOOL f06189583d9aa75040743ad7345c02354843f3a9e3b20b239e2358e742d89f5783b6a3fa5f1436fdaf38d2769d2df39cd6cfeb118b7659bd909203e4339f34a7 +DIST adobe-flash-11.2.202.440-debug.i386.tar.gz 7406493 SHA256 9cc836d54d48260ebcd9629e8a221512bceee99411587e2537f20f79f3572fd2 SHA512 3db32b92cfeb1dd306872ad1d1b53b2c4caef5e5379e6bea8b5a570fd169f6107a6667256020845dbab06d2a18f2964659d50d16fc1b47db5e8b8138fbd743d2 WHIRLPOOL 2f2bf561be78dc319151e4926c358440c65f5e4ab06ea7dcbf40d11bb210872667982a65403b4b52f2ed38684642601138095430d737b51944bceea1e4b98305 +DIST adobe-flash-11.2.202.440.i386.tar.gz 6927249 SHA256 c4317e9c224ffe5f056605ada015739fd51a962ed4589ef7d92c9839c3d3c8e2 SHA512 85e9fda01f4db13e3d7d51d2bb55419b652bbc6765a75fc5cd0ebd8c0563a5a5d2184718f0fcb372f280ec9642d4fc135ecbd9ac071e57a0b49d31ac03f92d7d WHIRLPOOL f80b284cbc458681f31ea37d57bfcac0344268ac1862e41fad6ad92cde4272ef8db1f0a6600916ac01b1b3b8428913326d38561271267f45a98fa8117ba77709 +DIST adobe-flash-11.2.202.440.x86_64.tar.gz 7240820 SHA256 84c1b890bec0a8e1952e444de58c8c1b8e3a2c06687509323942fdc1cf3aa1eb SHA512 2730e3ce7aeb615cc896672e11fb7ee79475bafced9cafa29a348c9857ecf9b869346579a7df03ee79167b7d7dd214f57534639431546be891fb10d323f4a0ee WHIRLPOOL 410b429c41a9cd6c717b5fa49aee6c434a366ef85bd634d6681694758d54a2d7d52c2138022a71570d8e576b8bf4e109f6c4ed2c74b0f185596da929eec068dd EBUILD adobe-flash-11.2.202.438.ebuild 7046 SHA256 859aa8273605a2696f3379c3ac578d5937395e3a7b9eaf0619055ae93de11a08 SHA512 3968b13a05629617381e545a440fd1c7c57fcc3f7d47a20bae375ade0b90a7d6009ed453e7c70990b22b24e7c389a079a0d8822c988654f3a43159761fc2be1c WHIRLPOOL 4e149a3e9db69683d5e338ce69cf34bba14c54ea3259e6b5c8db36133b964d278d9c54f7a5b48e6e365836160ca82d36d2f50bee4388f65bd7f0b6df737ebd0a -MISC ChangeLog 63565 SHA256 6a8618a606cfcd2bab9d82d890c4fe38cbb55c274343240690fb32d0c4179919 SHA512 a619de34d317f05734bf32c58ed0305798cfd9a2de4cdcf466bb15aeb3012d3819be1c11a7480b69c2ac83f64f0a70ebf0e1f68e2cf61b2d8b1d1c6814970041 WHIRLPOOL 569d029d2c04b40c6ba9db1282e50e306351f680943be0199ac5a22a193ac0be6df54a1f0a66226dfbee0b05c920697f261e27c206961261d7532a5e167838d3 +EBUILD adobe-flash-11.2.202.440.ebuild 7048 SHA256 f262a241fb881a49be9ba22b01dc25829e8258fde68c4809aa156335dd96751f SHA512 01affde2a931e59737c773c36a4952389884cff784e876bed210ed0cb73308e6381fe87fd32ad938ddd7a11ea9dd50e5ae9257bea07a39fc98502fa4b63dfbed WHIRLPOOL 2be1611e260d8674bf42b3378380c1d18d59cae7bce393e8317c5bbf379bc403056c8965f3f476f000b37250feba327572a44057e8f23d8b50182124a133365d +MISC ChangeLog 63720 SHA256 38b84959687d8ca0dc2ebabd5b4793d5c3066f39693103863ed592d11bb2dc66 SHA512 493ea8fc068e5b0344973ba21b0ccae3cba17165374f78b6ce48c8fafa158640d3dff42a44f6fe9b3070498ca45dc218602a2bca1aa0fa8ca87fbe9485887aea WHIRLPOOL 7cf57925d0353780fd245c41d354b2961f1a4c562ce04a8d12533ace6bf2a26eaf0b999bc5d1815769674e2ece2d48c68fcea3ba0086828b093678c732b5678d MISC metadata.xml 321 SHA256 eadabc4103a5ba288719b67839637948b095e5bbc296d83a6c057e882a0e17f4 SHA512 9d9e0e1433e484aa398dcd4f8d4ce757afc4ffbe66136ac7b68b6d04c23d4d5f0e876d330273fd474d4e61e4df9d1c0227d45cb5eb94d250c97b4a46753c0a28 WHIRLPOOL ff2f1f3732c97ab3400d016e3ddd2004b9f40e2bbb76a0b12812a6b9b050614c17393eab8dbae8bc1065f40268acd1ef19130a35814c0f1645ba6b6b28a65ac4 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iEYEAREIAAYFAlTB/4wACgkQVWmRsqeSphNq3QCdFXLXybNeEdB699Y8JBgTQafB -9msAnjzEVDDKaDqWvOrm62elFMKMB6pW -=wnnz +iEYEAREIAAYFAlTHUXQACgkQVWmRsqeSphOcnACfQcGShhCEAuT+lKtFwrAC47Ih +zKQAn3lv6KzO1Z8XoPJWveLu5xXb1/CW +=WKg2 -----END PGP SIGNATURE----- diff --git a/www-plugins/adobe-flash/adobe-flash-11.2.202.440.ebuild b/www-plugins/adobe-flash/adobe-flash-11.2.202.440.ebuild new file mode 100644 index 000000000000..783e507f91e0 --- /dev/null +++ b/www-plugins/adobe-flash/adobe-flash-11.2.202.440.ebuild @@ -0,0 +1,248 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-plugins/adobe-flash/adobe-flash-11.2.202.440.ebuild,v 1.1 2015/01/27 08:50:59 jer Exp $ + +EAPI=5 +inherit nsplugins toolchain-funcs versionator multilib multilib-minimal + +DESCRIPTION="Adobe Flash Player" +HOMEPAGE=" + http://www.adobe.com/products/flashplayer.html + http://get.adobe.com/flashplayer/ +" + +AF_URI="http://fpdownload.macromedia.com/get/flashplayer/pdc" +AF_DB_URI="http://fpdownload.macromedia.com/pub/flashplayer/updaters" +PV_M=$(get_major_version) +AF_32_URI="${AF_URI}/${PV}/install_flash_player_${PV_M}_linux.i386.tar.gz -> ${P}.i386.tar.gz" +AF_64_URI="${AF_URI}/${PV}/install_flash_player_${PV_M}_linux.x86_64.tar.gz -> ${P}.x86_64.tar.gz" +AF_32_DB_URI="${AF_DB_URI}/${PV_M}/flashplayer_${PV_M}_plugin_debug.i386.tar.gz -> ${P}-debug.i386.tar.gz" + +SRC_URI=" + abi_x86_32? ( + !debug? ( ${AF_32_URI} ) + debug? ( ${AF_32_DB_URI} ) + ) + abi_x86_64? ( ${AF_64_URI} ) +" +IUSE="debug kde selinux sse2" +REQUIRED_USE=" + sse2 debug? ( abi_x86_32 ) + || ( abi_x86_64 abi_x86_32 ) +" +SLOT="0" + +KEYWORDS="-* ~amd64 ~x86" +LICENSE="AdobeFlash-11.x" +RESTRICT="strip mirror" + +S="${WORKDIR}" + +NATIVE_DEPS=" + 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 +" + +DEPEND=" + amd64? ( abi_x86_32? ( !abi_x86_64? ( www-plugins/nspluginwrapper ) ) ) +" +RDEPEND=" + ${DEPEND} + abi_x86_64? ( ${NATIVE_DEPS} ) + abi_x86_32? ( + amd64? ( + || ( + ( + >=dev-libs/atk-2.10.0[abi_x86_32(-)] + >=x11-libs/cairo-1.12.14-r4[abi_x86_32(-)] + >=x11-libs/gdk-pixbuf-2.30.7[abi_x86_32(-)] + >=x11-libs/gtk+-2.24.23:2[abi_x86_32(-)] + >=x11-libs/pango-1.36.3[abi_x86_32(-)] + ) + app-emulation/emul-linux-x86-gtklibs[-abi_x86_32(-)] + ) + || ( + ( + >=dev-libs/glib-2.34.3:2[abi_x86_32(-)] + >=dev-libs/nspr-4.10.4[abi_x86_32(-)] + >=dev-libs/nss-3.15.4[abi_x86_32(-)] + ) + app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] + ) + || ( + ( + >=media-libs/fontconfig-2.10.92[abi_x86_32(-)] + >=media-libs/freetype-2.5.0.1[abi_x86_32(-)] + >=x11-libs/libX11-1.6.2[abi_x86_32(-)] + >=x11-libs/libXcursor-1.1.14[abi_x86_32(-)] + >=x11-libs/libXext-1.3.2[abi_x86_32(-)] + >=x11-libs/libXrender-0.9.8[abi_x86_32(-)] + >=x11-libs/libXt-1.1.4[abi_x86_32(-)] + ) + app-emulation/emul-linux-x86-xlibs[-abi_x86_32(-)] + ) + ) + x86? ( ${NATIVE_DEPS} ) + ) + || ( media-fonts/liberation-fonts media-fonts/corefonts ) + selinux? ( sec-policy/selinux-flash ) +" + +# Ignore QA warnings in these closed-source binaries, since we can't fix them: +QA_PREBUILT="usr/*" + +any_cpu_missing_flag() { + local value=${1} + grep '^flags' /proc/cpuinfo | grep -qv "${value}" +} + +pkg_setup() { + unset need_lahf_wrapper + if use abi_x86_64 && any_cpu_missing_flag 'lahf_lm'; then + export need_lahf_wrapper=1 + fi +} + +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 +} + +src_configure() { :; } + +multilib_src_compile() { + if [[ ${ABI} == amd64 && ${need_lahf_wrapper} ]]; then + # This experimental wrapper, from Maks Verver via bug #268336 should + # emulate the missing lahf instruction affected platforms. + set -- $(tc-getCC) -fPIC -shared -nostdlib -lc \ + -oflashplugin-lahf-fix.so "${FILESDIR}/flashplugin-lahf-fix.c" + echo "${@}" >&2 + "${@}" || die "Compile of flashplugin-lahf-fix.so failed" + fi +} + +multilib_src_install() { + # PLUGINS_DIR comes from nsplugins.eclass + exeinto /usr/$(get_libdir)/${PLUGINS_DIR} + doexe libflashplayer.so + + if [[ ${ABI} == amd64 && ${need_lahf_wrapper} ]]; then + # This experimental wrapper, from Maks Verver via bug #268336 should + # emulate the missing lahf instruction affected platforms. + doexe flashplugin-lahf-fix.so + fi + + if multilib_is_native_abi; then + if use kde; then + local pkglibdir=lib + [[ -d usr/lib64 ]] && pkglibdir=lib64 + + 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" +} + +unregister_pluginwrapper() { + # TODO: Perhaps parse the output of 'nspluginwrapper -l' + # TODO: However, the 64b flash plugin makes + # TODO: 'nspluginwrapper -l' segfault. + local FLASH_WRAPPER="${ROOT}/usr/lib64/${PLUGINS_DIR}/npwrapper.libflashplayer.so" + if has_version 'www-plugins/nspluginwrapper' && [[ -f ${FLASH_WRAPPER} ]]; then + einfo "Removing 32-bit plugin wrapper" + nspluginwrapper -r "${FLASH_WRAPPER}" + fi +} + +pkg_postinst() { + if use amd64 ; then + if [[ ${need_lahf_wrapper} ]]; then + ewarn "Your processor does not support the 'lahf' instruction which is used" + ewarn "by Adobe's 64-bit flash binary. We have installed a wrapper which" + ewarn "should allow this plugin to run. If you encounter problems, please" + ewarn "adjust your USE flags to install only the 32-bit version and reinstall:" + ewarn " ${CATEGORY}/${PN}[abi_x86_32,-abi_x86_64]" + elog + fi + # needed to clean up upgrades from older installs + if use abi_x86_64 && [[ -n ${REPLACING_VERSIONS} ]]; then + unregister_pluginwrapper + fi + if has_version 'www-plugins/nspluginwrapper'; then + if use abi_x86_32 && ! use abi_x86_64; then + einfo "nspluginwrapper detected: Installing plugin wrapper" + local oldabi="${ABI}" + ABI="x86" + local FLASH_SOURCE="${ROOT}/usr/lib32/${PLUGINS_DIR}/libflashplayer.so" + nspluginwrapper -i "${FLASH_SOURCE}" + ABI="${oldabi}" + fi + elif use abi_x86_32; then + elog "To use the 32-bit flash player in a native 64-bit browser," + elog "you must install www-plugins/nspluginwrapper" + fi + fi +} + +pkg_prerm() { + use amd64 && use abi_x86_32 && ! use abi_x86_64 && \ + unregister_pluginwrapper +} |