From 781c9128468d2e8302221d4d7152ae09cffc4a9e Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 19 Mar 2025 00:30:04 +0000 Subject: gentoo auto-resync : 19:03:2025 - 00:30:03 --- www-plugins/Manifest.gz | Bin 1074 -> 1081 bytes www-plugins/lightspark/Manifest | 6 +- .../lightspark/lightspark-0.8.6.1-r1.ebuild | 101 --------------------- www-plugins/lightspark/lightspark-0.9.0.ebuild | 100 ++++++++++++++++++++ www-plugins/lightspark/metadata.xml | 2 - 5 files changed, 103 insertions(+), 106 deletions(-) delete mode 100644 www-plugins/lightspark/lightspark-0.8.6.1-r1.ebuild create mode 100644 www-plugins/lightspark/lightspark-0.9.0.ebuild (limited to 'www-plugins') diff --git a/www-plugins/Manifest.gz b/www-plugins/Manifest.gz index fb57aa70757d..000a58b73e2e 100644 Binary files a/www-plugins/Manifest.gz and b/www-plugins/Manifest.gz differ diff --git a/www-plugins/lightspark/Manifest b/www-plugins/lightspark/Manifest index 0c410063cbe2..438e8a8aa21f 100644 --- a/www-plugins/lightspark/Manifest +++ b/www-plugins/lightspark/Manifest @@ -1,5 +1,5 @@ -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 -EBUILD lightspark-0.8.6.1-r1.ebuild 2493 BLAKE2B ed690534ed71ba172428fa1e81690277b21f7cc587e10759dc3a244350822cff28bee5918903176485ee2fd7a7fd61b90cf318231bfedf6d2f9d9264962b3b7e SHA512 b9ebba95a5b4b0cce6537fd2252e096496ca0752610a92b553dbbf732d786869b1aeefae1640265a387ab8026e4a4ddea3d7e12f4040eb4ee1514dc02adaa633 +DIST lightspark-0.9.0.tar.gz 96346962 BLAKE2B 21133fcaf6f9b6b4cbd6842c68bb4d25b63a8654fe7d9c200600dd762bf4bc631164110ea25b4d8808a1d90b46bc1b2ab99e1df5a4d07202ecec422391da3737 SHA512 e2570a1d603685ae0d2945049b4db07a80e5b782d601f94f09a31b12f9e2f4c359a2596be7238f1b4ea9a204778c4bb7f994f8c7cd575619178f9e83393ad0da EBUILD lightspark-0.8.7-r1.ebuild 2470 BLAKE2B 0541a54f9b86429bae05ad4f584da08c180542e017cc091c9618ed0bd90d96d969a4e03a362da3ed2738eda04e189812e27b4de0d78c0d9d4c4e55d0f119e6a2 SHA512 1df3ae5898096b009ec2fb1b192f0fea588c94d79412a9f235b3d29b4d41ee2edd980540a08183ac22c8ae76fbc1c7862e87d4b51c2686292abcf3c85a3510a8 -MISC metadata.xml 729 BLAKE2B c6709bbbb2b685aec70f81c095b30f1c7acb65847c409d67131a733fcdafbd908b72c17b8acd60ee93707ac1bc4f38c0267778bdf346d910e4ba9cd521cd6714 SHA512 a1db1257f8102dc502ee0d275982ae94c5ed11419689066ee9f403df642831a1e2dd3d386d120c21ba74e59050e34f44b69e4dc381cc29136b3b3d7197589b64 +EBUILD lightspark-0.9.0.ebuild 2470 BLAKE2B 8904397797d8952fce7fe282b96b8e89aa37b1aedfa0260af7efafa61aee23265aa264f5d9a186db399d081a3a5cd55fce6b5485f803996fb1b129ddaa90b6fa SHA512 a4180f4e156cb7cb812034c49ab164fbde670cfc96ebfc6c019a66c5678326ead2dc71237f4c763d4177ef2dacaa453b21c6e74d6122970f7e2eec0f6ba31edd +MISC metadata.xml 621 BLAKE2B 68735421ff3e37078c88bcb0a5ee9f9be172591ae55dde15ca55e11fb9d088f2cf2634bd6c95008788a009a7a7e008ad59487ba62859c4c9fba464d17dbc4f51 SHA512 3baa0c1fc064b14f8460088114ba2c7d3e20a9a7c18b2f780a7a6f0c056343a84d61fb6071e0dcc3bd4e17939d13387ddd1e5985b5cf9204eace95c81776d88b diff --git a/www-plugins/lightspark/lightspark-0.8.6.1-r1.ebuild b/www-plugins/lightspark/lightspark-0.8.6.1-r1.ebuild deleted file mode 100644 index 490874a3f8c0..000000000000 --- a/www-plugins/lightspark/lightspark-0.8.6.1-r1.ebuild +++ /dev/null @@ -1,101 +0,0 @@ -# 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/libglvnd ) - !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 -} diff --git a/www-plugins/lightspark/lightspark-0.9.0.ebuild b/www-plugins/lightspark/lightspark-0.9.0.ebuild new file mode 100644 index 000000000000..6b78e5a21e06 --- /dev/null +++ b/www-plugins/lightspark/lightspark-0.9.0.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2025 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/libglvnd ) + !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 +} diff --git a/www-plugins/lightspark/metadata.xml b/www-plugins/lightspark/metadata.xml index 5aed0105abb5..784c847dd6d3 100644 --- a/www-plugins/lightspark/metadata.xml +++ b/www-plugins/lightspark/metadata.xml @@ -15,7 +15,5 @@ lightspark/lightspark - lightspark - lightspark -- cgit v1.2.3