From aa4954f71a3ba2293395a8cce2321a70c39c7554 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 24 May 2024 00:07:11 +0100 Subject: gentoo auto-resync : 24:05:2024 - 00:07:11 --- www-plugins/Manifest.gz | Bin 1077 -> 1071 bytes www-plugins/chrome-binary-plugins/Manifest | 4 +- ...chrome-binary-plugins-126.0.6478.17_beta.ebuild | 60 ++++++++++++ .../chrome-binary-plugins-126.0.6478.7_beta.ebuild | 60 ------------ www-plugins/lightspark/Manifest | 4 +- .../lightspark/lightspark-0.8.6.1-r1.ebuild | 101 +++++++++++++++++++++ www-plugins/lightspark/lightspark-0.8.6.1.ebuild | 101 --------------------- www-plugins/lightspark/lightspark-0.8.7-r1.ebuild | 100 ++++++++++++++++++++ www-plugins/lightspark/lightspark-0.8.7.ebuild | 100 -------------------- 9 files changed, 265 insertions(+), 265 deletions(-) create mode 100644 www-plugins/chrome-binary-plugins/chrome-binary-plugins-126.0.6478.17_beta.ebuild delete mode 100644 www-plugins/chrome-binary-plugins/chrome-binary-plugins-126.0.6478.7_beta.ebuild create mode 100644 www-plugins/lightspark/lightspark-0.8.6.1-r1.ebuild delete mode 100644 www-plugins/lightspark/lightspark-0.8.6.1.ebuild create mode 100644 www-plugins/lightspark/lightspark-0.8.7-r1.ebuild delete mode 100644 www-plugins/lightspark/lightspark-0.8.7.ebuild (limited to 'www-plugins') diff --git a/www-plugins/Manifest.gz b/www-plugins/Manifest.gz index f6ee53f5ba02..086caf44d9be 100644 Binary files a/www-plugins/Manifest.gz and b/www-plugins/Manifest.gz differ diff --git a/www-plugins/chrome-binary-plugins/Manifest b/www-plugins/chrome-binary-plugins/Manifest index 81f5d8fafce7..a40b6db8f919 100644 --- a/www-plugins/chrome-binary-plugins/Manifest +++ b/www-plugins/chrome-binary-plugins/Manifest @@ -1,7 +1,7 @@ -DIST google-chrome-beta_126.0.6478.7-1_amd64.deb 108533876 BLAKE2B 82a37ca1c38ef5a62cf39bbeb97918264b12615646346210dd787fec4ba8a58ce65f9d7472d413d5450f111b9a97a9a3193d3d7261a65b60103bd342cdb1fa66 SHA512 5101d6f0193770d2071e968251e1226897a9d47864eb39c15e5cfb6965402ba448f4482f47d342b46552807aa1a55ca62e6ddba79a606bdf719ab376022e6ed0 +DIST google-chrome-beta_126.0.6478.17-1_amd64.deb 108440520 BLAKE2B 659520004a017eba014a563478daacd7a7c505d1c8d524b5f1918c98f6acf6ec83e2c2457a5d2325e6688cd98c78fd6696bc3ba11213599ad850c3fed6a4642b SHA512 e999bec82a795f2549564208ac81ca7a5d43f769d711bba9e21ef7dc21c1315969e6db8ed91f8138ccc1707f901ef719904c5b50f1199e6baba5b23bca7ad95a DIST google-chrome-stable_125.0.6422.76-1_amd64.deb 107636752 BLAKE2B c3866d993ce2ca8d8d7e135d7818a251bfd3b57be3052d7d73befb9292956a7dec5b526ed88e64e453a22a0bbe7b750e11fc3f3287edf2b48b446f5a6d3931e9 SHA512 0c221bca2bfaf198018f8d1649da2ae3120e3a3e27dcf9c16170a6b05302728d28caf8af172bdd6e34b56d3b6cc7769b4a17def250c92a569871565d167dc866 DIST google-chrome-unstable_127.0.6485.0-1_amd64.deb 108980512 BLAKE2B b3fe4651477df400bdc731c6394bad044cdbece0268cc7d577d3dbb6f2d9b2951f7283d3f94053f78d2abfa3b378591b79f69673ee320489abaec2589213671c SHA512 a7e840f77995381ef5534edc2c2a73c1755e87b735607bdb1768a242ffda12304f8fb4706a7d93fa635bbe3ad0de0bd30190f92f6a5e47fb94f2a85dbc367637 EBUILD chrome-binary-plugins-125.0.6422.76.ebuild 1176 BLAKE2B e70956e4da5ba037adad441508cb54dca89e18425df805ccb84ccc47fb8aa4ae6540305481607711220658c4a16aff8df58233a1e1fb2eefaff66b443b87b7c7 SHA512 efb6d8caa86d8c52ee9a8d4dc1c9b9755b5f04efbbc2d4812793cdc9af6999a151b33840996d487a50422e9f6a8619e5a61d06523e2041653f659970b315887c -EBUILD chrome-binary-plugins-126.0.6478.7_beta.ebuild 1177 BLAKE2B ff98afe435096c3c48545decc8299355d91dda1d1d3058529157b529b541d5e3cbeb18626ec6624ae4476a06c2867326a1849a1b71e5b5d37873b503f586db35 SHA512 1ae067b2582cb3995a9f362a88b1ab88d787d296486e99a9568d425b438af1556baa5b90317b278e5379501c7170d9de1408ead365529d6875fed441e2a11662 +EBUILD chrome-binary-plugins-126.0.6478.17_beta.ebuild 1177 BLAKE2B ff98afe435096c3c48545decc8299355d91dda1d1d3058529157b529b541d5e3cbeb18626ec6624ae4476a06c2867326a1849a1b71e5b5d37873b503f586db35 SHA512 1ae067b2582cb3995a9f362a88b1ab88d787d296486e99a9568d425b438af1556baa5b90317b278e5379501c7170d9de1408ead365529d6875fed441e2a11662 EBUILD chrome-binary-plugins-127.0.6485.0_alpha.ebuild 1177 BLAKE2B ff98afe435096c3c48545decc8299355d91dda1d1d3058529157b529b541d5e3cbeb18626ec6624ae4476a06c2867326a1849a1b71e5b5d37873b503f586db35 SHA512 1ae067b2582cb3995a9f362a88b1ab88d787d296486e99a9568d425b438af1556baa5b90317b278e5379501c7170d9de1408ead365529d6875fed441e2a11662 MISC metadata.xml 263 BLAKE2B 63f20710af1b20f01824544c06058c4bef7c4b6e1b66a2bcd17c2dde8f48e6b30a074ec6c3940976d652bb8885a80495914a3ddf4de5766c04f5913780c85668 SHA512 85a03d35084d8d81e038c8065fe58a36f3dd1f5355aaf62033ba590636fa4855ee993ec5f3d10645a55754debddf0b57b4403172f3808e4575b3b2d8d7f180c0 diff --git a/www-plugins/chrome-binary-plugins/chrome-binary-plugins-126.0.6478.17_beta.ebuild b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-126.0.6478.17_beta.ebuild new file mode 100644 index 000000000000..3dabec912ba2 --- /dev/null +++ b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-126.0.6478.17_beta.ebuild @@ -0,0 +1,60 @@ +# Copyright 2012-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit unpacker + +DESCRIPTION="Binary plugins from Google Chrome for use in Chromium" +HOMEPAGE="https://www.google.com/chrome" + +case ${PV} in + *_alpha*) + SLOT="unstable" + CHROMEDIR="opt/google/chrome-${SLOT}" + MY_PV=${PV%_alpha}-1 + ;; + *_beta*) + SLOT="beta" + CHROMEDIR="opt/google/chrome-${SLOT}" + MY_PV=${PV%_beta}-1 + ;; + *) + SLOT="stable" + CHROMEDIR="opt/google/chrome" + MY_PV=${PV}-1 + ;; +esac + +MY_PN="google-chrome-${SLOT}" +MY_P="${MY_PN}_${MY_PV}" +SRC_URI="https://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_amd64.deb" +S="${WORKDIR}/${CHROMEDIR}" + +LICENSE="google-chrome" +KEYWORDS="-* ~amd64" +RESTRICT="bindist mirror strip" + +RDEPEND=" + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + sys-libs/glibc +" + +for x in 0 beta stable unstable; do + if [[ ${SLOT} != ${x} ]]; then + RDEPEND+=" !${CATEGORY}/${PN}:${x}" + fi +done + +QA_PREBUILT="*" + +pkg_nofetch() { + eerror "Please wait 24 hours and sync your portage tree before reporting fetch failures." +} + +src_install() { + insinto "/usr/$(get_libdir)/chromium-browser" + doins -r WidevineCdm +} diff --git a/www-plugins/chrome-binary-plugins/chrome-binary-plugins-126.0.6478.7_beta.ebuild b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-126.0.6478.7_beta.ebuild deleted file mode 100644 index 3dabec912ba2..000000000000 --- a/www-plugins/chrome-binary-plugins/chrome-binary-plugins-126.0.6478.7_beta.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 2012-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit unpacker - -DESCRIPTION="Binary plugins from Google Chrome for use in Chromium" -HOMEPAGE="https://www.google.com/chrome" - -case ${PV} in - *_alpha*) - SLOT="unstable" - CHROMEDIR="opt/google/chrome-${SLOT}" - MY_PV=${PV%_alpha}-1 - ;; - *_beta*) - SLOT="beta" - CHROMEDIR="opt/google/chrome-${SLOT}" - MY_PV=${PV%_beta}-1 - ;; - *) - SLOT="stable" - CHROMEDIR="opt/google/chrome" - MY_PV=${PV}-1 - ;; -esac - -MY_PN="google-chrome-${SLOT}" -MY_P="${MY_PN}_${MY_PV}" -SRC_URI="https://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_amd64.deb" -S="${WORKDIR}/${CHROMEDIR}" - -LICENSE="google-chrome" -KEYWORDS="-* ~amd64" -RESTRICT="bindist mirror strip" - -RDEPEND=" - dev-libs/glib:2 - dev-libs/nspr - dev-libs/nss - sys-libs/glibc -" - -for x in 0 beta stable unstable; do - if [[ ${SLOT} != ${x} ]]; then - RDEPEND+=" !${CATEGORY}/${PN}:${x}" - fi -done - -QA_PREBUILT="*" - -pkg_nofetch() { - eerror "Please wait 24 hours and sync your portage tree before reporting fetch failures." -} - -src_install() { - insinto "/usr/$(get_libdir)/chromium-browser" - doins -r WidevineCdm -} diff --git a/www-plugins/lightspark/Manifest b/www-plugins/lightspark/Manifest index c7dce38865c7..0c410063cbe2 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.ebuild 2498 BLAKE2B 7b1850205941a6424fa80fe22c7ceb80e44acbd4d840de2f7e0efa3067efd81c80f5c85a5fc684cb40cf6bae1020d167c696252141b72a1a536533ff60d5abe0 SHA512 c483d090fef31956943a4d632ad311c25f021ffbcbe8a6c576e7586546da40ac396555e6875e622a47e5c62d9d4238cff37df6790e47acaff55519b5690b3b7d -EBUILD lightspark-0.8.7.ebuild 2475 BLAKE2B 83db3fb1b1a7537c5e2e1295371a0449a1fa1dd17bc51ee8b7dae5404194029f9402de10c94c4346aff8cfd3892af96b5f73d9c8ce86743e99f362487531b8d9 SHA512 3d29ff490c65571f55e5cb2b93e3d81585099c9dcb8dd9ad29116735d1d458cb20034fafcfdcb02adb40ccd8553fd4049512e31fa28708b66236c847530c6fba +EBUILD lightspark-0.8.6.1-r1.ebuild 2493 BLAKE2B ed690534ed71ba172428fa1e81690277b21f7cc587e10759dc3a244350822cff28bee5918903176485ee2fd7a7fd61b90cf318231bfedf6d2f9d9264962b3b7e SHA512 b9ebba95a5b4b0cce6537fd2252e096496ca0752610a92b553dbbf732d786869b1aeefae1640265a387ab8026e4a4ddea3d7e12f4040eb4ee1514dc02adaa633 +EBUILD lightspark-0.8.7-r1.ebuild 2470 BLAKE2B 0541a54f9b86429bae05ad4f584da08c180542e017cc091c9618ed0bd90d96d969a4e03a362da3ed2738eda04e189812e27b4de0d78c0d9d4c4e55d0f119e6a2 SHA512 1df3ae5898096b009ec2fb1b192f0fea588c94d79412a9f235b3d29b4d41ee2edd980540a08183ac22c8ae76fbc1c7862e87d4b51c2686292abcf3c85a3510a8 MISC metadata.xml 729 BLAKE2B c6709bbbb2b685aec70f81c095b30f1c7acb65847c409d67131a733fcdafbd908b72c17b8acd60ee93707ac1bc4f38c0267778bdf346d910e4ba9cd521cd6714 SHA512 a1db1257f8102dc502ee0d275982ae94c5ed11419689066ee9f403df642831a1e2dd3d386d120c21ba74e59050e34f44b69e4dc381cc29136b3b3d7197589b64 diff --git a/www-plugins/lightspark/lightspark-0.8.6.1-r1.ebuild b/www-plugins/lightspark/lightspark-0.8.6.1-r1.ebuild new file mode 100644 index 000000000000..490874a3f8c0 --- /dev/null +++ b/www-plugins/lightspark/lightspark-0.8.6.1-r1.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/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.8.6.1.ebuild b/www-plugins/lightspark/lightspark-0.8.6.1.ebuild deleted file mode 100644 index eae7210c3eae..000000000000 --- a/www-plugins/lightspark/lightspark-0.8.6.1.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/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 -} diff --git a/www-plugins/lightspark/lightspark-0.8.7-r1.ebuild b/www-plugins/lightspark/lightspark-0.8.7-r1.ebuild new file mode 100644 index 000000000000..73617456d238 --- /dev/null +++ b/www-plugins/lightspark/lightspark-0.8.7-r1.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/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.8.7.ebuild b/www-plugins/lightspark/lightspark-0.8.7.ebuild deleted file mode 100644 index 29b4fcc7e999..000000000000 --- a/www-plugins/lightspark/lightspark-0.8.7.ebuild +++ /dev/null @@ -1,100 +0,0 @@ -# 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 -} -- cgit v1.2.3