www-plugins/lightspark: rename USE=gles to USE=gles2-only
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>
Sat, 23 Nov 2019 10:15:02 +0000 (11:15 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Fri, 3 Apr 2020 14:56:44 +0000 (16:56 +0200)
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
www-plugins/lightspark/lightspark-0.8.2-r1.ebuild [moved from www-plugins/lightspark/lightspark-0.8.2.ebuild with 93% similarity]
www-plugins/lightspark/metadata.xml

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 4c87950ba8f238cbf69f9d48db29dff036b5dd03..65979256be22c21ae759fc54f013058bf9e0f62f 100644 (file)
@@ -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)
 
index a6132373a429d370a99cf9eef2c232ec0ed502bb..8a5ac2694010fdbe1f2fdb6d6339e3cd700c5190 100644 (file)
@@ -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>