[gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/
commit: f9d2d7c6ce85916967a26fc68ee0daac7fd42701 Author: Michał Górny gentoo org> AuthorDate: Mon May 29 06:12:53 2023 + Commit: Michał Górny gentoo org> CommitDate: Mon May 29 06:23:15 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9d2d7c6 www-plugins/lightspark: Bump to 0.8.7 Signed-off-by: Michał Górny gentoo.org> www-plugins/lightspark/Manifest| 1 + www-plugins/lightspark/lightspark-0.8.7.ebuild | 100 + 2 files changed, 101 insertions(+) diff --git a/www-plugins/lightspark/Manifest b/www-plugins/lightspark/Manifest index 6be67ba1eca0..4fd489882718 100644 --- a/www-plugins/lightspark/Manifest +++ b/www-plugins/lightspark/Manifest @@ -1 +1,2 @@ DIST lightspark-0.8.6.1.tar.gz 5419194 BLAKE2B dfe56f604c6dd9f9848c1cedffce5bc2a20f51a8b42405f5a38ddbc5c5a1db87e69cba99f5045cd7f60957e46992da8442d95d7ef929bcb806ed5ab0a17f084e SHA512 ea54b3d66acfcb12aac271669d550f6aa1709db59d4bcc005479b7be394a4ca30473a993a780c632228eeaad2977d97cdbcadff5cf8abbbf07503f9d56192f31 +DIST lightspark-0.8.7.tar.gz 5440706 BLAKE2B 53486183672c35a8b8040177ebc738e588c3ea39a316d2dd10fc4868393b0befea5ac9f411cdb87aad608f02df2f04e07b4a7f8a0635c0f6e0dee465469709f4 SHA512 a0207629238054d669710fcb4d6b1904624d4ed8fb19cf822447e55107d6c3596f6e9fb425c14968365a1c8224b7c3a899008428fd69c9714a03a74230e64f2f diff --git a/www-plugins/lightspark/lightspark-0.8.7.ebuild b/www-plugins/lightspark/lightspark-0.8.7.ebuild new file mode 100644 index ..29b4fcc7e999 --- /dev/null +++ b/www-plugins/lightspark/lightspark-0.8.7.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake xdg-utils + +DESCRIPTION="High performance flash player" +HOMEPAGE="https://lightspark.github.io/; +SRC_URI=" + https://github.com/lightspark/lightspark/archive/${PV}.tar.gz + -> ${P}.tar.gz +" +S=${WORKDIR}/${P/_rc*/} + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cpu_flags_x86_sse2 curl ffmpeg gles2-only nsplugin ppapi profile rtmp" + +# Note: no LLVM since it's broken upstream +RDEPEND=" + app-arch/xz-utils:= + dev-libs/glib + dev-libs/libpcre:=[cxx] + media-fonts/liberation-fonts + media-libs/freetype:= + media-libs/libjpeg-turbo:= + media-libs/libpng:= + media-libs/libsdl2 + sys-libs/zlib:= + x11-libs/cairo + x11-libs/libX11 + x11-libs/pango + curl? ( net-misc/curl:= ) + ffmpeg? ( media-video/ffmpeg:= ) + gles2-only? ( media-libs/mesa:=[gles2] ) + !gles2-only? ( + >=media-libs/glew-1.5.3:= + virtual/opengl:0= + ) + rtmp? ( media-video/rtmpdump:= ) +" +DEPEND=" + ${RDEPEND} +" +BDEPEND=" + amd64? ( dev-lang/nasm ) + x86? ( dev-lang/nasm ) + virtual/pkgconfig +" + +src_configure() { + local mycmakeargs=( + -DENABLE_CURL=$(usex curl) + -DENABLE_GLES2=$(usex gles2-only) + -DENABLE_LIBAVCODEC=$(usex ffmpeg) + -DENABLE_RTMP=$(usex rtmp) + + -DENABLE_MEMORY_USAGE_PROFILING=$(usex profile) + -DENABLE_PROFILING=$(usex profile) + -DENABLE_SSE2=$(usex cpu_flags_x86_sse2) + + -DCOMPILE_NPAPI_PLUGIN=$(usex nsplugin) + -DPLUGIN_DIRECTORY="${EPREFIX}"/usr/$(get_libdir)/${PN}/plugins + # TODO: install /etc/chromium file? block adobe-flash? + -DCOMPILE_PPAPI_PLUGIN=$(usex ppapi) + -DPPAPI_PLUGIN_DIRECTORY="${EPREFIX}"/usr/$(get_libdir)/chromium-browser/${PN} + ) + + cmake_src_configure +} + +src_install() { + cmake_src_install + + if use nsplugin; then + # copied from nsplugins.eclass, that's broken in EAPI 7 + dodir /usr/$(get_libdir)/nsbrowser/plugins + dosym ../../lightspark/plugins/liblightsparkplugin.so \ + /usr/$(get_libdir)/nsbrowser/plugins/liblightsparkplugin.so + fi +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update + + 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 +} + +pkg_postrm() { + xdg_icon_cache_update + xdg_desktop_database_update +}
[gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/
commit: 4045622267a99dc8eca3b8dce3f591e9be7b7d95 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Dec 25 22:47:18 2022 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Mon Jan 2 14:02:31 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40456222 www-plugins/lightspark: drop 0.8.5 Signed-off-by: Andreas Sturmlechner gentoo.org> www-plugins/lightspark/Manifest| 1 - www-plugins/lightspark/lightspark-0.8.5.ebuild | 94 -- 2 files changed, 95 deletions(-) diff --git a/www-plugins/lightspark/Manifest b/www-plugins/lightspark/Manifest index e0ac47c0a79a..6be67ba1eca0 100644 --- a/www-plugins/lightspark/Manifest +++ b/www-plugins/lightspark/Manifest @@ -1,2 +1 @@ -DIST lightspark-0.8.5.tar.gz 2490510 BLAKE2B 33966bd811a311ee1cc6c59517f17933c73da926ea40485800076c26eea3ddec29f18f12d1fd8c36f43c932ac56128b483a9dc104f006b3a1805992f0aa4 SHA512 79e78925f9132b2c6044e4abf326d768c8d45509f85d9123e3dd172b2769772567223676fa7c8ea4d08bc541e9aa7a2b2d5a1062ff9f3a6274234af8798ee11b DIST lightspark-0.8.6.1.tar.gz 5419194 BLAKE2B dfe56f604c6dd9f9848c1cedffce5bc2a20f51a8b42405f5a38ddbc5c5a1db87e69cba99f5045cd7f60957e46992da8442d95d7ef929bcb806ed5ab0a17f084e SHA512 ea54b3d66acfcb12aac271669d550f6aa1709db59d4bcc005479b7be394a4ca30473a993a780c632228eeaad2977d97cdbcadff5cf8abbbf07503f9d56192f31 diff --git a/www-plugins/lightspark/lightspark-0.8.5.ebuild b/www-plugins/lightspark/lightspark-0.8.5.ebuild deleted file mode 100644 index dd32cad0dd75.. --- a/www-plugins/lightspark/lightspark-0.8.5.ebuild +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -inherit cmake toolchain-funcs xdg-utils - -DESCRIPTION="High performance flash player" -HOMEPAGE="https://lightspark.github.io/; -SRC_URI=" - https://github.com/lightspark/lightspark/archive/${PV}.tar.gz - -> ${P}.tar.gz" -S=${WORKDIR}/${P/_rc*/} - -LICENSE="LGPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="cpu_flags_x86_sse2 curl ffmpeg gles2-only nsplugin ppapi profile rtmp" - -# Note: no LLVM since it's broken upstream -RDEPEND="app-arch/xz-utils:0= - dev-libs/glib:2= - dev-libs/libpcre:3=[cxx] - media-fonts/liberation-fonts - media-libs/freetype:2= - media-libs/libpng:0= - media-libs/libsdl2:0= - media-libs/sdl2-mixer:0= - sys-libs/zlib:0= - x11-libs/cairo:0= - x11-libs/libX11:0= - x11-libs/pango:0= - virtual/jpeg:0= - curl? ( net-misc/curl:0= ) - ffmpeg? ( media-video/ffmpeg:0= ) - gles2-only? ( media-libs/mesa:0=[gles2] ) - !gles2-only? ( - >=media-libs/glew-1.5.3:0= - virtual/opengl:0= - ) - rtmp? ( media-video/rtmpdump:0= )" -DEPEND="${RDEPEND}" -BDEPEND=" - amd64? ( dev-lang/nasm ) - x86? ( dev-lang/nasm ) - virtual/pkgconfig" - -src_configure() { - local mycmakeargs=( - -DENABLE_CURL=$(usex curl) - -DENABLE_GLES2=$(usex gles2-only) - -DENABLE_LIBAVCODEC=$(usex ffmpeg) - -DENABLE_RTMP=$(usex rtmp) - - -DENABLE_MEMORY_USAGE_PROFILING=$(usex profile) - -DENABLE_PROFILING=$(usex profile) - -DENABLE_SSE2=$(usex cpu_flags_x86_sse2) - - -DCOMPILE_NPAPI_PLUGIN=$(usex nsplugin) - -DPLUGIN_DIRECTORY="${EPREFIX}"/usr/$(get_libdir)/${PN}/plugins - # TODO: install /etc/chromium file? block adobe-flash? - -DCOMPILE_PPAPI_PLUGIN=$(usex ppapi) - -DPPAPI_PLUGIN_DIRECTORY="${EPREFIX}"/usr/$(get_libdir)/chromium-browser/${PN} - ) - - cmake_src_configure -} - -src_install() { - cmake_src_install - - if use nsplugin; then - # copied from nsplugins.eclass, that's broken in EAPI 7 - dodir /usr/$(get_libdir)/nsbrowser/plugins - dosym ../../lightspark/plugins/liblightsparkplugin.so \ - /usr/$(get_libdir)/nsbrowser/plugins/liblightsparkplugin.so - fi -} - -pkg_postinst() { - xdg_icon_cache_update - xdg_desktop_database_update - - 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 -} - -pkg_postrm() { - xdg_icon_cache_update - xdg_desktop_database_update -}
[gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/
commit: b324f6a7a1863993e127863e70512bdbc1dc2a82 Author: Michał Górny gentoo org> AuthorDate: Tue Aug 30 05:42:32 2022 + Commit: Michał Górny gentoo org> CommitDate: Tue Aug 30 05:45:41 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b324f6a7 www-plugins/lightspark: Remove old Signed-off-by: Michał Górny gentoo.org> www-plugins/lightspark/Manifest | 3 - www-plugins/lightspark/lightspark-0.8.2-r1.ebuild | 94 -- www-plugins/lightspark/lightspark-0.8.3.ebuild| 95 --- www-plugins/lightspark/lightspark-0.8.4.ebuild| 94 -- 4 files changed, 286 deletions(-) diff --git a/www-plugins/lightspark/Manifest b/www-plugins/lightspark/Manifest index b72072e3c2ab..e0ac47c0a79a 100644 --- a/www-plugins/lightspark/Manifest +++ b/www-plugins/lightspark/Manifest @@ -1,5 +1,2 @@ -DIST lightspark-0.8.2.tar.gz 1996482 BLAKE2B 09ef5f4bc4e78efe8c8ddb305e0c47091ba5b27c9b3bb2dd782079bc05a4836d43a80b47d1c30eba424b5d43a724502235a60c08451df4c8526b15a32274dbb4 SHA512 0ff636ad59523726232d9c2105843dc9ea835526c300bca7833e6d1a0ebf7630c1d10109143baabc16f95c1c954094603c945b705a6c9fb02f369e94fead034e -DIST lightspark-0.8.3.tar.gz 2374990 BLAKE2B 3053ca1ce8a8c0b7e243d28c038b237647e86f72a0d4e171da338384e4228587aba21f141fe0656ebe8243343284afcd311d7ced22cb09f95538e2f618edfefc SHA512 023d1872577445a857c77908bc2ec83ebfa086bc77161dfd22b53fc0c38eb5d94cd5bb5c5a7508dee2039d3b8479c917dcee089fe551a984ec5525a5ae781997 -DIST lightspark-0.8.4.tar.gz 2412232 BLAKE2B d749713db4dc14a45f57cc75b252e3b70e761d42ab76ab0c23afd4c85bbbd7cc5fea5f3b6e53cbbeccd79214b0e1983d0ab86acc4ed58206b5c4a2371487a40c SHA512 a69a73b6e0c5227bb63e94c15ffaa83df6ed18d400c50fd6f845b455d2b49a1acdc45f1f75c14894492ba5db9e38d1fbbac315359d4b73434832c05873b22091 DIST lightspark-0.8.5.tar.gz 2490510 BLAKE2B 33966bd811a311ee1cc6c59517f17933c73da926ea40485800076c26eea3ddec29f18f12d1fd8c36f43c932ac56128b483a9dc104f006b3a1805992f0aa4 SHA512 79e78925f9132b2c6044e4abf326d768c8d45509f85d9123e3dd172b2769772567223676fa7c8ea4d08bc541e9aa7a2b2d5a1062ff9f3a6274234af8798ee11b DIST lightspark-0.8.6.1.tar.gz 5419194 BLAKE2B dfe56f604c6dd9f9848c1cedffce5bc2a20f51a8b42405f5a38ddbc5c5a1db87e69cba99f5045cd7f60957e46992da8442d95d7ef929bcb806ed5ab0a17f084e SHA512 ea54b3d66acfcb12aac271669d550f6aa1709db59d4bcc005479b7be394a4ca30473a993a780c632228eeaad2977d97cdbcadff5cf8abbbf07503f9d56192f31 diff --git a/www-plugins/lightspark/lightspark-0.8.2-r1.ebuild b/www-plugins/lightspark/lightspark-0.8.2-r1.ebuild deleted file mode 100644 index 1b3a75d3fecc.. --- a/www-plugins/lightspark/lightspark-0.8.2-r1.ebuild +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -inherit cmake toolchain-funcs xdg-utils - -DESCRIPTION="High performance flash player" -HOMEPAGE="https://lightspark.github.io/; -SRC_URI="https://github.com/lightspark/lightspark/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="LGPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="cpu_flags_x86_sse2 curl ffmpeg gles2-only nsplugin ppapi profile rtmp" - -# Note: no LLVM since it's broken upstream -RDEPEND="app-arch/xz-utils:0= - dev-cpp/glibmm:2= - >=dev-libs/boost-1.42:0= - dev-libs/glib:2= - dev-libs/libpcre:3=[cxx] - media-fonts/liberation-fonts - media-libs/freetype:2= - media-libs/libpng:0= - media-libs/libsdl2:0= - media-libs/sdl2-mixer:0= - sys-libs/zlib:0= - x11-libs/cairo:0= - x11-libs/libX11:0= - x11-libs/pango:0= - virtual/jpeg:0= - curl? ( net-misc/curl:0= ) - ffmpeg? ( media-video/ffmpeg:0= ) - gles2-only? ( media-libs/mesa:0=[gles2] ) - !gles2-only? ( - >=media-libs/glew-1.5.3:0= - virtual/opengl:0= - ) - rtmp? ( media-video/rtmpdump:0= )" -DEPEND="${RDEPEND} - amd64? ( dev-lang/nasm ) - x86? ( dev-lang/nasm ) - virtual/pkgconfig" - -S=${WORKDIR}/${P/_rc*/} - -src_configure() { - local mycmakeargs=( - -DENABLE_CURL=$(usex curl) - -DENABLE_GLES2=$(usex gles2-only) - -DENABLE_LIBAVCODEC=$(usex ffmpeg) - -DENABLE_RTMP=$(usex rtmp) - - -DENABLE_MEMORY_USAGE_PROFILING=$(usex profile) - -DENABLE_PROFILING=$(usex profile) - -DENABLE_SSE2=$(usex cpu_flags_x86_sse2) - - -DCOMPILE_NPAPI_PLUGIN=$(usex nsplugin) - -DPLUGIN_DIRECTORY="${EPREFIX}"/usr/$(get_libdir)/${PN}/plugins - # TODO: install /etc/chromium file? block adobe-flash? - -DCOMPILE_PPAPI_PLUGIN=$(usex ppapi) - -DPPAPI_PLUGIN_DIRECTORY="${EPREFIX}"/usr/$(get_libdir)/chromium-browser/${PN} - ) - - cmake_src_configure -} - -src_install() { - cmake_src_install - - if use nsplugin;
[gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/
commit: 392165de958292aac934ec355055a1093d7e656f Author: Michał Górny gentoo org> AuthorDate: Tue Aug 30 05:18:25 2022 + Commit: Michał Górny gentoo org> CommitDate: Tue Aug 30 05:45:34 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=392165de www-plugins/lightspark: Bump to 0.8.6.1 Signed-off-by: Michał Górny gentoo.org> www-plugins/lightspark/Manifest | 1 + www-plugins/lightspark/lightspark-0.8.6.1.ebuild | 101 +++ 2 files changed, 102 insertions(+) diff --git a/www-plugins/lightspark/Manifest b/www-plugins/lightspark/Manifest index 15302b942788..b72072e3c2ab 100644 --- a/www-plugins/lightspark/Manifest +++ b/www-plugins/lightspark/Manifest @@ -2,3 +2,4 @@ DIST lightspark-0.8.2.tar.gz 1996482 BLAKE2B 09ef5f4bc4e78efe8c8ddb305e0c47091ba DIST lightspark-0.8.3.tar.gz 2374990 BLAKE2B 3053ca1ce8a8c0b7e243d28c038b237647e86f72a0d4e171da338384e4228587aba21f141fe0656ebe8243343284afcd311d7ced22cb09f95538e2f618edfefc SHA512 023d1872577445a857c77908bc2ec83ebfa086bc77161dfd22b53fc0c38eb5d94cd5bb5c5a7508dee2039d3b8479c917dcee089fe551a984ec5525a5ae781997 DIST lightspark-0.8.4.tar.gz 2412232 BLAKE2B d749713db4dc14a45f57cc75b252e3b70e761d42ab76ab0c23afd4c85bbbd7cc5fea5f3b6e53cbbeccd79214b0e1983d0ab86acc4ed58206b5c4a2371487a40c SHA512 a69a73b6e0c5227bb63e94c15ffaa83df6ed18d400c50fd6f845b455d2b49a1acdc45f1f75c14894492ba5db9e38d1fbbac315359d4b73434832c05873b22091 DIST lightspark-0.8.5.tar.gz 2490510 BLAKE2B 33966bd811a311ee1cc6c59517f17933c73da926ea40485800076c26eea3ddec29f18f12d1fd8c36f43c932ac56128b483a9dc104f006b3a1805992f0aa4 SHA512 79e78925f9132b2c6044e4abf326d768c8d45509f85d9123e3dd172b2769772567223676fa7c8ea4d08bc541e9aa7a2b2d5a1062ff9f3a6274234af8798ee11b +DIST lightspark-0.8.6.1.tar.gz 5419194 BLAKE2B dfe56f604c6dd9f9848c1cedffce5bc2a20f51a8b42405f5a38ddbc5c5a1db87e69cba99f5045cd7f60957e46992da8442d95d7ef929bcb806ed5ab0a17f084e SHA512 ea54b3d66acfcb12aac271669d550f6aa1709db59d4bcc005479b7be394a4ca30473a993a780c632228eeaad2977d97cdbcadff5cf8abbbf07503f9d56192f31 diff --git a/www-plugins/lightspark/lightspark-0.8.6.1.ebuild b/www-plugins/lightspark/lightspark-0.8.6.1.ebuild new file mode 100644 index ..eae7210c3eae --- /dev/null +++ b/www-plugins/lightspark/lightspark-0.8.6.1.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake xdg-utils + +DESCRIPTION="High performance flash player" +HOMEPAGE="https://lightspark.github.io/; +SRC_URI=" + https://github.com/lightspark/lightspark/archive/${PV}.tar.gz + -> ${P}.tar.gz +" +S=${WORKDIR}/${P/_rc*/} + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cpu_flags_x86_sse2 curl ffmpeg gles2-only nsplugin ppapi profile rtmp" + +# Note: no LLVM since it's broken upstream +RDEPEND=" + app-arch/xz-utils:= + dev-libs/glib + dev-libs/libpcre:=[cxx] + media-fonts/liberation-fonts + media-libs/freetype:= + media-libs/libjpeg-turbo:= + media-libs/libpng:= + media-libs/libsdl2 + media-libs/sdl2-mixer + sys-libs/zlib:= + x11-libs/cairo + x11-libs/libX11 + x11-libs/pango + curl? ( net-misc/curl:= ) + ffmpeg? ( media-video/ffmpeg:= ) + gles2-only? ( media-libs/mesa:=[gles2] ) + !gles2-only? ( + >=media-libs/glew-1.5.3:= + virtual/opengl:0= + ) + rtmp? ( media-video/rtmpdump:= ) +" +DEPEND=" + ${RDEPEND} +" +BDEPEND=" + amd64? ( dev-lang/nasm ) + x86? ( dev-lang/nasm ) + virtual/pkgconfig +" + +src_configure() { + local mycmakeargs=( + -DENABLE_CURL=$(usex curl) + -DENABLE_GLES2=$(usex gles2-only) + -DENABLE_LIBAVCODEC=$(usex ffmpeg) + -DENABLE_RTMP=$(usex rtmp) + + -DENABLE_MEMORY_USAGE_PROFILING=$(usex profile) + -DENABLE_PROFILING=$(usex profile) + -DENABLE_SSE2=$(usex cpu_flags_x86_sse2) + + -DCOMPILE_NPAPI_PLUGIN=$(usex nsplugin) + -DPLUGIN_DIRECTORY="${EPREFIX}"/usr/$(get_libdir)/${PN}/plugins + # TODO: install /etc/chromium file? block adobe-flash? + -DCOMPILE_PPAPI_PLUGIN=$(usex ppapi) + -DPPAPI_PLUGIN_DIRECTORY="${EPREFIX}"/usr/$(get_libdir)/chromium-browser/${PN} + ) + + cmake_src_configure +} + +src_install() { + cmake_src_install + + if use nsplugin; then + # copied from nsplugins.eclass, that's broken in EAPI 7 + dodir /usr/$(get_libdir)/nsbrowser/plugins + dosym ../../lightspark/plugins/liblightsparkplugin.so \ + /usr/$(get_libdir)/nsbrowser/plugins/liblightsparkplugin.so + fi +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update + + if use nsplugin &&
[gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/
commit: 639d6230adb5cf214fa47cc44425d3a5a52a9820 Author: Michał Górny gentoo org> AuthorDate: Sat Jul 3 20:43:51 2021 + Commit: Michał Górny gentoo org> CommitDate: Sat Jul 3 21:46:27 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=639d6230 www-plugins/lightspark: Bump to 0.8.5 Signed-off-by: Michał Górny gentoo.org> www-plugins/lightspark/Manifest| 1 + www-plugins/lightspark/lightspark-0.8.5.ebuild | 94 ++ 2 files changed, 95 insertions(+) diff --git a/www-plugins/lightspark/Manifest b/www-plugins/lightspark/Manifest index 3dbccb74d3a..15302b94278 100644 --- a/www-plugins/lightspark/Manifest +++ b/www-plugins/lightspark/Manifest @@ -1,3 +1,4 @@ DIST lightspark-0.8.2.tar.gz 1996482 BLAKE2B 09ef5f4bc4e78efe8c8ddb305e0c47091ba5b27c9b3bb2dd782079bc05a4836d43a80b47d1c30eba424b5d43a724502235a60c08451df4c8526b15a32274dbb4 SHA512 0ff636ad59523726232d9c2105843dc9ea835526c300bca7833e6d1a0ebf7630c1d10109143baabc16f95c1c954094603c945b705a6c9fb02f369e94fead034e DIST lightspark-0.8.3.tar.gz 2374990 BLAKE2B 3053ca1ce8a8c0b7e243d28c038b237647e86f72a0d4e171da338384e4228587aba21f141fe0656ebe8243343284afcd311d7ced22cb09f95538e2f618edfefc SHA512 023d1872577445a857c77908bc2ec83ebfa086bc77161dfd22b53fc0c38eb5d94cd5bb5c5a7508dee2039d3b8479c917dcee089fe551a984ec5525a5ae781997 DIST lightspark-0.8.4.tar.gz 2412232 BLAKE2B d749713db4dc14a45f57cc75b252e3b70e761d42ab76ab0c23afd4c85bbbd7cc5fea5f3b6e53cbbeccd79214b0e1983d0ab86acc4ed58206b5c4a2371487a40c SHA512 a69a73b6e0c5227bb63e94c15ffaa83df6ed18d400c50fd6f845b455d2b49a1acdc45f1f75c14894492ba5db9e38d1fbbac315359d4b73434832c05873b22091 +DIST lightspark-0.8.5.tar.gz 2490510 BLAKE2B 33966bd811a311ee1cc6c59517f17933c73da926ea40485800076c26eea3ddec29f18f12d1fd8c36f43c932ac56128b483a9dc104f006b3a1805992f0aa4 SHA512 79e78925f9132b2c6044e4abf326d768c8d45509f85d9123e3dd172b2769772567223676fa7c8ea4d08bc541e9aa7a2b2d5a1062ff9f3a6274234af8798ee11b diff --git a/www-plugins/lightspark/lightspark-0.8.5.ebuild b/www-plugins/lightspark/lightspark-0.8.5.ebuild new file mode 100644 index 000..dd32cad0dd7 --- /dev/null +++ b/www-plugins/lightspark/lightspark-0.8.5.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit cmake toolchain-funcs xdg-utils + +DESCRIPTION="High performance flash player" +HOMEPAGE="https://lightspark.github.io/; +SRC_URI=" + https://github.com/lightspark/lightspark/archive/${PV}.tar.gz + -> ${P}.tar.gz" +S=${WORKDIR}/${P/_rc*/} + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cpu_flags_x86_sse2 curl ffmpeg gles2-only nsplugin ppapi profile rtmp" + +# Note: no LLVM since it's broken upstream +RDEPEND="app-arch/xz-utils:0= + dev-libs/glib:2= + dev-libs/libpcre:3=[cxx] + media-fonts/liberation-fonts + media-libs/freetype:2= + media-libs/libpng:0= + media-libs/libsdl2:0= + media-libs/sdl2-mixer:0= + sys-libs/zlib:0= + x11-libs/cairo:0= + x11-libs/libX11:0= + x11-libs/pango:0= + virtual/jpeg:0= + curl? ( net-misc/curl:0= ) + ffmpeg? ( media-video/ffmpeg:0= ) + gles2-only? ( media-libs/mesa:0=[gles2] ) + !gles2-only? ( + >=media-libs/glew-1.5.3:0= + virtual/opengl:0= + ) + rtmp? ( media-video/rtmpdump:0= )" +DEPEND="${RDEPEND}" +BDEPEND=" + amd64? ( dev-lang/nasm ) + x86? ( dev-lang/nasm ) + virtual/pkgconfig" + +src_configure() { + local mycmakeargs=( + -DENABLE_CURL=$(usex curl) + -DENABLE_GLES2=$(usex gles2-only) + -DENABLE_LIBAVCODEC=$(usex ffmpeg) + -DENABLE_RTMP=$(usex rtmp) + + -DENABLE_MEMORY_USAGE_PROFILING=$(usex profile) + -DENABLE_PROFILING=$(usex profile) + -DENABLE_SSE2=$(usex cpu_flags_x86_sse2) + + -DCOMPILE_NPAPI_PLUGIN=$(usex nsplugin) + -DPLUGIN_DIRECTORY="${EPREFIX}"/usr/$(get_libdir)/${PN}/plugins + # TODO: install /etc/chromium file? block adobe-flash? + -DCOMPILE_PPAPI_PLUGIN=$(usex ppapi) + -DPPAPI_PLUGIN_DIRECTORY="${EPREFIX}"/usr/$(get_libdir)/chromium-browser/${PN} + ) + + cmake_src_configure +} + +src_install() { + cmake_src_install + + if use nsplugin; then + # copied from nsplugins.eclass, that's broken in EAPI 7 + dodir /usr/$(get_libdir)/nsbrowser/plugins + dosym ../../lightspark/plugins/liblightsparkplugin.so \ + /usr/$(get_libdir)/nsbrowser/plugins/liblightsparkplugin.so + fi +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update + + if use nsplugin && has_version "www-plugins/gnash[nsplugin]"; then + elog "Having two plugins
[gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/
commit: e223ff01606526401001c3e9c49cd0cd75729b77 Author: Michał Górny gentoo org> AuthorDate: Mon Feb 8 09:06:45 2021 + Commit: Michał Górny gentoo org> CommitDate: Mon Feb 8 15:07:42 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e223ff01 www-plugins/lightspark: Bump to 0.8.4 Signed-off-by: Michał Górny gentoo.org> www-plugins/lightspark/Manifest| 1 + www-plugins/lightspark/lightspark-0.8.4.ebuild | 94 ++ 2 files changed, 95 insertions(+) diff --git a/www-plugins/lightspark/Manifest b/www-plugins/lightspark/Manifest index 87aea30efec..3dbccb74d3a 100644 --- a/www-plugins/lightspark/Manifest +++ b/www-plugins/lightspark/Manifest @@ -1,2 +1,3 @@ DIST lightspark-0.8.2.tar.gz 1996482 BLAKE2B 09ef5f4bc4e78efe8c8ddb305e0c47091ba5b27c9b3bb2dd782079bc05a4836d43a80b47d1c30eba424b5d43a724502235a60c08451df4c8526b15a32274dbb4 SHA512 0ff636ad59523726232d9c2105843dc9ea835526c300bca7833e6d1a0ebf7630c1d10109143baabc16f95c1c954094603c945b705a6c9fb02f369e94fead034e DIST lightspark-0.8.3.tar.gz 2374990 BLAKE2B 3053ca1ce8a8c0b7e243d28c038b237647e86f72a0d4e171da338384e4228587aba21f141fe0656ebe8243343284afcd311d7ced22cb09f95538e2f618edfefc SHA512 023d1872577445a857c77908bc2ec83ebfa086bc77161dfd22b53fc0c38eb5d94cd5bb5c5a7508dee2039d3b8479c917dcee089fe551a984ec5525a5ae781997 +DIST lightspark-0.8.4.tar.gz 2412232 BLAKE2B d749713db4dc14a45f57cc75b252e3b70e761d42ab76ab0c23afd4c85bbbd7cc5fea5f3b6e53cbbeccd79214b0e1983d0ab86acc4ed58206b5c4a2371487a40c SHA512 a69a73b6e0c5227bb63e94c15ffaa83df6ed18d400c50fd6f845b455d2b49a1acdc45f1f75c14894492ba5db9e38d1fbbac315359d4b73434832c05873b22091 diff --git a/www-plugins/lightspark/lightspark-0.8.4.ebuild b/www-plugins/lightspark/lightspark-0.8.4.ebuild new file mode 100644 index 000..1093cd42029 --- /dev/null +++ b/www-plugins/lightspark/lightspark-0.8.4.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit cmake toolchain-funcs xdg-utils + +DESCRIPTION="High performance flash player" +HOMEPAGE="https://lightspark.github.io/; +SRC_URI=" + https://github.com/lightspark/lightspark/archive/${PV}.tar.gz + -> ${P}.tar.gz" +S=${WORKDIR}/${P/_rc*/} + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cpu_flags_x86_sse2 curl ffmpeg gles2-only nsplugin ppapi profile rtmp" + +# Note: no LLVM since it's broken upstream +RDEPEND="app-arch/xz-utils:0= + dev-libs/glib:2= + dev-libs/libpcre:3=[cxx] + media-fonts/liberation-fonts + media-libs/freetype:2= + media-libs/libpng:0= + media-libs/libsdl2:0= + media-libs/sdl2-mixer:0= + sys-libs/zlib:0= + x11-libs/cairo:0= + x11-libs/libX11:0= + x11-libs/pango:0= + virtual/jpeg:0= + curl? ( net-misc/curl:0= ) + ffmpeg? ( media-video/ffmpeg:0= ) + gles2-only? ( media-libs/mesa:0=[gles2] ) + !gles2-only? ( + >=media-libs/glew-1.5.3:0= + virtual/opengl:0= + ) + rtmp? ( media-video/rtmpdump:0= )" +DEPEND="${RDEPEND}" +BDEPEND=" + amd64? ( dev-lang/nasm ) + x86? ( dev-lang/nasm ) + virtual/pkgconfig" + +src_configure() { + local mycmakeargs=( + -DENABLE_CURL=$(usex curl) + -DENABLE_GLES2=$(usex gles2-only) + -DENABLE_LIBAVCODEC=$(usex ffmpeg) + -DENABLE_RTMP=$(usex rtmp) + + -DENABLE_MEMORY_USAGE_PROFILING=$(usex profile) + -DENABLE_PROFILING=$(usex profile) + -DENABLE_SSE2=$(usex cpu_flags_x86_sse2) + + -DCOMPILE_NPAPI_PLUGIN=$(usex nsplugin) + -DPLUGIN_DIRECTORY="${EPREFIX}"/usr/$(get_libdir)/${PN}/plugins + # TODO: install /etc/chromium file? block adobe-flash? + -DCOMPILE_PPAPI_PLUGIN=$(usex ppapi) + -DPPAPI_PLUGIN_DIRECTORY="${EPREFIX}"/usr/$(get_libdir)/chromium-browser/${PN} + ) + + cmake_src_configure +} + +src_install() { + cmake_src_install + + if use nsplugin; then + # copied from nsplugins.eclass, that's broken in EAPI 7 + dodir /usr/$(get_libdir)/nsbrowser/plugins + dosym ../../lightspark/plugins/liblightsparkplugin.so \ + /usr/$(get_libdir)/nsbrowser/plugins/liblightsparkplugin.so + fi +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update + + 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 +} +
[gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/
commit: aa2b516233037d8d53378c7fcf537d870b667c73 Author: Michał Górny gentoo org> AuthorDate: Sat Dec 26 08:36:48 2020 + Commit: Michał Górny gentoo org> CommitDate: Sat Dec 26 08:37:01 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa2b5162 www-plugins/lightspark: Bump to 0.8.3 Closes: https://bugs.gentoo.org/730912 Signed-off-by: Michał Górny gentoo.org> www-plugins/lightspark/Manifest| 1 + www-plugins/lightspark/lightspark-0.8.3.ebuild | 95 ++ 2 files changed, 96 insertions(+) diff --git a/www-plugins/lightspark/Manifest b/www-plugins/lightspark/Manifest index 98a9bc51bbe..87aea30efec 100644 --- a/www-plugins/lightspark/Manifest +++ b/www-plugins/lightspark/Manifest @@ -1 +1,2 @@ DIST lightspark-0.8.2.tar.gz 1996482 BLAKE2B 09ef5f4bc4e78efe8c8ddb305e0c47091ba5b27c9b3bb2dd782079bc05a4836d43a80b47d1c30eba424b5d43a724502235a60c08451df4c8526b15a32274dbb4 SHA512 0ff636ad59523726232d9c2105843dc9ea835526c300bca7833e6d1a0ebf7630c1d10109143baabc16f95c1c954094603c945b705a6c9fb02f369e94fead034e +DIST lightspark-0.8.3.tar.gz 2374990 BLAKE2B 3053ca1ce8a8c0b7e243d28c038b237647e86f72a0d4e171da338384e4228587aba21f141fe0656ebe8243343284afcd311d7ced22cb09f95538e2f618edfefc SHA512 023d1872577445a857c77908bc2ec83ebfa086bc77161dfd22b53fc0c38eb5d94cd5bb5c5a7508dee2039d3b8479c917dcee089fe551a984ec5525a5ae781997 diff --git a/www-plugins/lightspark/lightspark-0.8.3.ebuild b/www-plugins/lightspark/lightspark-0.8.3.ebuild new file mode 100644 index 000..fb319cbbb5a --- /dev/null +++ b/www-plugins/lightspark/lightspark-0.8.3.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit cmake toolchain-funcs xdg-utils + +DESCRIPTION="High performance flash player" +HOMEPAGE="https://lightspark.github.io/; +SRC_URI=" + https://github.com/lightspark/lightspark/archive/${PV}.tar.gz + -> ${P}.tar.gz" +S=${WORKDIR}/${P/_rc*/} + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cpu_flags_x86_sse2 curl ffmpeg gles2-only nsplugin ppapi profile rtmp" + +# Note: no LLVM since it's broken upstream +RDEPEND="app-arch/xz-utils:0= + dev-cpp/glibmm:2= + dev-libs/glib:2= + dev-libs/libpcre:3=[cxx] + media-fonts/liberation-fonts + media-libs/freetype:2= + media-libs/libpng:0= + media-libs/libsdl2:0= + media-libs/sdl2-mixer:0= + sys-libs/zlib:0= + x11-libs/cairo:0= + x11-libs/libX11:0= + x11-libs/pango:0= + virtual/jpeg:0= + curl? ( net-misc/curl:0= ) + ffmpeg? ( media-video/ffmpeg:0= ) + gles2-only? ( media-libs/mesa:0=[gles2] ) + !gles2-only? ( + >=media-libs/glew-1.5.3:0= + virtual/opengl:0= + ) + rtmp? ( media-video/rtmpdump:0= )" +DEPEND="${RDEPEND}" +BDEPEND=" + amd64? ( dev-lang/nasm ) + x86? ( dev-lang/nasm ) + virtual/pkgconfig" + +src_configure() { + local mycmakeargs=( + -DENABLE_CURL=$(usex curl) + -DENABLE_GLES2=$(usex gles2-only) + -DENABLE_LIBAVCODEC=$(usex ffmpeg) + -DENABLE_RTMP=$(usex rtmp) + + -DENABLE_MEMORY_USAGE_PROFILING=$(usex profile) + -DENABLE_PROFILING=$(usex profile) + -DENABLE_SSE2=$(usex cpu_flags_x86_sse2) + + -DCOMPILE_NPAPI_PLUGIN=$(usex nsplugin) + -DPLUGIN_DIRECTORY="${EPREFIX}"/usr/$(get_libdir)/${PN}/plugins + # TODO: install /etc/chromium file? block adobe-flash? + -DCOMPILE_PPAPI_PLUGIN=$(usex ppapi) + -DPPAPI_PLUGIN_DIRECTORY="${EPREFIX}"/usr/$(get_libdir)/chromium-browser/${PN} + ) + + cmake_src_configure +} + +src_install() { + cmake_src_install + + if use nsplugin; then + # copied from nsplugins.eclass, that's broken in EAPI 7 + dodir /usr/$(get_libdir)/nsbrowser/plugins + dosym ../../lightspark/plugins/liblightsparkplugin.so \ + /usr/$(get_libdir)/nsbrowser/plugins/liblightsparkplugin.so + fi +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update + + 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 +} + +pkg_postrm() { + xdg_icon_cache_update + xdg_desktop_database_update +}
[gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/
commit: 9586e04ab574f0392a26d93171eddcc21d260dd7 Author: Michał Górny gentoo org> AuthorDate: Mon Jun 8 08:50:38 2020 + Commit: Michał Górny gentoo org> CommitDate: Mon Jun 8 08:56:18 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9586e04a www-plugins/lightspark: Port to cmake.eclass Signed-off-by: Michał Górny gentoo.org> www-plugins/lightspark/lightspark-0.8.2-r1.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/www-plugins/lightspark/lightspark-0.8.2-r1.ebuild b/www-plugins/lightspark/lightspark-0.8.2-r1.ebuild index 40f32dbcac3..1b3a75d3fec 100644 --- a/www-plugins/lightspark/lightspark-0.8.2-r1.ebuild +++ b/www-plugins/lightspark/lightspark-0.8.2-r1.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit cmake-utils toolchain-funcs xdg-utils +inherit cmake toolchain-funcs xdg-utils DESCRIPTION="High performance flash player" HOMEPAGE="https://lightspark.github.io/; @@ -62,11 +62,11 @@ src_configure() { -DPPAPI_PLUGIN_DIRECTORY="${EPREFIX}"/usr/$(get_libdir)/chromium-browser/${PN} ) - cmake-utils_src_configure + cmake_src_configure } src_install() { - cmake-utils_src_install + cmake_src_install if use nsplugin; then # copied from nsplugins.eclass, that's broken in EAPI 7
[gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/
commit: 5ad3654cd6e6b8554a8082d7f7349aaf7a691e01 Author: Mikle Kolyada gentoo org> AuthorDate: Sun Apr 26 07:31:14 2020 + Commit: Mikle Kolyada gentoo org> CommitDate: Sun Apr 26 07:31:14 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ad3654c www-plugins/lightspark: migrate from libav Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Mikle Kolyada gentoo.org> www-plugins/lightspark/lightspark-0.8.2-r1.ebuild | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/www-plugins/lightspark/lightspark-0.8.2-r1.ebuild b/www-plugins/lightspark/lightspark-0.8.2-r1.ebuild index 65979256be2..40f32dbcac3 100644 --- a/www-plugins/lightspark/lightspark-0.8.2-r1.ebuild +++ b/www-plugins/lightspark/lightspark-0.8.2-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/lightspark/lightspark/archive/${PV}.tar.gz -> ${P}.t LICENSE="LGPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="cpu_flags_x86_sse2 curl ffmpeg gles2-only libav nsplugin ppapi profile rtmp" +IUSE="cpu_flags_x86_sse2 curl ffmpeg gles2-only nsplugin ppapi profile rtmp" # Note: no LLVM since it's broken upstream RDEPEND="app-arch/xz-utils:0= @@ -30,10 +30,7 @@ RDEPEND="app-arch/xz-utils:0= x11-libs/pango:0= virtual/jpeg:0= curl? ( net-misc/curl:0= ) - ffmpeg? ( - libav? ( =media-libs/glew-1.5.3:0=
[gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/
commit: c5dfa8892490bb50ce25ced7d27e81cb52cb2d95 Author: Haelwenn (lanodan) Monnier hacktivis me> AuthorDate: Sat Nov 23 10:15:02 2019 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Fri Apr 3 14:56:44 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5dfa889 www-plugins/lightspark: rename USE=gles to USE=gles2-only Signed-off-by: Haelwenn (lanodan) Monnier hacktivis.me> Signed-off-by: Andreas Sturmlechner gentoo.org> .../{lightspark-0.8.2.ebuild => lightspark-0.8.2-r1.ebuild} | 8 www-plugins/lightspark/metadata.xml | 1 - 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/www-plugins/lightspark/lightspark-0.8.2.ebuild b/www-plugins/lightspark/lightspark-0.8.2-r1.ebuild similarity index 93% rename from www-plugins/lightspark/lightspark-0.8.2.ebuild rename to www-plugins/lightspark/lightspark-0.8.2-r1.ebuild index 4c87950ba8f..65979256be2 100644 --- a/www-plugins/lightspark/lightspark-0.8.2.ebuild +++ b/www-plugins/lightspark/lightspark-0.8.2-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/lightspark/lightspark/archive/${PV}.tar.gz -> ${P}.t LICENSE="LGPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="cpu_flags_x86_sse2 curl ffmpeg gles libav nsplugin ppapi profile rtmp" +IUSE="cpu_flags_x86_sse2 curl ffmpeg gles2-only libav nsplugin ppapi profile rtmp" # Note: no LLVM since it's broken upstream RDEPEND="app-arch/xz-utils:0= @@ -34,8 +34,8 @@ RDEPEND="app-arch/xz-utils:0= libav? ( =media-libs/glew-1.5.3:0= virtual/opengl:0= ) @@ -50,7 +50,7 @@ S=${WORKDIR}/${P/_rc*/} src_configure() { local mycmakeargs=( -DENABLE_CURL=$(usex curl) - -DENABLE_GLES2=$(usex gles) + -DENABLE_GLES2=$(usex gles2-only) -DENABLE_LIBAVCODEC=$(usex ffmpeg) -DENABLE_RTMP=$(usex rtmp) diff --git a/www-plugins/lightspark/metadata.xml b/www-plugins/lightspark/metadata.xml index a6132373a42..8a5ac269401 100644 --- a/www-plugins/lightspark/metadata.xml +++ b/www-plugins/lightspark/metadata.xml @@ -10,7 +10,6 @@ Michał Górny - Replace default OpenGL renderer with GLESv2 Install the PPAPI plugin (for Chromium) Enable Real Time Messaging Protocol using librtmp
[gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/
commit: ed7f86859c676fc5ab9ca3188b628e32dcacc2d0 Author: Michał Górny gentoo org> AuthorDate: Fri Jan 3 16:57:32 2020 + Commit: Michał Górny gentoo org> CommitDate: Fri Jan 3 20:39:50 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed7f8685 www-plugins/lightspark: Use HTTPS Signed-off-by: Michał Górny gentoo.org> www-plugins/lightspark/lightspark-0.8.2.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www-plugins/lightspark/lightspark-0.8.2.ebuild b/www-plugins/lightspark/lightspark-0.8.2.ebuild index a844f48a701..4c87950ba8f 100644 --- a/www-plugins/lightspark/lightspark-0.8.2.ebuild +++ b/www-plugins/lightspark/lightspark-0.8.2.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 inherit cmake-utils toolchain-funcs xdg-utils DESCRIPTION="High performance flash player" -HOMEPAGE="http://lightspark.github.io/; +HOMEPAGE="https://lightspark.github.io/; SRC_URI="https://github.com/lightspark/lightspark/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="LGPL-3"
[gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/
commit: 1e02c55a89667ee2cefbc5538b69fa144427e2cc Author: Michał Górny gentoo org> AuthorDate: Sun Dec 8 11:21:32 2019 + Commit: Michał Górny gentoo org> CommitDate: Mon Dec 9 19:20:33 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e02c55a www-plugins/lightspark: Remove old (for llvm:6) Signed-off-by: Michał Górny gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/13916 Signed-off-by: Michał Górny gentoo.org> www-plugins/lightspark/Manifest| 1 - www-plugins/lightspark/lightspark-0.8.1.ebuild | 99 -- 2 files changed, 100 deletions(-) diff --git a/www-plugins/lightspark/Manifest b/www-plugins/lightspark/Manifest index 402d8381463..98a9bc51bbe 100644 --- a/www-plugins/lightspark/Manifest +++ b/www-plugins/lightspark/Manifest @@ -1,2 +1 @@ -DIST lightspark-0.8.1.tar.gz 1899466 BLAKE2B d057deccc8ee03f16bfd384c9aee94ee70b7f6674bb0d46c2965f27868a2177c2985f791801975aab1608b4e59d9d40a51e327ec4b00e60eb6714f610b4c319f SHA512 ee9f02e4aa160d8e68cab743eddce5f4f5de0bb78f5daaaf69890b442701dc42094a59433cef136f6dc85e6fbce989bc8ff7ce8ad1ed1929c8501b13e24f2646 DIST lightspark-0.8.2.tar.gz 1996482 BLAKE2B 09ef5f4bc4e78efe8c8ddb305e0c47091ba5b27c9b3bb2dd782079bc05a4836d43a80b47d1c30eba424b5d43a724502235a60c08451df4c8526b15a32274dbb4 SHA512 0ff636ad59523726232d9c2105843dc9ea835526c300bca7833e6d1a0ebf7630c1d10109143baabc16f95c1c954094603c945b705a6c9fb02f369e94fead034e diff --git a/www-plugins/lightspark/lightspark-0.8.1.ebuild b/www-plugins/lightspark/lightspark-0.8.1.ebuild deleted file mode 100644 index 490141311ef..000 --- a/www-plugins/lightspark/lightspark-0.8.1.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit cmake-utils gnome2-utils llvm nsplugins toolchain-funcs xdg-utils - -EGIT_COMMIT="f6ed8284810ad91c277ed5d0835b215e7329450e" -DESCRIPTION="High performance flash player" -HOMEPAGE="http://lightspark.github.io/; -SRC_URI="https://github.com/lightspark/lightspark/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="LGPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="cpu_flags_x86_sse2 curl ffmpeg gles libav nsplugin ppapi profile rtmp" - -RDEPEND="app-arch/xz-utils:0= - dev-cpp/glibmm:2= - >=dev-libs/boost-1.42:0= - dev-libs/glib:2= - dev-libs/libpcre:3=[cxx] - media-fonts/liberation-fonts - media-libs/freetype:2= - media-libs/libpng:0= - media-libs/libsdl2:0= - media-libs/sdl2-mixer:0= - =media-libs/glew-1.5.3:0= - virtual/opengl:0= - ) - rtmp? ( media-video/rtmpdump:0= )" -DEPEND="${RDEPEND} - amd64? ( dev-lang/nasm ) - x86? ( dev-lang/nasm ) - virtual/pkgconfig" - -S=${WORKDIR}/${P/_rc*/} - -LLVM_MAX_SLOT=6 - -src_configure() { - local mycmakeargs=( - -DENABLE_CURL=$(usex curl) - -DENABLE_GLES2=$(usex gles) - -DENABLE_LIBAVCODEC=$(usex ffmpeg) - -DENABLE_RTMP=$(usex rtmp) - - -DENABLE_MEMORY_USAGE_PROFILING=$(usex profile) - -DENABLE_PROFILING=$(usex profile) - -DENABLE_SSE2=$(usex cpu_flags_x86_sse2) - - -DCOMPILE_NPAPI_PLUGIN=$(usex nsplugin) - -DPLUGIN_DIRECTORY="${EPREFIX}"/usr/$(get_libdir)/${PN}/plugins - # TODO: install /etc/chromium file? block adobe-flash? - -DCOMPILE_PPAPI_PLUGIN=$(usex ppapi) - -DPPAPI_PLUGIN_DIRECTORY="${EPREFIX}"/usr/$(get_libdir)/chromium-browser/${PN} - ) - - cmake-utils_src_configure -} - -src_install() { - cmake-utils_src_install - - use nsplugin && inst_plugin /usr/$(get_libdir)/${PN}/plugins/liblightsparkplugin.so -} - -pkg_postinst() { - gnome2_icon_cache_update - xdg_desktop_database_update - - 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 -} - -pkg_postrm() { - gnome2_icon_cache_update - xdg_desktop_database_update -}
[gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/
commit: 5b2c18b449531c2c51b4b21570acc94ffc7073ea Author: Michał Górny gentoo org> AuthorDate: Sun Dec 8 10:36:36 2019 + Commit: Michał Górny gentoo org> CommitDate: Sun Dec 8 11:11:33 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b2c18b4 www-plugins/lightspark: Remove unmaintained - Signed-off-by: Michał Górny gentoo.org> www-plugins/lightspark/lightspark-.ebuild | 97 --- 1 file changed, 97 deletions(-) diff --git a/www-plugins/lightspark/lightspark-.ebuild b/www-plugins/lightspark/lightspark-.ebuild deleted file mode 100644 index e85c7575af9..000 --- a/www-plugins/lightspark/lightspark-.ebuild +++ /dev/null @@ -1,97 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit cmake-utils git-r3 gnome2-utils nsplugins toolchain-funcs xdg-utils - -DESCRIPTION="High performance flash player" -HOMEPAGE="http://lightspark.github.io/; -SRC_URI="" -EGIT_REPO_URI="https://github.com/lightspark/lightspark; - -LICENSE="LGPL-3" -SLOT="0" -KEYWORDS="" -IUSE="cpu_flags_x86_sse2 curl ffmpeg gles libav nsplugin ppapi profile rtmp" - -RDEPEND="app-arch/xz-utils:0= - dev-cpp/glibmm:2= - >=dev-libs/boost-1.42:0= - dev-libs/glib:2= - dev-libs/libpcre:3=[cxx] - media-fonts/liberation-fonts - media-libs/freetype:2= - media-libs/libpng:0= - media-libs/libsdl2:0= - media-libs/sdl2-mixer:0= - >=sys-devel/llvm-3.4:= - sys-libs/zlib:0= - x11-libs/cairo:0= - x11-libs/libX11:0= - x11-libs/pango:0= - virtual/jpeg:0= - curl? ( net-misc/curl:0= ) - ffmpeg? ( - libav? ( media-video/libav:0= ) - !libav? ( media-video/ffmpeg:0= ) - ) - gles? ( media-libs/mesa:0=[gles2] ) - !gles? ( - >=media-libs/glew-1.5.3:0= - virtual/opengl:0= - ) - rtmp? ( media-video/rtmpdump:0= )" -DEPEND="${RDEPEND} - amd64? ( dev-lang/nasm ) - x86? ( dev-lang/nasm ) - virtual/pkgconfig" - -S=${WORKDIR}/${P/_rc*/} - -src_configure() { - local mycmakeargs=( - -DENABLE_CURL=$(usex curl) - -DENABLE_GLES2=$(usex gles) - -DENABLE_LIBAVCODEC=$(usex ffmpeg) - -DENABLE_RTMP=$(usex rtmp) - - -DENABLE_MEMORY_USAGE_PROFILING=$(usex profile) - -DENABLE_PROFILING=$(usex profile) - -DENABLE_SSE2=$(usex cpu_flags_x86_sse2) - - -DCOMPILE_NPAPI_PLUGIN=$(usex nsplugin) - -DPLUGIN_DIRECTORY="${EPREFIX}"/usr/$(get_libdir)/${PN}/plugins - # TODO: install /etc/chromium file? block adobe-flash? - -DCOMPILE_PPAPI_PLUGIN=$(usex ppapi) - -DPPAPI_PLUGIN_DIRECTORY="${EPREFIX}"/usr/$(get_libdir)/chromium-browser/${PN} - ) - - cmake-utils_src_configure -} - -src_install() { - cmake-utils_src_install - - use nsplugin && inst_plugin /usr/$(get_libdir)/${PN}/plugins/liblightsparkplugin.so -} - -pkg_postinst() { - gnome2_icon_cache_update - xdg_desktop_database_update - - 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 -} - -pkg_postrm() { - gnome2_icon_cache_update - xdg_desktop_database_update -}
[gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/
commit: 411652c688ed7a342cbb19302e641f3f6afd8ca9 Author: Michał Górny gentoo org> AuthorDate: Sun Dec 8 10:36:15 2019 + Commit: Michał Górny gentoo org> CommitDate: Sun Dec 8 11:11:32 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=411652c6 www-plugins/lightspark: Bump to 0.8.2 Closes: https://bugs.gentoo.org/695404 Signed-off-by: Michał Górny gentoo.org> www-plugins/lightspark/Manifest| 1 + www-plugins/lightspark/lightspark-0.8.2.ebuild | 97 ++ 2 files changed, 98 insertions(+) diff --git a/www-plugins/lightspark/Manifest b/www-plugins/lightspark/Manifest index 0a5f1694be5..402d8381463 100644 --- a/www-plugins/lightspark/Manifest +++ b/www-plugins/lightspark/Manifest @@ -1 +1,2 @@ DIST lightspark-0.8.1.tar.gz 1899466 BLAKE2B d057deccc8ee03f16bfd384c9aee94ee70b7f6674bb0d46c2965f27868a2177c2985f791801975aab1608b4e59d9d40a51e327ec4b00e60eb6714f610b4c319f SHA512 ee9f02e4aa160d8e68cab743eddce5f4f5de0bb78f5daaaf69890b442701dc42094a59433cef136f6dc85e6fbce989bc8ff7ce8ad1ed1929c8501b13e24f2646 +DIST lightspark-0.8.2.tar.gz 1996482 BLAKE2B 09ef5f4bc4e78efe8c8ddb305e0c47091ba5b27c9b3bb2dd782079bc05a4836d43a80b47d1c30eba424b5d43a724502235a60c08451df4c8526b15a32274dbb4 SHA512 0ff636ad59523726232d9c2105843dc9ea835526c300bca7833e6d1a0ebf7630c1d10109143baabc16f95c1c954094603c945b705a6c9fb02f369e94fead034e diff --git a/www-plugins/lightspark/lightspark-0.8.2.ebuild b/www-plugins/lightspark/lightspark-0.8.2.ebuild new file mode 100644 index 000..a844f48a701 --- /dev/null +++ b/www-plugins/lightspark/lightspark-0.8.2.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit cmake-utils toolchain-funcs xdg-utils + +DESCRIPTION="High performance flash player" +HOMEPAGE="http://lightspark.github.io/; +SRC_URI="https://github.com/lightspark/lightspark/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cpu_flags_x86_sse2 curl ffmpeg gles libav nsplugin ppapi profile rtmp" + +# Note: no LLVM since it's broken upstream +RDEPEND="app-arch/xz-utils:0= + dev-cpp/glibmm:2= + >=dev-libs/boost-1.42:0= + dev-libs/glib:2= + dev-libs/libpcre:3=[cxx] + media-fonts/liberation-fonts + media-libs/freetype:2= + media-libs/libpng:0= + media-libs/libsdl2:0= + media-libs/sdl2-mixer:0= + sys-libs/zlib:0= + x11-libs/cairo:0= + x11-libs/libX11:0= + x11-libs/pango:0= + virtual/jpeg:0= + curl? ( net-misc/curl:0= ) + ffmpeg? ( + libav? ( =media-libs/glew-1.5.3:0= + virtual/opengl:0= + ) + rtmp? ( media-video/rtmpdump:0= )" +DEPEND="${RDEPEND} + amd64? ( dev-lang/nasm ) + x86? ( dev-lang/nasm ) + virtual/pkgconfig" + +S=${WORKDIR}/${P/_rc*/} + +src_configure() { + local mycmakeargs=( + -DENABLE_CURL=$(usex curl) + -DENABLE_GLES2=$(usex gles) + -DENABLE_LIBAVCODEC=$(usex ffmpeg) + -DENABLE_RTMP=$(usex rtmp) + + -DENABLE_MEMORY_USAGE_PROFILING=$(usex profile) + -DENABLE_PROFILING=$(usex profile) + -DENABLE_SSE2=$(usex cpu_flags_x86_sse2) + + -DCOMPILE_NPAPI_PLUGIN=$(usex nsplugin) + -DPLUGIN_DIRECTORY="${EPREFIX}"/usr/$(get_libdir)/${PN}/plugins + # TODO: install /etc/chromium file? block adobe-flash? + -DCOMPILE_PPAPI_PLUGIN=$(usex ppapi) + -DPPAPI_PLUGIN_DIRECTORY="${EPREFIX}"/usr/$(get_libdir)/chromium-browser/${PN} + ) + + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + + if use nsplugin; then + # copied from nsplugins.eclass, that's broken in EAPI 7 + dodir /usr/$(get_libdir)/nsbrowser/plugins + dosym ../../lightspark/plugins/liblightsparkplugin.so \ + /usr/$(get_libdir)/nsbrowser/plugins/liblightsparkplugin.so + fi +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update + + 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 +} + +pkg_postrm() { + xdg_icon_cache_update + xdg_desktop_database_update +}
[gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/
commit: 0e32ffdb0178f395581a64f678c8e29fad1ef9ca Author: Michał Górny gentoo org> AuthorDate: Sun Sep 23 18:59:03 2018 + Commit: Michał Górny gentoo org> CommitDate: Sun Sep 23 19:07:58 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e32ffdb www-plugins/lightspark: 0.8.1 requires LLVM < 7 Closes: https://bugs.gentoo.org/666834 Signed-off-by: Michał Górny gentoo.org> www-plugins/lightspark/lightspark-0.8.1.ebuild | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/www-plugins/lightspark/lightspark-0.8.1.ebuild b/www-plugins/lightspark/lightspark-0.8.1.ebuild index 6106645e322..02f432a5544 100644 --- a/www-plugins/lightspark/lightspark-0.8.1.ebuild +++ b/www-plugins/lightspark/lightspark-0.8.1.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=6 -inherit cmake-utils gnome2-utils nsplugins toolchain-funcs xdg-utils +inherit cmake-utils gnome2-utils llvm nsplugins toolchain-funcs xdg-utils EGIT_COMMIT="f6ed8284810ad91c277ed5d0835b215e7329450e" DESCRIPTION="High performance flash player" @@ -24,7 +24,7 @@ RDEPEND="app-arch/xz-utils:0= media-libs/libpng:0= media-libs/libsdl2:0= media-libs/sdl2-mixer:0= - >=sys-devel/llvm-3.4:= +
[gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/
commit: af1ebf3b210aa7887c5978383f279d8e5f274f62 Author: Michał Górny gentoo org> AuthorDate: Sun Sep 23 19:02:04 2018 + Commit: Michał Górny gentoo org> CommitDate: Sun Sep 23 19:07:59 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af1ebf3b www-plugins/lightspark: 0.8.1 builds fine with ffmpeg-4 Bug: https://bugs.gentoo.org/654332 Signed-off-by: Michał Górny gentoo.org> www-plugins/lightspark/lightspark-0.8.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www-plugins/lightspark/lightspark-0.8.1.ebuild b/www-plugins/lightspark/lightspark-0.8.1.ebuild index 02f432a5544..490141311ef 100644 --- a/www-plugins/lightspark/lightspark-0.8.1.ebuild +++ b/www-plugins/lightspark/lightspark-0.8.1.ebuild @@ -33,7 +33,7 @@ RDEPEND="app-arch/xz-utils:0= curl? ( net-misc/curl:0= ) ffmpeg? ( libav? (
[gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/
commit: 82a0cf9bdea6b30a70068eabd996ad7b575adda6 Author: Michał Górny gentoo org> AuthorDate: Thu Sep 6 20:56:08 2018 + Commit: Michał Górny gentoo org> CommitDate: Thu Sep 6 21:22:31 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82a0cf9b www-plugins/lightspark: Clean old up www-plugins/lightspark/Manifest| 1 - .../lightspark/lightspark-0.8.0_p20180401.ebuild | 97 -- 2 files changed, 98 deletions(-) diff --git a/www-plugins/lightspark/Manifest b/www-plugins/lightspark/Manifest index 67f0d0f0528..0a5f1694be5 100644 --- a/www-plugins/lightspark/Manifest +++ b/www-plugins/lightspark/Manifest @@ -1,2 +1 @@ DIST lightspark-0.8.1.tar.gz 1899466 BLAKE2B d057deccc8ee03f16bfd384c9aee94ee70b7f6674bb0d46c2965f27868a2177c2985f791801975aab1608b4e59d9d40a51e327ec4b00e60eb6714f610b4c319f SHA512 ee9f02e4aa160d8e68cab743eddce5f4f5de0bb78f5daaaf69890b442701dc42094a59433cef136f6dc85e6fbce989bc8ff7ce8ad1ed1929c8501b13e24f2646 -DIST lightspark-f6ed8284810ad91c277ed5d0835b215e7329450e.tar.gz 1880249 BLAKE2B 031dc48f40956fcfb5a8b0fd825da8a2a0dba6daa4646296a385d5f90f13027d44cbb09562f6bf57b8d5d415a278fa06974624aee42e14b75892c36798dceda0 SHA512 a75ebf5e666daec0f244285bfd1029feb6fcfa2aeba800f175bb07bc148d39e76435d77868c964b2e149019b763498990bf0db25ba632cf21b91ad0958412332 diff --git a/www-plugins/lightspark/lightspark-0.8.0_p20180401.ebuild b/www-plugins/lightspark/lightspark-0.8.0_p20180401.ebuild deleted file mode 100644 index eb9a35fde59..000 --- a/www-plugins/lightspark/lightspark-0.8.0_p20180401.ebuild +++ /dev/null @@ -1,97 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit cmake-utils gnome2-utils nsplugins toolchain-funcs xdg-utils - -EGIT_COMMIT="f6ed8284810ad91c277ed5d0835b215e7329450e" -DESCRIPTION="High performance flash player" -HOMEPAGE="http://lightspark.github.io/; -SRC_URI="https://github.com/lightspark/lightspark/archive/${EGIT_COMMIT}.tar.gz -> ${PN}-${EGIT_COMMIT}.tar.gz" - -LICENSE="LGPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="cpu_flags_x86_sse2 curl ffmpeg gles libav nsplugin ppapi profile rtmp" - -RDEPEND="app-arch/xz-utils:0= - dev-cpp/glibmm:2= - >=dev-libs/boost-1.42:0= - dev-libs/glib:2= - dev-libs/libpcre:3=[cxx] - media-fonts/liberation-fonts - media-libs/freetype:2= - media-libs/libpng:0= - media-libs/libsdl2:0= - media-libs/sdl2-mixer:0= - >=sys-devel/llvm-3.4:= - sys-libs/zlib:0= - x11-libs/cairo:0= - x11-libs/libX11:0= - x11-libs/pango:0= - virtual/jpeg:0= - curl? ( net-misc/curl:0= ) - ffmpeg? ( - libav? ( media-video/libav:0= ) - !libav? ( media-video/ffmpeg:0= ) - ) - gles? ( media-libs/mesa:0=[gles2] ) - !gles? ( - >=media-libs/glew-1.5.3:0= - virtual/opengl:0= - ) - rtmp? ( media-video/rtmpdump:0= )" -DEPEND="${RDEPEND} - amd64? ( dev-lang/nasm ) - x86? ( dev-lang/nasm ) - virtual/pkgconfig" - -S=${WORKDIR}/${PN}-${EGIT_COMMIT} - -src_configure() { - local mycmakeargs=( - -DENABLE_CURL=$(usex curl) - -DENABLE_GLES2=$(usex gles) - -DENABLE_LIBAVCODEC=$(usex ffmpeg) - -DENABLE_RTMP=$(usex rtmp) - - -DENABLE_MEMORY_USAGE_PROFILING=$(usex profile) - -DENABLE_PROFILING=$(usex profile) - -DENABLE_SSE2=$(usex cpu_flags_x86_sse2) - - -DCOMPILE_NPAPI_PLUGIN=$(usex nsplugin) - -DPLUGIN_DIRECTORY="${EPREFIX}"/usr/$(get_libdir)/${PN}/plugins - # TODO: install /etc/chromium file? block adobe-flash? - -DCOMPILE_PPAPI_PLUGIN=$(usex ppapi) - -DPPAPI_PLUGIN_DIRECTORY="${EPREFIX}"/usr/$(get_libdir)/chromium-browser/${PN} - ) - - cmake-utils_src_configure -} - -src_install() { - cmake-utils_src_install - - use nsplugin && inst_plugin /usr/$(get_libdir)/${PN}/plugins/liblightsparkplugin.so -} - -pkg_postinst() { - gnome2_icon_cache_update - xdg_desktop_database_update - - 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 -} - -pkg_postrm() { - gnome2_icon_cache_update -
[gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/
commit: bab2d2b7a8dad2b107cb48fe83027e859c2e1caa Author: Chí-Thanh Christopher Nguyễn gentoo org> AuthorDate: Wed Aug 29 00:40:49 2018 + Commit: Chí-Thanh Christopher Nguyễn gentoo org> CommitDate: Wed Aug 29 00:40:49 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bab2d2b7 www-plugins/lightspark: version bump to 0.8.1 Also prevent building against incompatible ffmpeg/libav versions Bug: https://bugs.gentoo.org/654332 Closes: https://bugs.gentoo.org/657788 Package-Manager: Portage-2.3.40, Repoman-2.3.9 www-plugins/lightspark/Manifest| 1 + www-plugins/lightspark/lightspark-0.8.1.ebuild | 97 ++ 2 files changed, 98 insertions(+) diff --git a/www-plugins/lightspark/Manifest b/www-plugins/lightspark/Manifest index 579cbb8a401..67f0d0f0528 100644 --- a/www-plugins/lightspark/Manifest +++ b/www-plugins/lightspark/Manifest @@ -1 +1,2 @@ +DIST lightspark-0.8.1.tar.gz 1899466 BLAKE2B d057deccc8ee03f16bfd384c9aee94ee70b7f6674bb0d46c2965f27868a2177c2985f791801975aab1608b4e59d9d40a51e327ec4b00e60eb6714f610b4c319f SHA512 ee9f02e4aa160d8e68cab743eddce5f4f5de0bb78f5daaaf69890b442701dc42094a59433cef136f6dc85e6fbce989bc8ff7ce8ad1ed1929c8501b13e24f2646 DIST lightspark-f6ed8284810ad91c277ed5d0835b215e7329450e.tar.gz 1880249 BLAKE2B 031dc48f40956fcfb5a8b0fd825da8a2a0dba6daa4646296a385d5f90f13027d44cbb09562f6bf57b8d5d415a278fa06974624aee42e14b75892c36798dceda0 SHA512 a75ebf5e666daec0f244285bfd1029feb6fcfa2aeba800f175bb07bc148d39e76435d77868c964b2e149019b763498990bf0db25ba632cf21b91ad0958412332 diff --git a/www-plugins/lightspark/lightspark-0.8.1.ebuild b/www-plugins/lightspark/lightspark-0.8.1.ebuild new file mode 100644 index 000..6106645e322 --- /dev/null +++ b/www-plugins/lightspark/lightspark-0.8.1.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit cmake-utils gnome2-utils nsplugins toolchain-funcs xdg-utils + +EGIT_COMMIT="f6ed8284810ad91c277ed5d0835b215e7329450e" +DESCRIPTION="High performance flash player" +HOMEPAGE="http://lightspark.github.io/; +SRC_URI="https://github.com/lightspark/lightspark/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cpu_flags_x86_sse2 curl ffmpeg gles libav nsplugin ppapi profile rtmp" + +RDEPEND="app-arch/xz-utils:0= + dev-cpp/glibmm:2= + >=dev-libs/boost-1.42:0= + dev-libs/glib:2= + dev-libs/libpcre:3=[cxx] + media-fonts/liberation-fonts + media-libs/freetype:2= + media-libs/libpng:0= + media-libs/libsdl2:0= + media-libs/sdl2-mixer:0= + >=sys-devel/llvm-3.4:= + sys-libs/zlib:0= + x11-libs/cairo:0= + x11-libs/libX11:0= + x11-libs/pango:0= + virtual/jpeg:0= + curl? ( net-misc/curl:0= ) + ffmpeg? ( + libav? ( =media-libs/glew-1.5.3:0= + virtual/opengl:0= + ) + rtmp? ( media-video/rtmpdump:0= )" +DEPEND="${RDEPEND} + amd64? ( dev-lang/nasm ) + x86? ( dev-lang/nasm ) + virtual/pkgconfig" + +S=${WORKDIR}/${P/_rc*/} + +src_configure() { + local mycmakeargs=( + -DENABLE_CURL=$(usex curl) + -DENABLE_GLES2=$(usex gles) + -DENABLE_LIBAVCODEC=$(usex ffmpeg) + -DENABLE_RTMP=$(usex rtmp) + + -DENABLE_MEMORY_USAGE_PROFILING=$(usex profile) + -DENABLE_PROFILING=$(usex profile) + -DENABLE_SSE2=$(usex cpu_flags_x86_sse2) + + -DCOMPILE_NPAPI_PLUGIN=$(usex nsplugin) + -DPLUGIN_DIRECTORY="${EPREFIX}"/usr/$(get_libdir)/${PN}/plugins + # TODO: install /etc/chromium file? block adobe-flash? + -DCOMPILE_PPAPI_PLUGIN=$(usex ppapi) + -DPPAPI_PLUGIN_DIRECTORY="${EPREFIX}"/usr/$(get_libdir)/chromium-browser/${PN} + ) + + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + + use nsplugin && inst_plugin /usr/$(get_libdir)/${PN}/plugins/liblightsparkplugin.so +} + +pkg_postinst() { + gnome2_icon_cache_update + xdg_desktop_database_update + + 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 +} + +pkg_postrm() { + gnome2_icon_cache_update + xdg_desktop_database_update
[gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/files/, www-plugins/lightspark/
commit: 8d5b3a8f09ac1ef68121a7b126f6c89b29bacdeb Author: Michał Górny gentoo org> AuthorDate: Thu Apr 5 18:52:27 2018 + Commit: Michał Górny gentoo org> CommitDate: Wed Apr 11 16:19:45 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d5b3a8f www-plugins/lightspark: Drop old (requiring LLVM < 4) www-plugins/lightspark/Manifest| 2 - .../files/lightspark-0.8.0-ffmpeg-free.patch | 31 --- .../lightspark/lightspark-0.7.2_p20160107.ebuild | 102 www-plugins/lightspark/lightspark-0.8.0.ebuild | 103 - 4 files changed, 238 deletions(-) diff --git a/www-plugins/lightspark/Manifest b/www-plugins/lightspark/Manifest index d4255c1bae1..579cbb8a401 100644 --- a/www-plugins/lightspark/Manifest +++ b/www-plugins/lightspark/Manifest @@ -1,3 +1 @@ -DIST lightspark-0.7.2_p20160107.tar.gz 1803064 BLAKE2B 95b7522ed5e8c757e6b6de7251dbdd862a3094fd2779d9c49e049ef3518b65ef9747be304e1a6ce2ff1ca8f5ccbfc98516f9d614666c4a37c0fe147d18fcba2d SHA512 937352c8d428579a9ac89a45724db2beb624eba874da59d684e07d9d306305d85937f4b2e692c56750a1b5e6ca485e05d9997409d3bc934fab209124cd471601 -DIST lightspark-0.8.0.tar.gz 1830071 BLAKE2B 5fe10d3795cdaedc88ffbc6479957c863440b8400fb4d90bc06a302730343c95e24898e115e4c59f0962cce952ccd51c0a21141091cc0e57cfb6635c1c868619 SHA512 333de501caf5f5ed9c8581cfda5bf1e6e04170c90f1c2f6150c9c2343f9de20e140a041d066f693e406d24fa24e7a5c3464675a583f4a5c104f5214ebee072b9 DIST lightspark-f6ed8284810ad91c277ed5d0835b215e7329450e.tar.gz 1880249 BLAKE2B 031dc48f40956fcfb5a8b0fd825da8a2a0dba6daa4646296a385d5f90f13027d44cbb09562f6bf57b8d5d415a278fa06974624aee42e14b75892c36798dceda0 SHA512 a75ebf5e666daec0f244285bfd1029feb6fcfa2aeba800f175bb07bc148d39e76435d77868c964b2e149019b763498990bf0db25ba632cf21b91ad0958412332 diff --git a/www-plugins/lightspark/files/lightspark-0.8.0-ffmpeg-free.patch b/www-plugins/lightspark/files/lightspark-0.8.0-ffmpeg-free.patch deleted file mode 100644 index 76566e6be79..000 --- a/www-plugins/lightspark/files/lightspark-0.8.0-ffmpeg-free.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 22a85a13a5c3ded942ef59522ad399eb5d9a58d9 Mon Sep 17 00:00:00 2001 -From: Mikhail Vorobyov-Date: Tue, 18 Jul 2017 23:46:37 +0300 -Subject: [PATCH] Add NullVideoDecoder::switchCodec - -Add VideoDecoder::switchCodec implementation to NullVideoDecoder to fix -ffmpeg-free build. - src/backends/decoder.h | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/src/backends/decoder.h b/src/backends/decoder.h -index 069543d0..f53288bd 100644 a/src/backends/decoder.h -+++ b/src/backends/decoder.h -@@ -140,6 +140,7 @@ class NullVideoDecoder: public VideoDecoder - public: - NullVideoDecoder() {status=VALID;} - ~NullVideoDecoder() { while(fenceCount); } -+ void switchCodec(LS_VIDEO_CODEC codecId, uint8_t* initdata, uint32_t datalen, double frameRateHint){}; - bool decodeData(uint8_t* data, uint32_t datalen, uint32_t time){return false;} - bool discardFrame(){return false;} - void skipUntil(uint32_t time){} -@@ -305,6 +306,7 @@ class NullAudioDecoder: public AudioDecoder - sampleRate=44100; - channelCount=2; - } -+ void switchCodec(LS_AUDIO_CODEC codecId, uint8_t* initdata, uint32_t datalen){}; - uint32_t decodeData(uint8_t* data, int32_t datalen, uint32_t time){return 0;} - }; - diff --git a/www-plugins/lightspark/lightspark-0.7.2_p20160107.ebuild b/www-plugins/lightspark/lightspark-0.7.2_p20160107.ebuild deleted file mode 100644 index 9e297057383..000 --- a/www-plugins/lightspark/lightspark-0.7.2_p20160107.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit cmake-utils nsplugins vcs-snapshot toolchain-funcs - -DESCRIPTION="High performance flash player" -HOMEPAGE="http://lightspark.github.io/; -SRC_URI="https://github.com/lightspark/lightspark/archive/308241eb55c5379765033e60f28dfdd956c7abcd.tar.gz -> ${P}.tar.gz" - -LICENSE="LGPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="cpu_flags_x86_sse2 curl ffmpeg gles libav nsplugin ppapi profile rtmp" - -# Note: code-wise llvm-4.0 is fine but due to CMake bug it can't work: -# https://gitlab.kitware.com/cmake/cmake/issues/16606 -RDEPEND="app-arch/xz-utils:0= - dev-cpp/glibmm:2= - >=dev-libs/boost-1.42:0= - dev-libs/glib:2= - dev-libs/libpcre:3=[cxx] - media-fonts/liberation-fonts - media-libs/freetype:2= - media-libs/libpng:0= - media-libs/libsdl2:0= - media-libs/sdl2-mixer:0= - >=sys-devel/gcc-4.6.0:*[cxx] - =sys-devel/llvm-3.4:0= - sys-libs/zlib:0= - x11-libs/cairo:0= - x11-libs/gtk+:2= - x11-libs/libX11:0= - x11-libs/pango:0= - virtual/jpeg:0= - curl? ( net-misc/curl:0= ) - ffmpeg? (
[gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/
commit: 68142863df8e34602e3c8d9f00a2e95358d0f65b Author: Michał Górny gentoo org> AuthorDate: Thu Apr 5 18:15:47 2018 + Commit: Michał Górny gentoo org> CommitDate: Thu Apr 5 18:51:06 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68142863 www-plugins/lightspark: GTK+2 dep removed in - www-plugins/lightspark/lightspark-.ebuild | 1 - 1 file changed, 1 deletion(-) diff --git a/www-plugins/lightspark/lightspark-.ebuild b/www-plugins/lightspark/lightspark-.ebuild index cd423dd63ad..bfec3b32acd 100644 --- a/www-plugins/lightspark/lightspark-.ebuild +++ b/www-plugins/lightspark/lightspark-.ebuild @@ -28,7 +28,6 @@ RDEPEND="app-arch/xz-utils:0= >=sys-devel/llvm-3.4:= sys-libs/zlib:0= x11-libs/cairo:0= - x11-libs/gtk+:2= x11-libs/libX11:0= x11-libs/pango:0= virtual/jpeg:0=
[gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/
commit: 4ac9ca6e96bb387040407e5e399a33e03cede188 Author: Michał Górny gentoo org> AuthorDate: Thu Apr 5 18:14:28 2018 + Commit: Michał Górny gentoo org> CommitDate: Thu Apr 5 18:51:05 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ac9ca6e www-plugins/lightspark: new LLVM versions work in - www-plugins/lightspark/lightspark-.ebuild | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/www-plugins/lightspark/lightspark-.ebuild b/www-plugins/lightspark/lightspark-.ebuild index 435e878ed31..cd423dd63ad 100644 --- a/www-plugins/lightspark/lightspark-.ebuild +++ b/www-plugins/lightspark/lightspark-.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -14,8 +14,6 @@ SLOT="0" KEYWORDS="" IUSE="cpu_flags_x86_sse2 curl ffmpeg gles libav nsplugin ppapi profile rtmp" -# Note: code-wise llvm-4.0 is fine but due to CMake bug it can't work: -# https://gitlab.kitware.com/cmake/cmake/issues/16606 RDEPEND="app-arch/xz-utils:0= dev-cpp/glibmm:2= >=dev-libs/boost-1.42:0= @@ -27,7 +25,7 @@ RDEPEND="app-arch/xz-utils:0= media-libs/libsdl2:0= media-libs/sdl2-mixer:0= >=sys-devel/gcc-4.6.0:*[cxx] - >=sys-devel/llvm-3.4:0= + >=sys-devel/llvm-3.4:= sys-libs/zlib:0= x11-libs/cairo:0= x11-libs/gtk+:2=
[gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/
commit: ad63babf63ff665ed97420d9645b3b775a53371c Author: Michał Górny gentoo org> AuthorDate: Thu Apr 5 18:18:19 2018 + Commit: Michał Górny gentoo org> CommitDate: Thu Apr 5 18:51:07 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad63babf www-plugins/lightspark: Add missing cache updates to - www-plugins/lightspark/lightspark-.ebuild | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/www-plugins/lightspark/lightspark-.ebuild b/www-plugins/lightspark/lightspark-.ebuild index 09a12ccd261..e85c7575af9 100644 --- a/www-plugins/lightspark/lightspark-.ebuild +++ b/www-plugins/lightspark/lightspark-.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=6 -inherit cmake-utils git-r3 nsplugins toolchain-funcs +inherit cmake-utils git-r3 gnome2-utils nsplugins toolchain-funcs xdg-utils DESCRIPTION="High performance flash player" HOMEPAGE="http://lightspark.github.io/; @@ -76,6 +76,9 @@ src_install() { } pkg_postinst() { + gnome2_icon_cache_update + xdg_desktop_database_update + 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." @@ -87,3 +90,8 @@ pkg_postinst() { elog "https://bugzilla.mozilla.org/show_bug.cgi?id=581848; fi } + +pkg_postrm() { + gnome2_icon_cache_update + xdg_desktop_database_update +}
[gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/
commit: 871b2b5e44d274d5e4d798522910a235f413ca51 Author: Michał Górny gentoo org> AuthorDate: Thu Apr 5 18:25:28 2018 + Commit: Michał Górny gentoo org> CommitDate: Thu Apr 5 18:51:07 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=871b2b5e www-plugins/lightspark: Bump to 0.8.0_p20180401 snapshot Closes: https://bugs.gentoo.org/652074 www-plugins/lightspark/Manifest| 1 + .../lightspark/lightspark-0.8.0_p20180401.ebuild | 97 ++ 2 files changed, 98 insertions(+) diff --git a/www-plugins/lightspark/Manifest b/www-plugins/lightspark/Manifest index 1a819324fc5..d4255c1bae1 100644 --- a/www-plugins/lightspark/Manifest +++ b/www-plugins/lightspark/Manifest @@ -1,2 +1,3 @@ DIST lightspark-0.7.2_p20160107.tar.gz 1803064 BLAKE2B 95b7522ed5e8c757e6b6de7251dbdd862a3094fd2779d9c49e049ef3518b65ef9747be304e1a6ce2ff1ca8f5ccbfc98516f9d614666c4a37c0fe147d18fcba2d SHA512 937352c8d428579a9ac89a45724db2beb624eba874da59d684e07d9d306305d85937f4b2e692c56750a1b5e6ca485e05d9997409d3bc934fab209124cd471601 DIST lightspark-0.8.0.tar.gz 1830071 BLAKE2B 5fe10d3795cdaedc88ffbc6479957c863440b8400fb4d90bc06a302730343c95e24898e115e4c59f0962cce952ccd51c0a21141091cc0e57cfb6635c1c868619 SHA512 333de501caf5f5ed9c8581cfda5bf1e6e04170c90f1c2f6150c9c2343f9de20e140a041d066f693e406d24fa24e7a5c3464675a583f4a5c104f5214ebee072b9 +DIST lightspark-f6ed8284810ad91c277ed5d0835b215e7329450e.tar.gz 1880249 BLAKE2B 031dc48f40956fcfb5a8b0fd825da8a2a0dba6daa4646296a385d5f90f13027d44cbb09562f6bf57b8d5d415a278fa06974624aee42e14b75892c36798dceda0 SHA512 a75ebf5e666daec0f244285bfd1029feb6fcfa2aeba800f175bb07bc148d39e76435d77868c964b2e149019b763498990bf0db25ba632cf21b91ad0958412332 diff --git a/www-plugins/lightspark/lightspark-0.8.0_p20180401.ebuild b/www-plugins/lightspark/lightspark-0.8.0_p20180401.ebuild new file mode 100644 index 000..eb9a35fde59 --- /dev/null +++ b/www-plugins/lightspark/lightspark-0.8.0_p20180401.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit cmake-utils gnome2-utils nsplugins toolchain-funcs xdg-utils + +EGIT_COMMIT="f6ed8284810ad91c277ed5d0835b215e7329450e" +DESCRIPTION="High performance flash player" +HOMEPAGE="http://lightspark.github.io/; +SRC_URI="https://github.com/lightspark/lightspark/archive/${EGIT_COMMIT}.tar.gz -> ${PN}-${EGIT_COMMIT}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cpu_flags_x86_sse2 curl ffmpeg gles libav nsplugin ppapi profile rtmp" + +RDEPEND="app-arch/xz-utils:0= + dev-cpp/glibmm:2= + >=dev-libs/boost-1.42:0= + dev-libs/glib:2= + dev-libs/libpcre:3=[cxx] + media-fonts/liberation-fonts + media-libs/freetype:2= + media-libs/libpng:0= + media-libs/libsdl2:0= + media-libs/sdl2-mixer:0= + >=sys-devel/llvm-3.4:= + sys-libs/zlib:0= + x11-libs/cairo:0= + x11-libs/libX11:0= + x11-libs/pango:0= + virtual/jpeg:0= + curl? ( net-misc/curl:0= ) + ffmpeg? ( + libav? ( media-video/libav:0= ) + !libav? ( media-video/ffmpeg:0= ) + ) + gles? ( media-libs/mesa:0=[gles2] ) + !gles? ( + >=media-libs/glew-1.5.3:0= + virtual/opengl:0= + ) + rtmp? ( media-video/rtmpdump:0= )" +DEPEND="${RDEPEND} + amd64? ( dev-lang/nasm ) + x86? ( dev-lang/nasm ) + virtual/pkgconfig" + +S=${WORKDIR}/${PN}-${EGIT_COMMIT} + +src_configure() { + local mycmakeargs=( + -DENABLE_CURL=$(usex curl) + -DENABLE_GLES2=$(usex gles) + -DENABLE_LIBAVCODEC=$(usex ffmpeg) + -DENABLE_RTMP=$(usex rtmp) + + -DENABLE_MEMORY_USAGE_PROFILING=$(usex profile) + -DENABLE_PROFILING=$(usex profile) + -DENABLE_SSE2=$(usex cpu_flags_x86_sse2) + + -DCOMPILE_NPAPI_PLUGIN=$(usex nsplugin) + -DPLUGIN_DIRECTORY="${EPREFIX}"/usr/$(get_libdir)/${PN}/plugins + # TODO: install /etc/chromium file? block adobe-flash? + -DCOMPILE_PPAPI_PLUGIN=$(usex ppapi) + -DPPAPI_PLUGIN_DIRECTORY="${EPREFIX}"/usr/$(get_libdir)/chromium-browser/${PN} + ) + + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + + use nsplugin && inst_plugin /usr/$(get_libdir)/${PN}/plugins/liblightsparkplugin.so +} + +pkg_postinst() { + gnome2_icon_cache_update + xdg_desktop_database_update + + 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
[gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/
commit: 7602f895c9669f6d7fa94dd5764b0ee4924c0c79 Author: Michał Górny gentoo org> AuthorDate: Thu Apr 5 18:16:35 2018 + Commit: Michał Górny gentoo org> CommitDate: Thu Apr 5 18:51:06 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7602f895 www-plugins/lightspark: Remove test for ancient GCC in - www-plugins/lightspark/lightspark-.ebuild | 10 -- 1 file changed, 10 deletions(-) diff --git a/www-plugins/lightspark/lightspark-.ebuild b/www-plugins/lightspark/lightspark-.ebuild index bfec3b32acd..09a12ccd261 100644 --- a/www-plugins/lightspark/lightspark-.ebuild +++ b/www-plugins/lightspark/lightspark-.ebuild @@ -24,7 +24,6 @@ RDEPEND="app-arch/xz-utils:0= media-libs/libpng:0= media-libs/libsdl2:0= media-libs/sdl2-mixer:0= - >=sys-devel/gcc-4.6.0:*[cxx] >=sys-devel/llvm-3.4:= sys-libs/zlib:0= x11-libs/cairo:0= @@ -49,15 +48,6 @@ DEPEND="${RDEPEND} S=${WORKDIR}/${P/_rc*/} -pkg_pretend() { - if [[ ${MERGE_TYPE} != binary ]]; then - if tc-is-gcc && [[ $(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_configure() { local mycmakeargs=( -DENABLE_CURL=$(usex curl)
[gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/files/, www-plugins/lightspark/
commit: aa2763887266bfe7e5dfe447f8833050d2745a27 Author: Chí-Thanh Christopher Nguyễn gentoo org> AuthorDate: Thu Jul 20 08:45:37 2017 + Commit: Chí-Thanh Christopher Nguyễn gentoo org> CommitDate: Thu Jul 20 08:45:37 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa276388 www-plugins/lightspark: add upstream patch to fix ffmpeg-free build Bug: https://bugs.gentoo.org/show_bug.cgi?id=607492 Package-Manager: Portage-2.3.6, Repoman-2.3.1 .../files/lightspark-0.8.0-ffmpeg-free.patch | 31 ++ www-plugins/lightspark/lightspark-0.8.0.ebuild | 2 ++ 2 files changed, 33 insertions(+) diff --git a/www-plugins/lightspark/files/lightspark-0.8.0-ffmpeg-free.patch b/www-plugins/lightspark/files/lightspark-0.8.0-ffmpeg-free.patch new file mode 100644 index 000..76566e6be79 --- /dev/null +++ b/www-plugins/lightspark/files/lightspark-0.8.0-ffmpeg-free.patch @@ -0,0 +1,31 @@ +From 22a85a13a5c3ded942ef59522ad399eb5d9a58d9 Mon Sep 17 00:00:00 2001 +From: Mikhail Vorobyov+Date: Tue, 18 Jul 2017 23:46:37 +0300 +Subject: [PATCH] Add NullVideoDecoder::switchCodec + +Add VideoDecoder::switchCodec implementation to NullVideoDecoder to fix +ffmpeg-free build. +--- + src/backends/decoder.h | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/backends/decoder.h b/src/backends/decoder.h +index 069543d0..f53288bd 100644 +--- a/src/backends/decoder.h b/src/backends/decoder.h +@@ -140,6 +140,7 @@ class NullVideoDecoder: public VideoDecoder + public: + NullVideoDecoder() {status=VALID;} + ~NullVideoDecoder() { while(fenceCount); } ++ void switchCodec(LS_VIDEO_CODEC codecId, uint8_t* initdata, uint32_t datalen, double frameRateHint){}; + bool decodeData(uint8_t* data, uint32_t datalen, uint32_t time){return false;} + bool discardFrame(){return false;} + void skipUntil(uint32_t time){} +@@ -305,6 +306,7 @@ class NullAudioDecoder: public AudioDecoder + sampleRate=44100; + channelCount=2; + } ++ void switchCodec(LS_AUDIO_CODEC codecId, uint8_t* initdata, uint32_t datalen){}; + uint32_t decodeData(uint8_t* data, int32_t datalen, uint32_t time){return 0;} + }; + diff --git a/www-plugins/lightspark/lightspark-0.8.0.ebuild b/www-plugins/lightspark/lightspark-0.8.0.ebuild index d67d565b6b3..1a71cb2ec2d 100644 --- a/www-plugins/lightspark/lightspark-0.8.0.ebuild +++ b/www-plugins/lightspark/lightspark-0.8.0.ebuild @@ -51,6 +51,8 @@ DEPEND="${RDEPEND} S=${WORKDIR}/${P/_rc*/} +PATCHES=( "${FILESDIR}"/${P}-ffmpeg-free.patch ) + pkg_pretend() { if [[ ${MERGE_TYPE} != binary ]]; then if tc-is-gcc && [[ $(gcc-major-version) == 4 && $(gcc-minor-version) -lt 6 || $(gcc-major-version) -lt 4 ]] ; then
[gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/
commit: e6d3e35ca037fdbb85928b09a922bcabbd02863d Author: Chí-Thanh Christopher Nguyễn gentoo org> AuthorDate: Sun Jul 16 20:19:10 2017 + Commit: Chí-Thanh Christopher Nguyễn gentoo org> CommitDate: Sun Jul 16 20:19:10 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6d3e35c www-plugins/lightspark: version bump to 0.8.0 Bug: https://bugs.gentoo.org/show_bug.cgi?id=625228 Package-Manager: Portage-2.3.6, Repoman-2.3.1 www-plugins/lightspark/Manifest| 1 + .../{lightspark-.ebuild => lightspark-0.8.0.ebuild}| 10 -- www-plugins/lightspark/lightspark-.ebuild | 3 +-- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/www-plugins/lightspark/Manifest b/www-plugins/lightspark/Manifest index 1a091029364..7fa387c7c0f 100644 --- a/www-plugins/lightspark/Manifest +++ b/www-plugins/lightspark/Manifest @@ -1 +1,2 @@ DIST lightspark-0.7.2_p20160107.tar.gz 1803064 SHA256 83b58db86e466e9a3acc33c7c1bbff284edb3f7fef377a3397ac26ac06cac22f SHA512 937352c8d428579a9ac89a45724db2beb624eba874da59d684e07d9d306305d85937f4b2e692c56750a1b5e6ca485e05d9997409d3bc934fab209124cd471601 WHIRLPOOL 268f2a95758def3fb722daa6580e6c4ff5577eacdc27e82005ce7e0b51d55ae78fbc6ae5c1d839b4b21848a0d2a61b0b023f4741487fc042450a7a20bfee01bb +DIST lightspark-0.8.0.tar.gz 1830071 SHA256 b0612a93bb16c0ab9ea5d516ee312607e14703d26ca917d037bb33e235ed4b25 SHA512 333de501caf5f5ed9c8581cfda5bf1e6e04170c90f1c2f6150c9c2343f9de20e140a041d066f693e406d24fa24e7a5c3464675a583f4a5c104f5214ebee072b9 WHIRLPOOL 4ba1e18a9196823603146ce178914c5778a6eac045b994afbbe388cb945612bb5bab8072a77bfe0b647aeff614f3f4d8b34161c118fe9102745f2ba26c102e00 diff --git a/www-plugins/lightspark/lightspark-.ebuild b/www-plugins/lightspark/lightspark-0.8.0.ebuild similarity index 93% copy from www-plugins/lightspark/lightspark-.ebuild copy to www-plugins/lightspark/lightspark-0.8.0.ebuild index d0de6eda589..d67d565b6b3 100644 --- a/www-plugins/lightspark/lightspark-.ebuild +++ b/www-plugins/lightspark/lightspark-0.8.0.ebuild @@ -2,16 +2,15 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=6 -inherit cmake-utils git-r3 nsplugins toolchain-funcs +inherit cmake-utils nsplugins vcs-snapshot toolchain-funcs DESCRIPTION="High performance flash player" HOMEPAGE="http://lightspark.github.io/; -SRC_URI="" -EGIT_REPO_URI="https://github.com/lightspark/lightspark; +SRC_URI="https://github.com/${PN}/${PN}/archive/${P}.tar.gz; LICENSE="LGPL-3" SLOT="0" -KEYWORDS="" +KEYWORDS="~amd64 ~x86" IUSE="cpu_flags_x86_sse2 curl ffmpeg gles libav nsplugin ppapi profile rtmp" # Note: code-wise llvm-4.0 is fine but due to CMake bug it can't work: @@ -27,7 +26,6 @@ RDEPEND="app-arch/xz-utils:0= media-libs/libsdl2:0= media-libs/sdl2-mixer:0= >=sys-devel/gcc-4.6.0:*[cxx] - =sys-devel/llvm-3.4:0= sys-libs/zlib:0= x11-libs/cairo:0= @@ -73,7 +71,7 @@ src_configure() { -DENABLE_PROFILING=$(usex profile) -DENABLE_SSE2=$(usex cpu_flags_x86_sse2) - -DCOMPILE_PLUGIN=$(usex nsplugin) + -DCOMPILE_NPAPI_PLUGIN=$(usex nsplugin) -DPLUGIN_DIRECTORY="${EPREFIX}"/usr/$(get_libdir)/${PN}/plugins # TODO: install /etc/chromium file? block adobe-flash? -DCOMPILE_PPAPI_PLUGIN=$(usex ppapi) diff --git a/www-plugins/lightspark/lightspark-.ebuild b/www-plugins/lightspark/lightspark-.ebuild index d0de6eda589..435e878ed31 100644 --- a/www-plugins/lightspark/lightspark-.ebuild +++ b/www-plugins/lightspark/lightspark-.ebuild @@ -27,7 +27,6 @@ RDEPEND="app-arch/xz-utils:0= media-libs/libsdl2:0= media-libs/sdl2-mixer:0= >=sys-devel/gcc-4.6.0:*[cxx] - =sys-devel/llvm-3.4:0= sys-libs/zlib:0= x11-libs/cairo:0= @@ -73,7 +72,7 @@ src_configure() { -DENABLE_PROFILING=$(usex profile) -DENABLE_SSE2=$(usex cpu_flags_x86_sse2) - -DCOMPILE_PLUGIN=$(usex nsplugin) + -DCOMPILE_NPAPI_PLUGIN=$(usex nsplugin) -DPLUGIN_DIRECTORY="${EPREFIX}"/usr/$(get_libdir)/${PN}/plugins # TODO: install /etc/chromium file? block adobe-flash? -DCOMPILE_PPAPI_PLUGIN=$(usex ppapi)
[gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/
commit: 2eaea4b7c08711c2e8fc9f956d0f2e13de5188ed Author: Michał Górny gentoo org> AuthorDate: Wed May 24 15:39:08 2017 + Commit: Michał Górny gentoo org> CommitDate: Sat Jun 3 08:27:34 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2eaea4b7 www-plugins/lightspark: Clean old up www-plugins/lightspark/Manifest| 1 - .../lightspark/lightspark-0.7.2_p20150318.ebuild | 113 - 2 files changed, 114 deletions(-) diff --git a/www-plugins/lightspark/Manifest b/www-plugins/lightspark/Manifest index 7d3a32fdb17..1a091029364 100644 --- a/www-plugins/lightspark/Manifest +++ b/www-plugins/lightspark/Manifest @@ -1,2 +1 @@ -DIST lightspark-0.7.2_p20150318.tar.gz 1039961 SHA256 92e4fa23e9760ebc73efd269a373c7e566eb1550ccf1c7cc7cff58b0d53d048a SHA512 2deb55a9ab7f00d0469b8fd5b053f43155d63c12f4b40bd40d6aa802501b5c7d4d3fe5d442f6ddb67eb1f592d48ccd1490b92e738359e78c162a39eb1605f9a5 WHIRLPOOL 72b471f193ffeba8e2078cad35917eac2d5c8d399cc18a177c1da0a88f85506025f28c86cb22a4dac6dd92feb0a32bc202c60cfe8ca334407f1d1fa6ba2f305f DIST lightspark-0.7.2_p20160107.tar.gz 1803064 SHA256 83b58db86e466e9a3acc33c7c1bbff284edb3f7fef377a3397ac26ac06cac22f SHA512 937352c8d428579a9ac89a45724db2beb624eba874da59d684e07d9d306305d85937f4b2e692c56750a1b5e6ca485e05d9997409d3bc934fab209124cd471601 WHIRLPOOL 268f2a95758def3fb722daa6580e6c4ff5577eacdc27e82005ce7e0b51d55ae78fbc6ae5c1d839b4b21848a0d2a61b0b023f4741487fc042450a7a20bfee01bb diff --git a/www-plugins/lightspark/lightspark-0.7.2_p20150318.ebuild b/www-plugins/lightspark/lightspark-0.7.2_p20150318.ebuild deleted file mode 100644 index ba514dada4b..000 --- a/www-plugins/lightspark/lightspark-0.7.2_p20150318.ebuild +++ /dev/null @@ -1,113 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -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:0 - 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
[gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/
commit: 02b65eb9e1a19f199acc12a84dd664fa1f09d392 Author: Michał Górny gentoo org> AuthorDate: Tue Mar 7 16:32:41 2017 + Commit: Michał Górny gentoo org> CommitDate: Tue Mar 7 16:35:16 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02b65eb9 www-plugins/lightspark: Fix llvm/clang ranges to slot :0 www-plugins/lightspark/lightspark-0.7.2_p20150318.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/www-plugins/lightspark/lightspark-0.7.2_p20150318.ebuild b/www-plugins/lightspark/lightspark-0.7.2_p20150318.ebuild index 7b1ef9a2d9b..ba514dada4b 100644 --- a/www-plugins/lightspark/lightspark-0.7.2_p20150318.ebuild +++ b/www-plugins/lightspark/lightspark-0.7.2_p20150318.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -20,8 +20,8 @@ RDEPEND=">=dev-cpp/libxmlpp-2.33.1:2.6 media-libs/libpng media-libs/libsdl >=sys-devel/gcc-4.6.0[cxx] - =sys-devel/llvm-3.4 + =sys-devel/llvm-3.4:0 x11-libs/cairo x11-libs/gtk+:2 x11-libs/libX11
[gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/
commit: ca3306974a02b7b217010b76758202bc4d030e16 Author: Michał Górny gentoo org> AuthorDate: Sat Jan 28 12:13:32 2017 + Commit: Michał Górny gentoo org> CommitDate: Sat Jan 28 12:14:16 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca330697 www-plugins/lightspark: Add a fresh snapshot www-plugins/lightspark/Manifest | 1 + ...{lightspark-.ebuild => lightspark-0.7.2_p20160107.ebuild} | 9 - www-plugins/lightspark/lightspark-.ebuild| 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/www-plugins/lightspark/Manifest b/www-plugins/lightspark/Manifest index 3d1aa9b..7d3a32f 100644 --- a/www-plugins/lightspark/Manifest +++ b/www-plugins/lightspark/Manifest @@ -1 +1,2 @@ DIST lightspark-0.7.2_p20150318.tar.gz 1039961 SHA256 92e4fa23e9760ebc73efd269a373c7e566eb1550ccf1c7cc7cff58b0d53d048a SHA512 2deb55a9ab7f00d0469b8fd5b053f43155d63c12f4b40bd40d6aa802501b5c7d4d3fe5d442f6ddb67eb1f592d48ccd1490b92e738359e78c162a39eb1605f9a5 WHIRLPOOL 72b471f193ffeba8e2078cad35917eac2d5c8d399cc18a177c1da0a88f85506025f28c86cb22a4dac6dd92feb0a32bc202c60cfe8ca334407f1d1fa6ba2f305f +DIST lightspark-0.7.2_p20160107.tar.gz 1803064 SHA256 83b58db86e466e9a3acc33c7c1bbff284edb3f7fef377a3397ac26ac06cac22f SHA512 937352c8d428579a9ac89a45724db2beb624eba874da59d684e07d9d306305d85937f4b2e692c56750a1b5e6ca485e05d9997409d3bc934fab209124cd471601 WHIRLPOOL 268f2a95758def3fb722daa6580e6c4ff5577eacdc27e82005ce7e0b51d55ae78fbc6ae5c1d839b4b21848a0d2a61b0b023f4741487fc042450a7a20bfee01bb diff --git a/www-plugins/lightspark/lightspark-.ebuild b/www-plugins/lightspark/lightspark-0.7.2_p20160107.ebuild similarity index 92% copy from www-plugins/lightspark/lightspark-.ebuild copy to www-plugins/lightspark/lightspark-0.7.2_p20160107.ebuild index e2f2d96..5f60a3f 100644 --- a/www-plugins/lightspark/lightspark-.ebuild +++ b/www-plugins/lightspark/lightspark-0.7.2_p20160107.ebuild @@ -3,16 +3,15 @@ # $Id$ EAPI=6 -inherit cmake-utils git-r3 nsplugins toolchain-funcs +inherit cmake-utils nsplugins vcs-snapshot toolchain-funcs DESCRIPTION="High performance flash player" HOMEPAGE="http://lightspark.github.io/; -SRC_URI="" -EGIT_REPO_URI="https://github.com/lightspark/lightspark; +SRC_URI="https://github.com/lightspark/lightspark/archive/308241eb55c5379765033e60f28dfdd956c7abcd.tar.gz -> ${P}.tar.gz" LICENSE="LGPL-3" SLOT="0" -KEYWORDS="" +KEYWORDS="~amd64 ~x86" IUSE="cpu_flags_x86_sse2 curl ffmpeg gles libav nsplugin ppapi profile rtmp" # Note: code-wise llvm-4.0 is fine but due to CMake bug it can't work: @@ -27,7 +26,7 @@ RDEPEND="app-arch/xz-utils:0= media-libs/libpng:0= media-libs/libsdl2:0= media-libs/sdl2-mixer:0= - >=sys-devel/gcc-4.6.0[cxx] + >=sys-devel/gcc-4.6.0:*[cxx] =sys-devel/llvm-3.4:0= sys-libs/zlib:0= diff --git a/www-plugins/lightspark/lightspark-.ebuild b/www-plugins/lightspark/lightspark-.ebuild index e2f2d96..3a3b1e8 100644 --- a/www-plugins/lightspark/lightspark-.ebuild +++ b/www-plugins/lightspark/lightspark-.ebuild @@ -27,7 +27,7 @@ RDEPEND="app-arch/xz-utils:0= media-libs/libpng:0= media-libs/libsdl2:0= media-libs/sdl2-mixer:0= - >=sys-devel/gcc-4.6.0[cxx] + >=sys-devel/gcc-4.6.0:*[cxx] =sys-devel/llvm-3.4:0= sys-libs/zlib:0=
[gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/
commit: 274d5486fdfd7ac09e2154008bcc07f059d7d50d Author: Michał Górny gentoo org> AuthorDate: Sat Jan 28 11:53:09 2017 + Commit: Michał Górny gentoo org> CommitDate: Sat Jan 28 12:01:20 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=274d5486 www-plugins/lightspark: Add a fresh live ebuild, update URLs www-plugins/lightspark/lightspark-.ebuild | 104 ++ www-plugins/lightspark/metadata.xml | 2 + 2 files changed, 106 insertions(+) diff --git a/www-plugins/lightspark/lightspark-.ebuild b/www-plugins/lightspark/lightspark-.ebuild new file mode 100644 index ..e2f2d96 --- /dev/null +++ b/www-plugins/lightspark/lightspark-.ebuild @@ -0,0 +1,104 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit cmake-utils git-r3 nsplugins toolchain-funcs + +DESCRIPTION="High performance flash player" +HOMEPAGE="http://lightspark.github.io/; +SRC_URI="" +EGIT_REPO_URI="https://github.com/lightspark/lightspark; + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="" +IUSE="cpu_flags_x86_sse2 curl ffmpeg gles libav nsplugin ppapi profile rtmp" + +# Note: code-wise llvm-4.0 is fine but due to CMake bug it can't work: +# https://gitlab.kitware.com/cmake/cmake/issues/16606 +RDEPEND="app-arch/xz-utils:0= + dev-cpp/glibmm:2= + >=dev-libs/boost-1.42:0= + dev-libs/glib:2= + dev-libs/libpcre:3=[cxx] + media-fonts/liberation-fonts + media-libs/freetype:2= + media-libs/libpng:0= + media-libs/libsdl2:0= + media-libs/sdl2-mixer:0= + >=sys-devel/gcc-4.6.0[cxx] + =sys-devel/llvm-3.4:0= + sys-libs/zlib:0= + x11-libs/cairo:0= + x11-libs/gtk+:2= + x11-libs/libX11:0= + x11-libs/pango:0= + virtual/jpeg:0= + curl? ( net-misc/curl:0= ) + ffmpeg? ( + libav? ( media-video/libav:0= ) + !libav? ( media-video/ffmpeg:0= ) + ) + gles? ( media-libs/mesa:0=[gles2] ) + !gles? ( + >=media-libs/glew-1.5.3:0= + virtual/opengl:0= + ) + rtmp? ( media-video/rtmpdump:0= )" +DEPEND="${RDEPEND} + amd64? ( dev-lang/nasm ) + x86? ( dev-lang/nasm ) + virtual/pkgconfig" + +S=${WORKDIR}/${P/_rc*/} + +pkg_pretend() { + if [[ ${MERGE_TYPE} != binary ]]; then + if tc-is-gcc && [[ $(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_configure() { + local mycmakeargs=( + -DENABLE_CURL=$(usex curl) + -DENABLE_GLES2=$(usex gles) + -DENABLE_LIBAVCODEC=$(usex ffmpeg) + -DENABLE_RTMP=$(usex rtmp) + + -DENABLE_MEMORY_USAGE_PROFILING=$(usex profile) + -DENABLE_PROFILING=$(usex profile) + -DENABLE_SSE2=$(usex cpu_flags_x86_sse2) + + -DCOMPILE_PLUGIN=$(usex nsplugin) + -DPLUGIN_DIRECTORY="${EPREFIX}"/usr/$(get_libdir)/${PN}/plugins + # TODO: install /etc/chromium file? block adobe-flash? + -DCOMPILE_PPAPI_PLUGIN=$(usex ppapi) + -DPPAPI_PLUGIN_DIRECTORY="${EPREFIX}"/usr/$(get_libdir)/chromium-browser/${PN} + ) + + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + + use nsplugin && inst_plugin /usr/$(get_libdir)/${PN}/plugins/liblightsparkplugin.so +} + +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 +} diff --git a/www-plugins/lightspark/metadata.xml b/www-plugins/lightspark/metadata.xml index b7fbc14..a613237 100644 --- a/www-plugins/lightspark/metadata.xml +++ b/www-plugins/lightspark/metadata.xml @@ -11,9 +11,11 @@ Replace default OpenGL renderer with GLESv2 + Install the PPAPI plugin (for Chromium) Enable Real Time Messaging Protocol using librtmp + lightspark/lightspark lightspark lightspark
[gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/
commit: a114def81409bfbe78ae529212391dda773a2235 Author: Michał Górny gentoo org> AuthorDate: Sat Jan 28 11:52:20 2017 + Commit: Michał Górny gentoo org> CommitDate: Sat Jan 28 12:01:19 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a114def8 www-plugins/lightspark: Add myself as co-maint www-plugins/lightspark/metadata.xml | 4 1 file changed, 4 insertions(+) diff --git a/www-plugins/lightspark/metadata.xml b/www-plugins/lightspark/metadata.xml index 60812d1..b7fbc14 100644 --- a/www-plugins/lightspark/metadata.xml +++ b/www-plugins/lightspark/metadata.xml @@ -5,6 +5,10 @@ chith...@gentoo.org Chí-Thanh Christopher Nguyễn + + mgo...@gentoo.org + Michał Górny + Replace default OpenGL renderer with GLESv2 Enable Real Time Messaging Protocol using librtmp
[gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/files/, www-plugins/lightspark/
commit: 2f3c69a446e35a0610e3a2e36faeeeb121fa93b9 Author: Michał Górny gentoo org> AuthorDate: Thu Jan 7 16:07:37 2016 + Commit: Michał Górny gentoo org> CommitDate: Thu Jan 7 22:09:41 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f3c69a4 www-plugins/lightspark: Remove old vers requiring llvm-3.2 www-plugins/lightspark/Manifest| 2 - .../files/lightspark-0.7.2-ffmpeg20.patch | 155 - .../lightspark/files/lightspark-0.7.2-llvm33.patch | 103 -- www-plugins/lightspark/lightspark-0.7.1.ebuild | 108 -- www-plugins/lightspark/lightspark-0.7.2-r1.ebuild | 108 -- www-plugins/lightspark/lightspark-0.7.2.ebuild | 108 -- 6 files changed, 584 deletions(-) diff --git a/www-plugins/lightspark/Manifest b/www-plugins/lightspark/Manifest index 5c946be..3d1aa9b 100644 --- a/www-plugins/lightspark/Manifest +++ b/www-plugins/lightspark/Manifest @@ -1,3 +1 @@ -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 diff --git a/www-plugins/lightspark/files/lightspark-0.7.2-ffmpeg20.patch b/www-plugins/lightspark/files/lightspark-0.7.2-ffmpeg20.patch deleted file mode 100644 index c0a1f5f..000 --- a/www-plugins/lightspark/files/lightspark-0.7.2-ffmpeg20.patch +++ /dev/null @@ -1,155 +0,0 @@ -From fff7e63650c1569908bf80f11a123e051e993f31 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Ludger=20Kr=C3=A4mer?=-Date: Fri, 16 Aug 2013 20:30:28 +0200 -Subject: [PATCH] fix compilation with ffmpeg 2.0 avcodec_decode_audio4 seems - not to deliver data in AV_SAMPLE_FMT_S16 format, so we have to use - libavresample for resampling - - CMakeLists.txt | 2 +- - conf/FindFFMpeg.cmake| 6 - - src/backends/decoder.cpp | 64 ++-- - src/backends/decoder.h | 8 ++ - 4 files changed, 70 insertions(+), 10 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 33dbb85..d3a964b 100644 a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -286,7 +286,7 @@ IF(AUDIO_BACKEND) - ENDIF(AUDIO_BACKEND) - - IF(ENABLE_LIBAVCODEC) -- pkg_check_modules(FFMPEG libavcodec libavutil libavformat) -+ pkg_check_modules(FFMPEG libavcodec libavutil libavformat libavresample) - IF(NOT(FFMPEG_FOUND)) - INCLUDE(FindFFMpeg REQUIRED) - ENDIF(NOT(FFMPEG_FOUND)) -diff --git a/conf/FindFFMpeg.cmake b/conf/FindFFMpeg.cmake -index 2b4dd98..8246c15 100644 a/conf/FindFFMpeg.cmake -+++ b/conf/FindFFMpeg.cmake -@@ -23,7 +23,11 @@ FIND_LIBRARY(FFMPEG_AVFORMAT_LIBRARY NAMES - avformat - ) - --SET(FFMPEG_LIBRARY ${FFMPEG_AVCODEC_LIBRARY} ${FFMPEG_AVUTIL_LIBRARY} ${FFMPEG_AVFORMAT_LIBRARY}) -+FIND_LIBRARY(FFMPEG_AVRESAMPLE_LIBRARY NAMES -+avresample -+) -+ -+SET(FFMPEG_LIBRARY ${FFMPEG_AVCODEC_LIBRARY} ${FFMPEG_AVUTIL_LIBRARY} ${FFMPEG_AVFORMAT_LIBRARY} ${FFMPEG_AVRESAMPLE_LIBRARY}) - MARK_AS_ADVANCED(FFMPEG_LIBRARY) - - # handle the QUIETLY and REQUIRED arguments and set FFMPEG_FOUND to TRUE if -diff --git a/src/backends/decoder.cpp b/src/backends/decoder.cpp -index 22eac2e..4b3148c 100755 a/src/backends/decoder.cpp -+++ b/src/backends/decoder.cpp -@@ -295,6 +295,8 @@ bool FFMpegVideoDecoder::decodePacket(AVPacket* pkt, uint32_t time) - #else - int ret=avcodec_decode_video(codecContext, frameIn, , pkt->data, pkt->size); - #endif -+ if (ret < 0) -+ return false; - - assert_and_throw(ret==(int)pkt->size); - if(frameOk) -@@ -612,10 +614,33 @@ uint32_t FFMpegAudioDecoder::decodeData(uint8_t* data, int32_t datalen, uint32_t - ret=-1; - else - { -- //This is suboptimal but equivalent to what libavcodec -- //does for the compatibility version of avcodec_decode_audio3 --
[gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/
commit: 99c53d577d1e949ed413ba5080906b264017d396 Author: Michał Górny gentoo org> AuthorDate: Thu Jan 7 20:01:17 2016 + Commit: Michał Górny gentoo org> CommitDate: Thu Jan 7 22:09:41 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99c53d57 www-plugins/lightspark: Restrict to llvm < 3.7, #563780 www-plugins/lightspark/lightspark-0.7.2_p20150318.ebuild | 1 + 1 file changed, 1 insertion(+) diff --git a/www-plugins/lightspark/lightspark-0.7.2_p20150318.ebuild b/www-plugins/lightspark/lightspark-0.7.2_p20150318.ebuild index 063226e..b0130b9 100644 --- a/www-plugins/lightspark/lightspark-0.7.2_p20150318.ebuild +++ b/www-plugins/lightspark/lightspark-0.7.2_p20150318.ebuild @@ -21,6 +21,7 @@ RDEPEND=">=dev-cpp/libxmlpp-2.33.1:2.6 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