commit:     8555f014d0ed6d453e8d1f6f3553ff4169ddc77f
Author:     Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
AuthorDate: Sat Nov 23 10:11:09 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=8555f014

www-plugins/freshplayerplugin: rename USE=gles2 to USE=gles2-only

Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me>
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 ...playerplugin-0.3.9.ebuild => freshplayerplugin-0.3.9-r1.ebuild} | 7 ++++---
 www-plugins/freshplayerplugin/metadata.xml                         | 1 -
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/www-plugins/freshplayerplugin/freshplayerplugin-0.3.9.ebuild 
b/www-plugins/freshplayerplugin/freshplayerplugin-0.3.9-r1.ebuild
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 ffb3b7a382c..488069f26f1 100644
--- a/www-plugins/freshplayerplugin/freshplayerplugin-0.3.9.ebuild
+++ b/www-plugins/freshplayerplugin/freshplayerplugin-0.3.9-r1.ebuild
@@ -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
        )

diff --git a/www-plugins/freshplayerplugin/metadata.xml 
b/www-plugins/freshplayerplugin/metadata.xml
index d335982d456..529020d6dc7 100644
--- a/www-plugins/freshplayerplugin/metadata.xml
+++ b/www-plugins/freshplayerplugin/metadata.xml
@@ -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>

Reply via email to