diff options
author | Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> | 2015-03-26 15:47:19 +0000 |
---|---|---|
committer | Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> | 2015-03-26 15:47:19 +0000 |
commit | c1ac5c9171301f8ea8498d4868e68a9fd0c086ef (patch) | |
tree | 09506b1aea73ff2169ec6434e2a141e9ff44c751 /www-plugins/lightspark | |
parent | stable fixes thx to Thomas D. drop old (diff) | |
download | historical-c1ac5c9171301f8ea8498d4868e68a9fd0c086ef.tar.gz historical-c1ac5c9171301f8ea8498d4868e68a9fd0c086ef.tar.bz2 historical-c1ac5c9171301f8ea8498d4868e68a9fd0c086ef.zip |
New snapshot.
Package-Manager: portage-2.2.14/cvs/Linux x86_64
Manifest-Sign-Key: 0x2324E7B566DF2611!
Diffstat (limited to 'www-plugins/lightspark')
-rw-r--r-- | www-plugins/lightspark/ChangeLog | 10 | ||||
-rw-r--r-- | www-plugins/lightspark/Manifest | 36 | ||||
-rw-r--r-- | www-plugins/lightspark/lightspark-0.7.2_p20150318.ebuild | 113 |
3 files changed, 140 insertions, 19 deletions
diff --git a/www-plugins/lightspark/ChangeLog b/www-plugins/lightspark/ChangeLog index c2eab9fae1d4..7b048abdc06f 100644 --- a/www-plugins/lightspark/ChangeLog +++ b/www-plugins/lightspark/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for www-plugins/lightspark -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-plugins/lightspark/ChangeLog,v 1.55 2014/01/11 10:22:03 mgorny Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-plugins/lightspark/ChangeLog,v 1.56 2015/03/26 15:46:58 chithanh Exp $ + +*lightspark-0.7.2_p20150318 (26 Mar 2015) + + 26 Mar 2015; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> + +lightspark-0.7.2_p20150318.ebuild: + New snapshot. 11 Jan 2014; Michał Górny <mgorny@gentoo.org> lightspark-0.7.2-r1.ebuild: Depend on llvm < 3.4, since 3.4 does not work. diff --git a/www-plugins/lightspark/Manifest b/www-plugins/lightspark/Manifest index 556524c9c337..7914c885512d 100644 --- a/www-plugins/lightspark/Manifest +++ b/www-plugins/lightspark/Manifest @@ -5,27 +5,29 @@ AUX lightspark-0.7.2-ffmpeg20.patch 6379 SHA256 fed424330c029f29fdb1e8f45850e080 AUX lightspark-0.7.2-llvm33.patch 3809 SHA256 66ba3a932f477e42c4171e1fc29ef382215fb8e5cba6e8167f8527d5f1bd15b5 SHA512 dee691cbaab2e26e788f2d94fd5731084400862868a7f0e06e6c1b269a0c1f30d3d814ec20f63612f786b4c57569ba0e5f888194f3d1f5ad80ce8e98299c96e3 WHIRLPOOL ffcbc2d59542d6ecd5d62c408ab3846a6367ecf4371007a47be6de6cda889c64673d8b7fad98e310af19d77f9cb2ce79c960eb3c7ad481231eda25ac06bc3d7d DIST lightspark-0.7.1.tar.gz 920218 SHA256 a6f9ef13ddf3ebd700d4daaeeb4e9497889c18697aeca1ddcb30ac8cdc20e931 SHA512 a8c10782f144cf4b9a39d32ca4c78f441957550f790161671fa52fec686672f22ab977b41c55b5e33d1e65eaa28e78bf48e729ce01f51b56ef24d2d09e62eeae WHIRLPOOL 0842b113070cc679d8e960e558bf4d7562f6796f60b923fc4fe41f3e20f4cb86da0340d8f27543d86c2cf6aefaf1232990c9ef51bcdcb765dc89befee16823cc DIST lightspark-0.7.2.tar.gz 955952 SHA256 70479bac90f3455a5ff6d0aaf6bccaedfbaac3c70bd602680f68ce75eab2dd1b SHA512 90442d92b54bef18c20952aefd4dcd5cab446213cf9c186b340c9c8e0dd3ef28d034e888ca26f5b9ffe93d0cfd6e1a3c696fbd6f561aa21ff909d463abd27d29 WHIRLPOOL 9465424e2d8b46adb5aadc54239b6d58105703c519f5073ffbc3eb7a03dacca68cf64d57864de3c0aefd6d7cd4c3a88b0deb8417917980a8b60fa49397dc0631 +DIST lightspark-0.7.2_p20150318.tar.gz 1039961 SHA256 92e4fa23e9760ebc73efd269a373c7e566eb1550ccf1c7cc7cff58b0d53d048a SHA512 2deb55a9ab7f00d0469b8fd5b053f43155d63c12f4b40bd40d6aa802501b5c7d4d3fe5d442f6ddb67eb1f592d48ccd1490b92e738359e78c162a39eb1605f9a5 WHIRLPOOL 72b471f193ffeba8e2078cad35917eac2d5c8d399cc18a177c1da0a88f85506025f28c86cb22a4dac6dd92feb0a32bc202c60cfe8ca334407f1d1fa6ba2f305f EBUILD lightspark-0.7.1.ebuild 2953 SHA256 50b71455dbd2da0f42d45a29b9c0cce4e99c98d1336bb10e9bccf31f49fef020 SHA512 530f6a7543e448e3f8f313620a55b48d7d2b33b0856bb412b3a2befabb2ee74f2722fc0e760434e5298e542e2a24f74d2b0bee58a26d28b632699dd510db37fd WHIRLPOOL 9be201b8d02b9a35d44f694a804775d5d0fe265692923941fe40b4767a6f263a43382ecb98d12da5a6017901de3b5a97d9092ed9b99c6ac7f74bf4bff402b6df EBUILD lightspark-0.7.2-r1.ebuild 2696 SHA256 9b47a328b0b15123e4a9a5d2eb65c6fb89b5f261e4935169f910550d6dfd01d3 SHA512 6ba5ac437b58466048c5436c84c68203c6d171c7334abca1323a68e872644f75a8037973288a72a1d1143c5796f25eb24a1dc3af63469065b3fd8745ffde9862 WHIRLPOOL 487fba1e23258e2848a6099592e7860121000e1d9a9b52a50beefc2a25b78b826c75f76e00b573bf5cc1ccce0b0b926b803ae62d3366f05204a4129fe4183824 EBUILD lightspark-0.7.2.ebuild 2953 SHA256 718e1c24772211ce1958e45c5f0d92dfd159ad8cff0efbd4790107ac1fb328e0 SHA512 c54187908f76e1c5585250ed7ca2844f6b54371b1fe3abcce860e952f4974fbaef5d2cb90154fa0d850ef3340ddcfaca04b1eb18652e884b7365d18319ea6932 WHIRLPOOL 7c44d852576a9be81ab7998e2709b733e8b2199b59db11b49db4d3bf29ba274d14272c0d046456a90edfbee9f5af65238b42d3faa5a79e750cbdd5cda8e678b6 -MISC ChangeLog 12569 SHA256 5167c73d2de7f35e173f7e0591e6c6955522e5ec3498e9fbc65313fbdae927cc SHA512 8fb1dc44feaf5bdfc391f627669c6d4f454debe9b231e923c6882db6933d6dac0fc45a1ce4cf97496154a8edb89b357abd4bb4a413a77283f1a171fb47427c41 WHIRLPOOL c93d4ccb2b16b054349ac9f9afeba7d1d14d410e18942cbed3c67aee20b00b6624379b7a771ec06668c23230512f908e4f97df90852258fec6bed4e1e93a4d6e +EBUILD lightspark-0.7.2_p20150318.ebuild 3018 SHA256 72eb8da66a90186b757c12ddb6164b1afc89e0122b4605e79fdbfe95cabc4f27 SHA512 d2b9a4df5895627919d9ef94d6b5b4b1da9f76db87ca0248d128fa3a4d02c693cb61e55b330125cf08ea7f2d114014d24e8c0ac16f424b7fd62e30992b2ff4e5 WHIRLPOOL af771332ce9e85937a98a34010999d4eac50a61185b4691667918a850f673b4e912d054c82ef222e83d2eca6f79e960d345018ffd4ee8ebeb04c2f99bc125aac +MISC ChangeLog 12738 SHA256 459494382d917f9346a4855a9ff2350b21c38290678ab4c278f814a8d9f15cd0 SHA512 ab22828762b584ec213426f2f19a13b194bd14c0d4877c7c4529a2fc733292f653194c32164638dcc27fee1738ae26ddf03001b044f5d8036821da631189d78f WHIRLPOOL 34e9828d45c07cbe10b0a87a3f18ff247c5c5792131556352549d9c226ed3e65f5bd9f7e93bcfdd62783f5659b647684b5e92e2ccbf71e8f7c2f575a190b66c7 MISC metadata.xml 416 SHA256 1a4739e3ed47fd391141b1df084195435ad9cc1ac50650eb3b45d1fccb2f87e9 SHA512 d5181074005c87614f42ddfe267092a526acfe8f49b5f621141a026d23c3c7471b5254f0edb0b88af8d8689db8effb819fe08663a904b0984ea9bc2917fc394a WHIRLPOOL 0d2788c7f2af963e5038d71cef665a58b9e49095f90dc7b339c0343974fd40142a1005972a16cfb51fd45b42703b1f2ecbd5c59ba74c6bca60bdf54821d6b8c8 -----BEGIN PGP SIGNATURE----- -Version: Gn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3yYRP9gP/2Zr56TKgtjQlFBHOdKbKqBa +jiseUa6Hu7Ntsw9QQ83Cl9+3Hk1ziUxpIso9YKI6qV8FMKCPmN5x17qM4YsZ3U28 +AmvNMnluI/U6SqEqVZ0617j8zGwBk50Q+3YgcOtcADY3/zjW9fFqnHmmU9+6v4Jb +/a9Z0VC8FS75v0YxH8+pYAnnQFPnB7MyZXomI8MV1+jgjsno7uG61PT8Ia1X1RUH +8VQeWfEK9C8uCqWUKUuybsGVxggTIwtLKrgpYq9tfVJv/hH2hLwdVL9uCR/4yl1g +aBzUiRzxeN34ShRPD/4CUz7et8gX9En/QzvEMYWomS6HJ7kP9Tv8kOGtCCsKco8A +FdH0tMRbPigK/tvU+bqBI++jG3D0lMc1oHWn+CHr0DBZ7bfhBqLVjKRCOrOgmFrd +XqlPXjvMP2sTgVdcHsLLY1EO2RweRqL0r50sTcR2AxzlOiwdRTza6llYEI0dUFX5 +UXlJ3x3e0Z2Ge3n+6Jl48t6okGljuA+IW50PGYjTXPsrL5jARxzia9vX8FOYKKbg +qoxyQMRuSvb5D9thlaAMYgw8dqPIsdhha+rzCPy3oTQug/kpciiHrq2WQ+NHMtfE +hYE57Nh1TJSKKaxdMbKVBfwAnycw8pvStOPiuxBlS3qwxNZoB2F2cbu+iyxXIKiI +tS8bYeY8dnSkSY8m8OwF +=4TNz -----END PGP SIGNATURE----- diff --git a/www-plugins/lightspark/lightspark-0.7.2_p20150318.ebuild b/www-plugins/lightspark/lightspark-0.7.2_p20150318.ebuild new file mode 100644 index 000000000000..dc9057ff404b --- /dev/null +++ b/www-plugins/lightspark/lightspark-0.7.2_p20150318.ebuild @@ -0,0 +1,113 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-plugins/lightspark/lightspark-0.7.2_p20150318.ebuild,v 1.1 2015/03/26 15:46:58 chithanh Exp $ + +EAPI=5 +inherit cmake-utils nsplugins multilib toolchain-funcs + +DESCRIPTION="High performance flash player" +HOMEPAGE="http://lightspark.sourceforge.net/" +SRC_URI="mirror://gentoo/${P}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="curl ffmpeg gles nsplugin profile pulseaudio rtmp sdl" + +RDEPEND=">=dev-cpp/libxmlpp-2.33.1:2.6 + >=dev-libs/boost-1.42 + dev-libs/libpcre[cxx] + media-fonts/liberation-fonts + media-libs/libpng + media-libs/libsdl + >=sys-devel/gcc-4.6.0[cxx] + >=sys-devel/llvm-3.4 + x11-libs/cairo + x11-libs/gtk+:2 + x11-libs/libX11 + x11-libs/pango + curl? ( + net-misc/curl + ) + ffmpeg? ( + virtual/ffmpeg + ) + !gles? ( + >=media-libs/glew-1.5.3 + virtual/opengl + ) + gles? ( + media-libs/mesa[gles2] + ) + pulseaudio? ( + media-sound/pulseaudio + ) + rtmp? ( + media-video/rtmpdump + ) + virtual/jpeg" +DEPEND="${RDEPEND} + amd64? ( dev-lang/nasm ) + x86? ( dev-lang/nasm ) + virtual/pkgconfig" + +S=${WORKDIR}/${P/_rc*/} + +pkg_pretend() { + if [[ ${MERGE_TYPE} != binary ]]; then + if [[ $(gcc-major-version) == 4 && $(gcc-minor-version) -lt 6 || $(gcc-major-version) -lt 4 ]] ; then + eerror "You need at least sys-devel/gcc-4.6.0" + die "You need at least sys-devel/gcc-4.6.0" + fi + fi +} + +src_unpack() { + default + # rename snapshot directory + mv "${WORKDIR}"/${PN}-* "${WORKDIR}"/${P} || die +} + +src_configure() { + local audiobackends + use pulseaudio && audiobackends+="pulse" + use sdl && audiobackends+="sdl" + + local mycmakeargs=( + $(cmake-utils_use curl ENABLE_CURL) + $(cmake-utils_use gles ENABLE_GLES2) + $(cmake-utils_use ffmpeg ENABLE_LIBAVCODEC) + $(cmake-utils_use nsplugin COMPILE_PLUGIN) + $(cmake-utils_use profile ENABLE_MEMORY_USAGE_PROFILING) + $(cmake-utils_use profile ENABLE_PROFILING) + $(cmake-utils_use rtmp ENABLE_RTMP) + -DAUDIO_BACKEND="${audiobackends}" + -DPLUGIN_DIRECTORY="${EPREFIX}"/usr/$(get_libdir)/${PN}/plugins + ) + + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + + use nsplugin && inst_plugin /usr/$(get_libdir)/${PN}/plugins/liblightsparkplugin.so + + # default to sdl audio if pulseaudio plugin is not built, bug #406197 + if use sdl && ! use pulseaudio; then + sed -i 's/backend = pulseaudio/backend = sdl/' "${ED}/etc/xdg/${PN}.conf" || die + fi +} + +pkg_postinst() { + if use nsplugin && ! has_version www-plugins/gnash; then + elog "Lightspark now supports gnash fallback for its browser plugin." + elog "Install www-plugins/gnash to take advantage of it." + fi + if use nsplugin && has_version www-plugins/gnash[nsplugin]; then + elog "Having two plugins installed for the same MIME type may confuse" + elog "Mozilla based browsers. It is recommended to disable the nsplugin" + elog "USE flag for either gnash or lightspark. For details, see" + elog "https://bugzilla.mozilla.org/show_bug.cgi?id=581848" + fi +} |