www-plugins/freshplayerplugin: rename USE=gles2 to USE=gles2-only
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>
Sat, 23 Nov 2019 10:11:09 +0000 (11:11 +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/freshplayerplugin/freshplayerplugin-0.3.9-r1.ebuild [moved from www-plugins/freshplayerplugin/freshplayerplugin-0.3.9.ebuild with 91% similarity]
www-plugins/freshplayerplugin/metadata.xml

similarity index 91%
rename from www-plugins/freshplayerplugin/freshplayerplugin-0.3.9.ebuild
rename to www-plugins/freshplayerplugin/freshplayerplugin-0.3.9-r1.ebuild
index ffb3b7a382cb31e055992b8616a45da3f605ea9f..488069f26f18b5356834e715d41d459795603d81 100644 (file)
@@ -10,7 +10,7 @@ HOMEPAGE="https://github.com/i-rinat/freshplayerplugin"
 DESCRIPTION="PPAPI-host NPAPI-plugin adapter for flashplayer in npapi based browsers"
 SRC_URI="https://github.com/i-rinat/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 SLOT=0
-IUSE="gles2 jack libav libressl pulseaudio v4l vaapi vdpau"
+IUSE="gles2-only jack libav libressl pulseaudio v4l vaapi vdpau"
 
 KEYWORDS="amd64"
 
@@ -26,7 +26,8 @@ COMMON_DEPEND="
        dev-libs/libevent:=[threads]
        media-libs/alsa-lib:=
        media-libs/freetype:2=
-       media-libs/mesa:=[egl,gles2?]
+       media-libs/mesa:=[egl]
+       gles2-only? ( media-libs/mesa[gles2] )
        x11-libs/cairo:=[X]
        x11-libs/libXcursor:=
        x11-libs/libXrandr:=
@@ -65,7 +66,7 @@ src_configure() {
        mycmakeargs=(
                -DWITH_JACK=$(usex jack)
                -DWITH_PULSEAUDIO=$(usex pulseaudio)
-               -DWITH_GLES2=$(usex gles2)
+               -DWITH_GLES2=$(usex gles2-only)
                -DWITH_LIBV4L2=$(usex v4l)
                -DCMAKE_SKIP_RPATH=1
        )
index d335982d456ec6281f8594cb549ba6e8a1001ef9..529020d6dc72778fd357b6ef14289b263b1e13db 100644 (file)
@@ -3,7 +3,6 @@
 <pkgmetadata>
        <!--maintainer-needed-->
        <use>
-               <flag name="gles2">Use system GLESv2 libraries instead of ANGLE for shader translation</flag>
                <flag name="v4l">Use libv4l2 for colorspace conversion</flag>
        </use>
        <upstream>