summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2013-02-12 21:38:31 +0000
committerTim Harder <radhermit@gentoo.org>2013-02-12 21:38:31 +0000
commit83091894e9a27cab4009dfcee1e222d8f8f03286 (patch)
treebaf83589d688cdcac86909af6ce369f76414d785 /www-plugins
parentStable channel bump. (diff)
downloadhistorical-83091894e9a27cab4009dfcee1e222d8f8f03286.tar.gz
historical-83091894e9a27cab4009dfcee1e222d8f8f03286.tar.bz2
historical-83091894e9a27cab4009dfcee1e222d8f8f03286.zip
Version bump.
Package-Manager: portage-2.2.0_alpha162/cvs/Linux x86_64 Manifest-Sign-Key: 0x4AB3E85B4F064CA3
Diffstat (limited to 'www-plugins')
-rw-r--r--www-plugins/adobe-flash/ChangeLog8
-rw-r--r--www-plugins/adobe-flash/Manifest19
-rw-r--r--www-plugins/adobe-flash/adobe-flash-11.2.202.270.ebuild261
3 files changed, 286 insertions, 2 deletions
diff --git a/www-plugins/adobe-flash/ChangeLog b/www-plugins/adobe-flash/ChangeLog
index 2f2915b1aca7..d3942dfc5db9 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-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-plugins/adobe-flash/ChangeLog,v 1.164 2013/02/09 18:04:58 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-plugins/adobe-flash/ChangeLog,v 1.165 2013/02/12 21:38:26 radhermit Exp $
+
+*adobe-flash-11.2.202.270 (12 Feb 2013)
+
+ 12 Feb 2013; Tim Harder <radhermit@gentoo.org>
+ +adobe-flash-11.2.202.270.ebuild:
+ Version bump.
09 Feb 2013; Sergey Popov <pinkbyte@gentoo.org>
adobe-flash-11.2.202.262.ebuild:
diff --git a/www-plugins/adobe-flash/Manifest b/www-plugins/adobe-flash/Manifest
index 3c1610d71170..d05964b0a0db 100644
--- a/www-plugins/adobe-flash/Manifest
+++ b/www-plugins/adobe-flash/Manifest
@@ -1,3 +1,6 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
AUX flashplugin-lahf-fix.c 1038 SHA256 52acc6658eb7d49fb167c848345f7dcb49e4057e2872ca8319bccbff6728df6d SHA512 c56082ca6371176a3454f94a7ee5c00aba2d27c969783b26740b6ff61f42e240a34b7eeacc736f035cc101709141c4786f241f98495654a67f61544a10ce478d WHIRLPOOL f43cc3b836c8d43e6d706d847693bd34a212eb4c4ba3ee698db0f752bf36a7029f81e05664ba3ebbb8190fca414dee3fc109e586fe5e02f1c6263cd6e5bbb8b0
AUX memcpy-to-memmove.sh 1418 SHA256 08a7203d19ca0d1ecbfaf6c46d915a28e2de81da97e42ef3c56e3d370c380096 SHA512 1686108fc6a1f5438e0d054de55e95829f53e551bb11efbc2632e62cd4432edf93a26dced2409512bbc641d61c840e0d5f241c6716811dbff00f32586f4aaeac WHIRLPOOL 28c8d1cc1f557a812c1bfd078068d7e8fb40604e7060705446d6317dc6e76375cec81190ec42e979f2e6a43516466d0454f45152de31d43f7dd5fc9854db9296
AUX mms.cfg 4420 SHA256 0dd2a9f9aab559243c4d282b5c143ed8876b8d6f8be519bfa8ca6e8fc0c55d9a SHA512 597380071a06176f09df1a56cba24e83a74990c175fe9f167f026eacbf01e66a083d2389ff399ead0a39654a40ae636f8459feed2d6012e51e65c5407fe7fdbd WHIRLPOOL 915b86d717db181a776eb9392aaae2becac4747bc0e551900bfecdeda17f9d0495f54c7173e47adf2ea92567c193c466e302cac78bd2126f10fd9956c204596a
@@ -6,8 +9,22 @@ DIST adobe-flash-11.2.202.261.i386.tar.gz 6917481 SHA256 c66d4a25f9f3c4598b1c180
DIST adobe-flash-11.2.202.261.x86_64.tar.gz 7229036 SHA256 60cfe63fbd08fdd6ebeaffe4d23509e554ac063f0fe0683bee9e6614c59ab85b SHA512 4739887b651b5506d682673d90c2979db2c6cc7e850bf1fa0b3a567e698fdd0d5d9c8555afe620041d0a9d7ab45552a36b45db48fca3f04ddc000460e85c4798 WHIRLPOOL 9a713a3ee8047b369a294edd26dc9c771d4e8fc87cb943110ec26a6640dd9920f1b46b50257e9a115207cf6d02329be5bdcda6e8a062ce679202fb6c9ad3b5fd
DIST adobe-flash-11.2.202.262.i386.tar.gz 6917470 SHA256 5dcb830c16d4862384c72448037d0ee4d0b5d192f529d8bec3465d6548a61a3a SHA512 0ed90ba68add48001e86928fb09ae15e290287c6883b0b71dee7a22eb37aa738f4579ad12754d3b992ca0b62211d966e05fd9ba3ee5d455794471457de742a80 WHIRLPOOL 28a4dc9a903670ded1bdf14b7ac04e75a35dfa602d39835c8b77f741ffcebaae01ec81c2bbcb8557de91059bcdfa7776b2a164a41b22b384ce50ac3cbef35459
DIST adobe-flash-11.2.202.262.x86_64.tar.gz 7229739 SHA256 f2a071598eca69f78e9e0967bd9430a9d6129888756208f524504d7ca53ad9ad SHA512 6127a8285db2c54659b770f22ceae2202f4d1206c774aee8d140bf6a86558585b1143385eae34390fd643accf23fed258a26e08099e0822f7df32f538ee233ed WHIRLPOOL 21f662ce7a904596e3f8eb577860804fb9276116039bd2ba98219fceb8958e70381416c84946f442c6595f32c1a43eda9e7c02f4d7e3d5e730d84b10ae20cb12
+DIST adobe-flash-11.2.202.270.i386.tar.gz 6922991 SHA256 f4e55cc91a7d545308ef57fa9c1be0a6effbb42329216b2b45d9100ac400a747 SHA512 221300a4430cafaedb67fd537fec9f684e26e2a4a55596545d17af65a9843e0588381fa042098173f52c3bbec2b8ab5238af8bc1bd97754fd41e1603de0a2e92 WHIRLPOOL b3708da6f2a4189f8b3d5b71e97457a5e2c428e4afc294282ddf224f3e4e4f00fdc9f0b5368209af78a55048d242cacacb41a1a33f443c6c875ebda581296e82
+DIST adobe-flash-11.2.202.270.x86_64.tar.gz 7234968 SHA256 6e7c139beb152dcb0324405d50cfba32548bc967f62408a988ce3171d2c2bd3a SHA512 c4812668a8ee0458145c4423d3f2e50ec3ee62f26ce89bf117718c13f4084cc88121479123156611895db90eb007ce1e9018a0f9c7d70553f46f8deb9b5f9226 WHIRLPOOL ecc77d504a634f387276905dd6eda633f9ea6e56a6f9918bc6c24c6484f2a31b8f71a6567423ef6346d27cfded964524fd66b1dbddac93318fcc66cd2ffeb292
EBUILD adobe-flash-10.3.183.51.ebuild 3530 SHA256 4c61e543bb39cf83674cebfc3cc1707c45ef9495b59c2f009e0c42627c1e3126 SHA512 31eea667c9f445d850e5967da7a5e1860681bf6f3b2af50fe0a06d7022f7860bfb4c3c0ad8d109b1cb4ed9ede3990df6b6293ac8e81be85592739d2a90166ac0 WHIRLPOOL 6b553dae6632d9d5c902c65446aef9040c5e5d0fd2ebf857ccb686a60f6eb02ed0b5b046d4c215af9a6cb86293de7fd2070f8cfb5a28fcb37e7ef859e47194be
EBUILD adobe-flash-11.2.202.261.ebuild 8039 SHA256 785a18be292574d0fa3edc8302f3785230df0d10c9f5c61503344092b35375ad SHA512 b8eb082f60ebaeee471787847cb0f72cfcbd656e5b8c86d8cd1ded879e66c670daa772c0f31c611029133c390eca04db07a68c3c9a8dc9323434f56c578a16ba WHIRLPOOL e9aa97022f66d8f07eb04f1a1ab3b25098d3c6f1f2662b5aa9646785b92d93e56ee283e4d773a7ee52842c657f2469d5da1d3ffda93577d034b7cf074ac54917
EBUILD adobe-flash-11.2.202.262.ebuild 8045 SHA256 73c8f3866217e1e06750251311b4cbfd3cb83767df5153e6f2b6d88e1ca3d28b SHA512 0afbfb60229600cb098fe7ada78eebec95fde2dfdf4af10517120b554edb044cbf37f296c793f7b3f57512d137349288d579d0810414a185a1e7a8fa76645968 WHIRLPOOL 3ac97d18a01354ccd3874174a3a83bd379c148d4a20da2051cae5f73d91e28ca3a02ff12c52bd37b5a277484525f8876119a4b32a5e50bd3a385a0a83e976ce6
-MISC ChangeLog 46815 SHA256 2f46982a69ff5d0e5d0ac0f00bbff1cd2d2f533477a77f1bee5cad980acd389c SHA512 36d38614c2e84507922120ab6e062e5acf92f63fc7977082b27e111cb91486b601e10a5d738c71ed513f746d5022ccf2720ba526d3e6076554bdefc0d10eed6b WHIRLPOOL 07abf8df5a61522dfb228f4d84e3b5262ab21f89ccbadcc9389b241a186230e0a2111be525c787d805357f058573344602b9b68ee76e060b11904dbbb77d8bbb
+EBUILD adobe-flash-11.2.202.270.ebuild 8047 SHA256 c0850d1fb456a3ddf98eb096c3c4aedc9bfed14caebcf0567f305bc7540c7f2f SHA512 ba089cda6d96e133d3274aecec4deeff11cf09cb32838a4c4f8a27b9db90829880c493f371ce57a4371906e3c9cbfb444cddfa3d0a51efb3fc73aab7ee1c5537 WHIRLPOOL 4e966812d3270658c5014dbe3f4e5fb9db1c543f8979c1fef0c383cb1061ca2a8c5cd5016f7c00193d5a08852b771e7c7709f07fe1e8a52f1fa574a52473a1e3
+MISC ChangeLog 46959 SHA256 bd44041a0cfab33b6509bb57ae78140e048d54884f4367941325e61d1aa08e18 SHA512 10a11b9b88a1d5f5a991ffa5d99eea58693b1f8522f47df60363f07c149d883a7904d10cb3257aa7415c59d2708e6f5e37bfdfc9fac4c0b854996e25cd3c07b2 WHIRLPOOL f850981404ba592e645e26f4a9f5d817a86031db0e936942fe3b92dc1fc99e8fc190650cc2d24e79ae2866c822cb90f5f7132a50dec44b2b2db216f5d951f161
MISC metadata.xml 975 SHA256 c7f61bcfba67a817e96f88f722c6f27c9e651425741b1059c6669b9cfb36fa56 SHA512 243421601866d9eeb5017f22b1c15b4f8834fa8ad9561953f1e05f6c3b02e18b28b9a62dcb4d85f43f38c1fc021221004123cd1930225acaac5b491c2333fc5c WHIRLPOOL 99781ee2984d90ce8fe0c0f37fa91948fe6a843dc9e74ae4a92e645ab5345fc4835b220d4c8156d752787cba8b50a720409a670af7ad2c5c99968934119dd4d2
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iQEcBAEBCAAGBQJRGrZXAAoJEEqz6FtPBkyjZYQH/05bJDl2xV/vb4nzukWeKKew
+8yEVQ6PGu6B7vQ1W/9NlAX7OIw7JKW3cDnsxGjPSAAPYGDdNtQvmHkuWl0n4RLpA
+zEr6ZowQqnK5EHllh1jKHKffWBpDE+zfGqlQXpRrhYKuY8HVHAGtr1/KTN3Qvzfa
+ft6wX/rQEzjRtviEj/4TEryVxeL1sFs+JYjrLCkbyK36tth2OXQqQ491HXMDXsof
+M6MHd50ykn3pqVgVrVKq2osACGHirEAJLG/nZoDd96mgGzk1Joy0sTz29bIWeCBJ
+ahxAYRzKfKc7G3oLmp0AGSlMZooXiIvNtsA4jh7dThD38tX/SsbXNCQeBcC9SEQ=
+=c437
+-----END PGP SIGNATURE-----
diff --git a/www-plugins/adobe-flash/adobe-flash-11.2.202.270.ebuild b/www-plugins/adobe-flash/adobe-flash-11.2.202.270.ebuild
new file mode 100644
index 000000000000..29cce0c583a7
--- /dev/null
+++ b/www-plugins/adobe-flash/adobe-flash-11.2.202.270.ebuild
@@ -0,0 +1,261 @@
+# Copyright 1999-2013 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.270.ebuild,v 1.1 2013/02/12 21:38:26 radhermit Exp $
+
+EAPI=4
+inherit nsplugins multilib toolchain-funcs versionator
+
+AF_URI="http://fpdownload.macromedia.com/get/flashplayer/pdc"
+MY_32B_URI="${AF_URI}/${PV}/install_flash_player_$(get_major_version)_linux.i386.tar.gz -> ${P}.i386.tar.gz"
+MY_64B_URI="${AF_URI}/${PV}/install_flash_player_$(get_major_version)_linux.x86_64.tar.gz -> ${P}.x86_64.tar.gz"
+
+DESCRIPTION="Adobe Flash Player"
+SRC_URI="x86? ( ${MY_32B_URI} )
+amd64? (
+ multilib? (
+ 32bit? ( ${MY_32B_URI} )
+ 64bit? ( ${MY_64B_URI} )
+ )
+ !multilib? ( ${MY_64B_URI} )
+)"
+HOMEPAGE="http://www.adobe.com/products/flashplayer.html"
+IUSE="multilib -32bit +64bit selinux vdpau kde +sse2check"
+SLOT="0"
+
+KEYWORDS="-* ~amd64 ~x86"
+LICENSE="AdobeFlash-10.3"
+RESTRICT="strip mirror"
+
+S="${WORKDIR}"
+
+NATIVE_DEPS="x11-libs/gtk+:2
+ media-libs/fontconfig
+ dev-libs/nss
+ net-misc/curl
+ vdpau? ( x11-libs/libvdpau )
+ kde? ( kde-base/kcmshell )
+ >=sys-libs/glibc-2.4"
+
+EMUL_DEPS="vdpau? ( >=app-emulation/emul-linux-x86-xlibs-20110129 )
+ >=app-emulation/emul-linux-x86-gtklibs-20100409-r1
+ app-emulation/emul-linux-x86-soundlibs"
+
+DEPEND="amd64? ( multilib? ( !64bit? ( www-plugins/nspluginwrapper ) ) )
+ selinux? ( sec-policy/selinux-flash )"
+RDEPEND="x86? ( $NATIVE_DEPS )
+ amd64? (
+ multilib? (
+ 64bit? ( $NATIVE_DEPS )
+ 32bit? ( $EMUL_DEPS )
+ )
+ !multilib? ( $NATIVE_DEPS )
+ )
+ || ( media-fonts/liberation-fonts media-fonts/corefonts )
+ ${DEPEND}"
+
+# Where should this all go? (Bug #328639)
+INSTALL_BASE="opt/Adobe/flash-player"
+
+# Ignore QA warnings in these closed-source binaries, since we can't fix them:
+QA_PREBUILT="opt/*"
+
+any_cpu_missing_flag() {
+ local value=$1
+ grep '^flags' /proc/cpuinfo | grep -qv "$value"
+}
+
+pkg_pretend() {
+ if any_cpu_missing_flag 'sse2'; then
+ eerror "This version of adobe-flash requires a CPU that supports the"
+ eerror "SSE2 instruction set, and at least one of your CPUs does not"
+ eerror "support this feature."
+ eerror ""
+ if use sse2check; then
+ eerror "You should mask this version and use adobe-flash-10.3.* instead."
+ eerror "To do so, add the following line to your package.mask file:"
+ eerror " =${CATEGORY}/${P}"
+ eerror ""
+ eerror "Or if you are trying to build a binary package for another host"
+ eerror "that does support SSE2 instructions, you may override this"
+ eerror "check by setting USE=\"-sse2check\""
+ eerror ""
+ die "${P} requires CPU with SSE2"
+ else
+ eerror "Continuing anyway due to USE=\"-sse2check\", but be aware that flash"
+ eerror "will not function unless all of the CPUs on the system where it"
+ eerror "is installed support the SSE2 instruction set."
+ fi
+ fi
+}
+
+pkg_setup() {
+ if use x86; then
+ export native_install=1
+ elif use amd64; then
+ # amd64 users may unselect the native 64bit binary, if they choose
+ # TODO: In future revisions, remove this ability now that 64-bit
+ # binaries are officially released and working.
+ if ! use multilib || use 64bit; then
+ export native_install=1
+ else
+ unset native_install
+ fi
+
+ if use multilib && use 32bit; then
+ export amd64_32bit=1
+ else
+ unset amd64_32bit
+ fi
+
+ if use multilib && ! use 32bit && ! use 64bit; then
+ eerror "You must select at least one architecture USE flag (32bit or 64bit)"
+ die "No library version selected [-32bit -64bit]"
+ fi
+
+ unset need_lahf_wrapper
+ if [[ $native_install ]]; then
+ # 64bit flash requires the 'lahf' instruction (bug #268336)
+ if any_cpu_missing_flag 'lahf_lm'; then
+ export need_lahf_wrapper=1
+ fi
+ fi
+ fi
+}
+
+src_unpack() {
+ if [[ $amd64_32bit ]]; then
+ # Since the 32-bit and 64-bit packages collide, put the 32-bit one
+ # elsewhere:
+ local my_32b_src=${MY_32B_URI##*>}
+ local my_64b_src=${MY_64B_URI##*>}
+ if [[ $native_install ]]; then
+ unpack $my_64b_src
+ fi
+ mkdir 32bit
+ pushd 32bit >/dev/null
+ unpack $my_32b_src
+ popd >/dev/null
+ else
+ default_src_unpack
+ fi
+}
+
+src_compile() {
+ if [[ $need_lahf_wrapper ]]; then
+ # This experimental wrapper, from Maks Verver via bug #268336 should
+ # emulate the missing lahf instruction affected platforms.
+ $(tc-getCC) -fPIC -shared -nostdlib -lc -oflashplugin-lahf-fix.so \
+ "${FILESDIR}/flashplugin-lahf-fix.c" \
+ || die "Compile of flashplugin-lahf-fix.so failed"
+ fi
+}
+
+src_install() {
+ if [[ $native_install ]]; then
+ if use x86; then
+ local PKGLIB=lib
+ else
+ local PKGLIB=lib64
+ fi
+ local BASE=${INSTALL_BASE}
+
+ # The plugin itself
+ exeinto /${BASE}/flash-plugin
+ doexe libflashplayer.so
+ inst_plugin /${BASE}/flash-plugin/libflashplayer.so
+
+ # The optional KDE4 KCM plugin
+ if use kde; then
+ exeinto /${BASE}/kde4
+ doexe usr/${PKGLIB}/kde4/kcm_adobe_flash_player.so
+ dosym /${BASE}/kde4/kcm_adobe_flash_player.so \
+ /usr/$(get_libdir)/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:
+ exeinto /${BASE}/bin
+ doexe usr/bin/flash-player-properties
+ dosym /${BASE}/bin/flash-player-properties \
+ usr/bin/flash-player-properties
+
+ # Icon and .desktop for 'flash-player-properties'
+ for icon in $(find usr/share/icons/ -name '*.png'); do
+ insinto /$(dirname $icon)
+ doins $icon
+ done
+ dosym ../icons/hicolor/48x48/apps/flash-player-properties.png \
+ usr/share/pixmaps/flash-player-properties.png
+ insinto usr/share/applications
+ sed -i usr/share/applications/flash-player-properties.desktop \
+ -e "s:^Exec=:Exec=/${BASE}/bin/:" || die "sed of .desktop file failed"
+ doins usr/share/applications/flash-player-properties.desktop
+ fi
+
+ if [[ $need_lahf_wrapper ]]; then
+ # This experimental wrapper, from Maks Verver via bug #268336 should
+ # emulate the missing lahf instruction affected platforms.
+ exeinto /${INSTALL_BASE}
+ doexe flashplugin-lahf-fix.so
+ inst_plugin /${INSTALL_BASE}/flashplugin-lahf-fix.so
+ fi
+
+ if [[ $amd64_32bit ]]; then
+ # Only install the plugin, nothing else for 32-bit.
+ local oldabi="${ABI}"
+ ABI="x86"
+
+ # 32b plugin
+ pushd "${S}/32bit"
+ exeinto /${INSTALL_BASE}32
+ doexe libflashplayer.so
+ inst_plugin /${INSTALL_BASE}32/libflashplayer.so
+ popd
+
+ ABI="${oldabi}"
+ fi
+
+ # The magic config file!
+ insinto "/etc/adobe"
+ doins "${FILESDIR}/mms.cfg"
+}
+
+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[+32bit -64bit]"
+ elog
+ fi
+ if has_version 'www-plugins/nspluginwrapper'; then
+ if [[ $native_install ]]; then
+ # TODO: Perhaps parse the output of 'nspluginwrapper -l'
+ # However, the 64b flash plugin makes
+ # 'nspluginwrapper -l' segfault.
+ local FLASH_WRAPPER="${ROOT}/usr/lib64/nsbrowser/plugins/npwrapper.libflashplayer.so"
+ if [[ -f ${FLASH_WRAPPER} ]]; then
+ einfo "Removing duplicate 32-bit plugin wrapper: Native 64-bit plugin installed"
+ nspluginwrapper -r "${FLASH_WRAPPER}"
+ fi
+ else
+ einfo "nspluginwrapper detected: Installing plugin wrapper"
+ local oldabi="${ABI}"
+ ABI="x86"
+ local FLASH_SOURCE="${ROOT}/${INSTALL_BASE}32/libflashplayer.so"
+ nspluginwrapper -i "${FLASH_SOURCE}"
+ ABI="${oldabi}"
+ fi
+ elif [[ ! $native_install ]]; then
+ elog "To use the 32-bit flash player in a native 64-bit browser,"
+ elog "you must install www-plugins/nspluginwrapper"
+ fi
+ fi
+}