public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/
@ 2016-01-07 22:10 Michał Górny
  0 siblings, 0 replies; 31+ messages in thread
From: Michał Górny @ 2016-01-07 22:10 UTC (permalink / raw
  To: gentoo-commits

commit:     99c53d577d1e949ed413ba5080906b264017d396
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jan  7 20:01:17 2016 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jan  7 22:09:41 2016 +0000
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.7
 	>=sys-devel/llvm-3.4
 	x11-libs/cairo
 	x11-libs/gtk+:2


^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/
@ 2017-01-28 12:01 Michał Górny
  0 siblings, 0 replies; 31+ messages in thread
From: Michał Górny @ 2017-01-28 12:01 UTC (permalink / raw
  To: gentoo-commits

commit:     a114def81409bfbe78ae529212391dda773a2235
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 28 11:52:20 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jan 28 12:01:19 2017 +0000
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 @@
 		<email>chithanh@gentoo.org</email>
 		<name>Chí-Thanh Christopher Nguyễn</name>
 	</maintainer>
+	<maintainer type="person">
+		<email>mgorny@gentoo.org</email>
+		<name>Michał Górny</name>
+	</maintainer>
 	<use>
 		<flag name="gles">Replace default OpenGL renderer with GLESv2</flag>
 		<flag name="rtmp">Enable Real Time Messaging Protocol using librtmp</flag>


^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/
@ 2017-01-28 12:01 Michał Górny
  0 siblings, 0 replies; 31+ messages in thread
From: Michał Górny @ 2017-01-28 12:01 UTC (permalink / raw
  To: gentoo-commits

commit:     274d5486fdfd7ac09e2154008bcc07f059d7d50d
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 28 11:53:09 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jan 28 12:01:20 2017 +0000
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-9999.ebuild | 104 ++++++++++++++++++++++++++
 www-plugins/lightspark/metadata.xml           |   2 +
 2 files changed, 106 insertions(+)

diff --git a/www-plugins/lightspark/lightspark-9999.ebuild b/www-plugins/lightspark/lightspark-9999.ebuild
new file mode 100644
index 00000000..e2f2d96
--- /dev/null
+++ b/www-plugins/lightspark/lightspark-9999.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-4:0=
+	>=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 @@
 	</maintainer>
 	<use>
 		<flag name="gles">Replace default OpenGL renderer with GLESv2</flag>
+		<flag name="ppapi">Install the PPAPI plugin (for Chromium)</flag>
 		<flag name="rtmp">Enable Real Time Messaging Protocol using librtmp</flag>
 	</use>
 	<upstream>
+		<remote-id type="github">lightspark/lightspark</remote-id>
 		<remote-id type="launchpad">lightspark</remote-id>
 		<remote-id type="sourceforge">lightspark</remote-id>
 	</upstream>


^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/
@ 2017-01-28 12:14 Michał Górny
  0 siblings, 0 replies; 31+ messages in thread
From: Michał Górny @ 2017-01-28 12:14 UTC (permalink / raw
  To: gentoo-commits

commit:     ca3306974a02b7b217010b76758202bc4d030e16
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 28 12:13:32 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jan 28 12:14:16 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca330697

www-plugins/lightspark: Add a fresh snapshot

 www-plugins/lightspark/Manifest                                  | 1 +
 ...{lightspark-9999.ebuild => lightspark-0.7.2_p20160107.ebuild} | 9 ++++-----
 www-plugins/lightspark/lightspark-9999.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-9999.ebuild b/www-plugins/lightspark/lightspark-0.7.2_p20160107.ebuild
similarity index 92%
copy from www-plugins/lightspark/lightspark-9999.ebuild
copy to www-plugins/lightspark/lightspark-0.7.2_p20160107.ebuild
index e2f2d96..5f60a3f 100644
--- a/www-plugins/lightspark/lightspark-9999.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-4:0=
 	>=sys-devel/llvm-3.4:0=
 	sys-libs/zlib:0=

diff --git a/www-plugins/lightspark/lightspark-9999.ebuild b/www-plugins/lightspark/lightspark-9999.ebuild
index e2f2d96..3a3b1e8 100644
--- a/www-plugins/lightspark/lightspark-9999.ebuild
+++ b/www-plugins/lightspark/lightspark-9999.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-4:0=
 	>=sys-devel/llvm-3.4:0=
 	sys-libs/zlib:0=


^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/
@ 2017-03-07 16:35 Michał Górny
  0 siblings, 0 replies; 31+ messages in thread
From: Michał Górny @ 2017-03-07 16:35 UTC (permalink / raw
  To: gentoo-commits

commit:     02b65eb9e1a19f199acc12a84dd664fa1f09d392
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Mar  7 16:32:41 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Mar  7 16:35:16 2017 +0000
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.7
-	>=sys-devel/llvm-3.4
+	<sys-devel/llvm-3.7:0
+	>=sys-devel/llvm-3.4:0
 	x11-libs/cairo
 	x11-libs/gtk+:2
 	x11-libs/libX11


^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/
@ 2017-06-03  8:27 Michał Górny
  0 siblings, 0 replies; 31+ messages in thread
From: Michał Górny @ 2017-06-03  8:27 UTC (permalink / raw
  To: gentoo-commits

commit:     2eaea4b7c08711c2e8fc9f956d0f2e13de5188ed
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed May 24 15:39:08 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jun  3 08:27:34 2017 +0000
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..00000000000
--- 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.7:0
-	>=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 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
-}


^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/
@ 2017-07-16 20:19 Chí-Thanh Christopher Nguyễn
  0 siblings, 0 replies; 31+ messages in thread
From: Chí-Thanh Christopher Nguyễn @ 2017-07-16 20:19 UTC (permalink / raw
  To: gentoo-commits

commit:     e6d3e35ca037fdbb85928b09a922bcabbd02863d
Author:     Chí-Thanh Christopher Nguyễn <chithanh <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 16 20:19:10 2017 +0000
Commit:     Chí-Thanh Christopher Nguyễn <chithanh <AT> gentoo <DOT> org>
CommitDate: Sun Jul 16 20:19:10 2017 +0000
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-9999.ebuild => lightspark-0.8.0.ebuild}        | 10 ++++------
 www-plugins/lightspark/lightspark-9999.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-9999.ebuild b/www-plugins/lightspark/lightspark-0.8.0.ebuild
similarity index 93%
copy from www-plugins/lightspark/lightspark-9999.ebuild
copy to www-plugins/lightspark/lightspark-0.8.0.ebuild
index d0de6eda589..d67d565b6b3 100644
--- a/www-plugins/lightspark/lightspark-9999.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-4:0=
 	>=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-9999.ebuild b/www-plugins/lightspark/lightspark-9999.ebuild
index d0de6eda589..435e878ed31 100644
--- a/www-plugins/lightspark/lightspark-9999.ebuild
+++ b/www-plugins/lightspark/lightspark-9999.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-4:0=
 	>=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)


^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/
@ 2018-04-05 18:51 Michał Górny
  0 siblings, 0 replies; 31+ messages in thread
From: Michał Górny @ 2018-04-05 18:51 UTC (permalink / raw
  To: gentoo-commits

commit:     4ac9ca6e96bb387040407e5e399a33e03cede188
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Apr  5 18:14:28 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Apr  5 18:51:05 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ac9ca6e

www-plugins/lightspark: new LLVM versions work in -9999

 www-plugins/lightspark/lightspark-9999.ebuild | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/www-plugins/lightspark/lightspark-9999.ebuild b/www-plugins/lightspark/lightspark-9999.ebuild
index 435e878ed31..cd423dd63ad 100644
--- a/www-plugins/lightspark/lightspark-9999.ebuild
+++ b/www-plugins/lightspark/lightspark-9999.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=


^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/
@ 2018-04-05 18:51 Michał Górny
  0 siblings, 0 replies; 31+ messages in thread
From: Michał Górny @ 2018-04-05 18:51 UTC (permalink / raw
  To: gentoo-commits

commit:     ad63babf63ff665ed97420d9645b3b775a53371c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Apr  5 18:18:19 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Apr  5 18:51:07 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad63babf

www-plugins/lightspark: Add missing cache updates to -9999

 www-plugins/lightspark/lightspark-9999.ebuild | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/www-plugins/lightspark/lightspark-9999.ebuild b/www-plugins/lightspark/lightspark-9999.ebuild
index 09a12ccd261..e85c7575af9 100644
--- a/www-plugins/lightspark/lightspark-9999.ebuild
+++ b/www-plugins/lightspark/lightspark-9999.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
+}


^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/
@ 2018-04-05 18:51 Michał Górny
  0 siblings, 0 replies; 31+ messages in thread
From: Michał Górny @ 2018-04-05 18:51 UTC (permalink / raw
  To: gentoo-commits

commit:     871b2b5e44d274d5e4d798522910a235f413ca51
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Apr  5 18:25:28 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Apr  5 18:51:07 2018 +0000
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 00000000000..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 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
+}


^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/
@ 2018-04-05 18:51 Michał Górny
  0 siblings, 0 replies; 31+ messages in thread
From: Michał Górny @ 2018-04-05 18:51 UTC (permalink / raw
  To: gentoo-commits

commit:     68142863df8e34602e3c8d9f00a2e95358d0f65b
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Apr  5 18:15:47 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Apr  5 18:51:06 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68142863

www-plugins/lightspark: GTK+2 dep removed in -9999

 www-plugins/lightspark/lightspark-9999.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/www-plugins/lightspark/lightspark-9999.ebuild b/www-plugins/lightspark/lightspark-9999.ebuild
index cd423dd63ad..bfec3b32acd 100644
--- a/www-plugins/lightspark/lightspark-9999.ebuild
+++ b/www-plugins/lightspark/lightspark-9999.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=


^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/
@ 2018-04-05 18:51 Michał Górny
  0 siblings, 0 replies; 31+ messages in thread
From: Michał Górny @ 2018-04-05 18:51 UTC (permalink / raw
  To: gentoo-commits

commit:     7602f895c9669f6d7fa94dd5764b0ee4924c0c79
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Apr  5 18:16:35 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Apr  5 18:51:06 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7602f895

www-plugins/lightspark: Remove test for ancient GCC in -9999

 www-plugins/lightspark/lightspark-9999.ebuild | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/www-plugins/lightspark/lightspark-9999.ebuild b/www-plugins/lightspark/lightspark-9999.ebuild
index bfec3b32acd..09a12ccd261 100644
--- a/www-plugins/lightspark/lightspark-9999.ebuild
+++ b/www-plugins/lightspark/lightspark-9999.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)


^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/
@ 2018-08-29  0:41 Chí-Thanh Christopher Nguyễn
  0 siblings, 0 replies; 31+ messages in thread
From: Chí-Thanh Christopher Nguyễn @ 2018-08-29  0:41 UTC (permalink / raw
  To: gentoo-commits

commit:     bab2d2b7a8dad2b107cb48fe83027e859c2e1caa
Author:     Chí-Thanh Christopher Nguyễn <chithanh <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 29 00:40:49 2018 +0000
Commit:     Chí-Thanh Christopher Nguyễn <chithanh <AT> gentoo <DOT> org>
CommitDate: Wed Aug 29 00:40:49 2018 +0000
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 00000000000..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-video/libav-13_pre:0= )
+		!libav? ( <media-video/ffmpeg-4: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
+}


^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/
@ 2018-09-06 21:22 Michał Górny
  0 siblings, 0 replies; 31+ messages in thread
From: Michał Górny @ 2018-09-06 21:22 UTC (permalink / raw
  To: gentoo-commits

commit:     82a0cf9bdea6b30a70068eabd996ad7b575adda6
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Sep  6 20:56:08 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Sep  6 21:22:31 2018 +0000
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..00000000000
--- 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
-	xdg_desktop_database_update
-}


^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/
@ 2018-09-23 19:08 Michał Górny
  0 siblings, 0 replies; 31+ messages in thread
From: Michał Górny @ 2018-09-23 19:08 UTC (permalink / raw
  To: gentoo-commits

commit:     af1ebf3b210aa7887c5978383f279d8e5f274f62
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 23 19:02:04 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Sep 23 19:07:59 2018 +0000
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 <mgorny <AT> 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? ( <media-video/libav-13_pre:0= )
-		!libav? ( <media-video/ffmpeg-4:0= )
+		!libav? ( media-video/ffmpeg:0= )
 	)
 	gles? ( media-libs/mesa:0=[gles2] )
 	!gles? (


^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/
@ 2018-09-23 19:08 Michał Górny
  0 siblings, 0 replies; 31+ messages in thread
From: Michał Górny @ 2018-09-23 19:08 UTC (permalink / raw
  To: gentoo-commits

commit:     0e32ffdb0178f395581a64f678c8e29fad1ef9ca
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 23 18:59:03 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Sep 23 19:07:58 2018 +0000
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 <mgorny <AT> 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:=
+	<sys-devel/llvm-7:=
 	sys-libs/zlib:0=
 	x11-libs/cairo:0=
 	x11-libs/libX11:0=
@@ -48,6 +48,8 @@ DEPEND="${RDEPEND}
 
 S=${WORKDIR}/${P/_rc*/}
 
+LLVM_MAX_SLOT=6
+
 src_configure() {
 	local mycmakeargs=(
 		-DENABLE_CURL=$(usex curl)


^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/
@ 2019-12-08 11:11 Michał Górny
  0 siblings, 0 replies; 31+ messages in thread
From: Michał Górny @ 2019-12-08 11:11 UTC (permalink / raw
  To: gentoo-commits

commit:     411652c688ed7a342cbb19302e641f3f6afd8ca9
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Dec  8 10:36:15 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Dec  8 11:11:32 2019 +0000
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 <mgorny <AT> 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 00000000000..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-video/libav-13_pre: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
+
+	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
+}


^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/
@ 2019-12-08 11:11 Michał Górny
  0 siblings, 0 replies; 31+ messages in thread
From: Michał Górny @ 2019-12-08 11:11 UTC (permalink / raw
  To: gentoo-commits

commit:     5b2c18b449531c2c51b4b21570acc94ffc7073ea
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Dec  8 10:36:36 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Dec  8 11:11:33 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b2c18b4

www-plugins/lightspark: Remove unmaintained -9999

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 www-plugins/lightspark/lightspark-9999.ebuild | 97 ---------------------------
 1 file changed, 97 deletions(-)

diff --git a/www-plugins/lightspark/lightspark-9999.ebuild b/www-plugins/lightspark/lightspark-9999.ebuild
deleted file mode 100644
index e85c7575af9..00000000000
--- a/www-plugins/lightspark/lightspark-9999.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
-}


^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/
@ 2019-12-09 19:20 Michał Górny
  0 siblings, 0 replies; 31+ messages in thread
From: Michał Górny @ 2019-12-09 19:20 UTC (permalink / raw
  To: gentoo-commits

commit:     1e02c55a89667ee2cefbc5538b69fa144427e2cc
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Dec  8 11:21:32 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Dec  9 19:20:33 2019 +0000
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 <mgorny <AT> gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/13916
Signed-off-by: Michał Górny <mgorny <AT> 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..00000000000
--- 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=
-	<sys-devel/llvm-7:=
-	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-13_pre: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*/}
-
-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
-}


^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/
@ 2020-01-03 20:40 Michał Górny
  0 siblings, 0 replies; 31+ messages in thread
From: Michał Górny @ 2020-01-03 20:40 UTC (permalink / raw
  To: gentoo-commits

commit:     ed7f86859c676fc5ab9ca3188b628e32dcacc2d0
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jan  3 16:57:32 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jan  3 20:39:50 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed7f8685

www-plugins/lightspark: Use HTTPS

Signed-off-by: Michał Górny <mgorny <AT> 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"


^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/
@ 2020-04-03 14:57 Andreas Sturmlechner
  0 siblings, 0 replies; 31+ messages in thread
From: Andreas Sturmlechner @ 2020-04-03 14:57 UTC (permalink / raw
  To: gentoo-commits

commit:     c5dfa8892490bb50ce25ced7d27e81cb52cb2d95
Author:     Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
AuthorDate: Sat Nov 23 10:15:02 2019 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Apr  3 14:56:44 2020 +0000
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 <contact <AT> hacktivis.me>
Signed-off-by: Andreas Sturmlechner <asturm <AT> 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-video/libav-13_pre:0= )
 		!libav? ( media-video/ffmpeg:0= )
 	)
-	gles? ( media-libs/mesa:0=[gles2] )
-	!gles? (
+	gles2-only? ( media-libs/mesa:0=[gles2] )
+	!gles2-only? (
 		>=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 @@
 		<name>Michał Górny</name>
 	</maintainer>
 	<use>
-		<flag name="gles">Replace default OpenGL renderer with GLESv2</flag>
 		<flag name="ppapi">Install the PPAPI plugin (for Chromium)</flag>
 		<flag name="rtmp">Enable Real Time Messaging Protocol using librtmp</flag>
 	</use>


^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/
@ 2020-04-26  7:44 Mikle Kolyada
  0 siblings, 0 replies; 31+ messages in thread
From: Mikle Kolyada @ 2020-04-26  7:44 UTC (permalink / raw
  To: gentoo-commits

commit:     5ad3654cd6e6b8554a8082d7f7349aaf7a691e01
Author:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 26 07:31:14 2020 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sun Apr 26 07:31:14 2020 +0000
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 <zlogene <AT> 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-video/libav-13_pre:0= )
-		!libav? ( media-video/ffmpeg:0= )
-	)
+	ffmpeg?	( media-video/ffmpeg:0= )
 	gles2-only? ( media-libs/mesa:0=[gles2] )
 	!gles2-only? (
 		>=media-libs/glew-1.5.3:0=


^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/
@ 2020-06-08  8:56 Michał Górny
  0 siblings, 0 replies; 31+ messages in thread
From: Michał Górny @ 2020-06-08  8:56 UTC (permalink / raw
  To: gentoo-commits

commit:     9586e04ab574f0392a26d93171eddcc21d260dd7
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Jun  8 08:50:38 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Jun  8 08:56:18 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9586e04a

www-plugins/lightspark: Port to cmake.eclass

Signed-off-by: Michał Górny <mgorny <AT> 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


^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/
@ 2020-12-26  8:40 Michał Górny
  0 siblings, 0 replies; 31+ messages in thread
From: Michał Górny @ 2020-12-26  8:40 UTC (permalink / raw
  To: gentoo-commits

commit:     aa2b516233037d8d53378c7fcf537d870b667c73
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 26 08:36:48 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Dec 26 08:37:01 2020 +0000
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 <mgorny <AT> 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 00000000000..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
+}


^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/
@ 2021-02-08 15:07 Michał Górny
  0 siblings, 0 replies; 31+ messages in thread
From: Michał Górny @ 2021-02-08 15:07 UTC (permalink / raw
  To: gentoo-commits

commit:     e223ff01606526401001c3e9c49cd0cd75729b77
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Feb  8 09:06:45 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Feb  8 15:07:42 2021 +0000
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 <mgorny <AT> 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 00000000000..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
+}
+
+pkg_postrm() {
+	xdg_icon_cache_update
+	xdg_desktop_database_update
+}


^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/
@ 2021-07-03 21:46 Michał Górny
  0 siblings, 0 replies; 31+ messages in thread
From: Michał Górny @ 2021-07-03 21:46 UTC (permalink / raw
  To: gentoo-commits

commit:     639d6230adb5cf214fa47cc44425d3a5a52a9820
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jul  3 20:43:51 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jul  3 21:46:27 2021 +0000
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 <mgorny <AT> 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 33966bd811a311ee1cc6c59517f17933c73da926ea40485800076c26eea3ddec29f18fffff12d1fd8c36f43c932ac56128b483a9dc104f006b3a1805992f0aa4 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 00000000000..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 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
+}


^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/
@ 2022-08-30  5:45 Michał Górny
  0 siblings, 0 replies; 31+ messages in thread
From: Michał Górny @ 2022-08-30  5:45 UTC (permalink / raw
  To: gentoo-commits

commit:     392165de958292aac934ec355055a1093d7e656f
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 30 05:18:25 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Aug 30 05:45:34 2022 +0000
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 <mgorny <AT> 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 33966bd811a311ee1cc6c59517f17933c73da926ea40485800076c26eea3ddec29f18fffff12d1fd8c36f43c932ac56128b483a9dc104f006b3a1805992f0aa4 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 000000000000..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 && 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
+}


^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/
@ 2022-08-30  5:45 Michał Górny
  0 siblings, 0 replies; 31+ messages in thread
From: Michał Górny @ 2022-08-30  5:45 UTC (permalink / raw
  To: gentoo-commits

commit:     b324f6a7a1863993e127863e70512bdbc1dc2a82
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 30 05:42:32 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Aug 30 05:45:41 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b324f6a7

www-plugins/lightspark: Remove old

Signed-off-by: Michał Górny <mgorny <AT> 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 33966bd811a311ee1cc6c59517f17933c73da926ea40485800076c26eea3ddec29f18fffff12d1fd8c36f43c932ac56128b483a9dc104f006b3a1805992f0aa4 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..000000000000
--- 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; 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.3.ebuild b/www-plugins/lightspark/lightspark-0.8.3.ebuild
deleted file mode 100644
index fb319cbbb5a9..000000000000
--- a/www-plugins/lightspark/lightspark-0.8.3.ebuild
+++ /dev/null
@@ -1,95 +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"
-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
-}

diff --git a/www-plugins/lightspark/lightspark-0.8.4.ebuild b/www-plugins/lightspark/lightspark-0.8.4.ebuild
deleted file mode 100644
index 1093cd420297..000000000000
--- a/www-plugins/lightspark/lightspark-0.8.4.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
-}


^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/
@ 2023-01-02 14:04 Andreas Sturmlechner
  0 siblings, 0 replies; 31+ messages in thread
From: Andreas Sturmlechner @ 2023-01-02 14:04 UTC (permalink / raw
  To: gentoo-commits

commit:     4045622267a99dc8eca3b8dce3f591e9be7b7d95
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 25 22:47:18 2022 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Jan  2 14:02:31 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40456222

www-plugins/lightspark: drop 0.8.5

Signed-off-by: Andreas Sturmlechner <asturm <AT> 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 33966bd811a311ee1cc6c59517f17933c73da926ea40485800076c26eea3ddec29f18fffff12d1fd8c36f43c932ac56128b483a9dc104f006b3a1805992f0aa4 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..000000000000
--- 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
-}


^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/
@ 2023-05-29  6:23 Michał Górny
  0 siblings, 0 replies; 31+ messages in thread
From: Michał Górny @ 2023-05-29  6:23 UTC (permalink / raw
  To: gentoo-commits

commit:     f9d2d7c6ce85916967a26fc68ee0daac7fd42701
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon May 29 06:12:53 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon May 29 06:23:15 2023 +0000
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 <mgorny <AT> 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 000000000000..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
+}


^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/
@ 2024-05-23 17:17 Matt Turner
  0 siblings, 0 replies; 31+ messages in thread
From: Matt Turner @ 2024-05-23 17:17 UTC (permalink / raw
  To: gentoo-commits

commit:     a55252bea1c2400ae14f01e826961d32ed4b131d
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Thu May 23 17:15:32 2024 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Thu May 23 17:17:02 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a55252be

www-plugins/lightspark: Depend on libglvnd, not mesa

Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 .../{lightspark-0.8.6.1.ebuild => lightspark-0.8.6.1-r1.ebuild}         | 2 +-
 .../lightspark/{lightspark-0.8.7.ebuild => lightspark-0.8.7-r1.ebuild}  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/www-plugins/lightspark/lightspark-0.8.6.1.ebuild b/www-plugins/lightspark/lightspark-0.8.6.1-r1.ebuild
similarity index 98%
rename from www-plugins/lightspark/lightspark-0.8.6.1.ebuild
rename to www-plugins/lightspark/lightspark-0.8.6.1-r1.ebuild
index eae7210c3eae..490874a3f8c0 100644
--- a/www-plugins/lightspark/lightspark-0.8.6.1.ebuild
+++ b/www-plugins/lightspark/lightspark-0.8.6.1-r1.ebuild
@@ -35,7 +35,7 @@ RDEPEND="
 	x11-libs/pango
 	curl? ( net-misc/curl:= )
 	ffmpeg? ( media-video/ffmpeg:= )
-	gles2-only? ( media-libs/mesa:=[gles2] )
+	gles2-only? ( media-libs/libglvnd )
 	!gles2-only? (
 		>=media-libs/glew-1.5.3:=
 		virtual/opengl:0=

diff --git a/www-plugins/lightspark/lightspark-0.8.7.ebuild b/www-plugins/lightspark/lightspark-0.8.7-r1.ebuild
similarity index 98%
rename from www-plugins/lightspark/lightspark-0.8.7.ebuild
rename to www-plugins/lightspark/lightspark-0.8.7-r1.ebuild
index 29b4fcc7e999..73617456d238 100644
--- a/www-plugins/lightspark/lightspark-0.8.7.ebuild
+++ b/www-plugins/lightspark/lightspark-0.8.7-r1.ebuild
@@ -34,7 +34,7 @@ RDEPEND="
 	x11-libs/pango
 	curl? ( net-misc/curl:= )
 	ffmpeg? ( media-video/ffmpeg:= )
-	gles2-only? ( media-libs/mesa:=[gles2] )
+	gles2-only? ( media-libs/libglvnd )
 	!gles2-only? (
 		>=media-libs/glew-1.5.3:=
 		virtual/opengl:0=


^ permalink raw reply related	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2024-05-23 17:17 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-03 21:46 [gentoo-commits] repo/gentoo:master commit in: www-plugins/lightspark/ Michał Górny
  -- strict thread matches above, loose matches on Subject: below --
2024-05-23 17:17 Matt Turner
2023-05-29  6:23 Michał Górny
2023-01-02 14:04 Andreas Sturmlechner
2022-08-30  5:45 Michał Górny
2022-08-30  5:45 Michał Górny
2021-02-08 15:07 Michał Górny
2020-12-26  8:40 Michał Górny
2020-06-08  8:56 Michał Górny
2020-04-26  7:44 Mikle Kolyada
2020-04-03 14:57 Andreas Sturmlechner
2020-01-03 20:40 Michał Górny
2019-12-09 19:20 Michał Górny
2019-12-08 11:11 Michał Górny
2019-12-08 11:11 Michał Górny
2018-09-23 19:08 Michał Górny
2018-09-23 19:08 Michał Górny
2018-09-06 21:22 Michał Górny
2018-08-29  0:41 Chí-Thanh Christopher Nguyễn
2018-04-05 18:51 Michał Górny
2018-04-05 18:51 Michał Górny
2018-04-05 18:51 Michał Górny
2018-04-05 18:51 Michał Górny
2018-04-05 18:51 Michał Górny
2017-07-16 20:19 Chí-Thanh Christopher Nguyễn
2017-06-03  8:27 Michał Górny
2017-03-07 16:35 Michał Górny
2017-01-28 12:14 Michał Górny
2017-01-28 12:01 Michał Górny
2017-01-28 12:01 Michał Górny
2016-01-07 22:10 Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox