commit:     4dd59fa7fb6e80db150d9d754cda4fd43e2a594d
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 22 03:09:34 2021 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Fri Nov 19 22:48:54 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4dd59fa7

media-libs/mesa: Remove IUSE=egl

Enabled by default for years. There's not a sensible reason to disable
this while OpenGL is enabled (which it always is).

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

 media-libs/mesa/mesa-9999.ebuild | 15 ++++-----------
 1 file changed, 4 insertions(+), 11 deletions(-)

diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild
index 5829adce48f2..5f89824a189e 100644
--- a/media-libs/mesa/mesa-9999.ebuild
+++ b/media-libs/mesa/mesa-9999.ebuild
@@ -33,18 +33,16 @@ for card in ${VIDEO_CARDS}; do
 done
 
 IUSE="${IUSE_VIDEO_CARDS}
-       +classic cpu_flags_x86_sse2 d3d9 debug +egl +gallium +gbm gles1 +gles2 
+llvm
+       +classic cpu_flags_x86_sse2 d3d9 debug +gallium +gbm gles1 +gles2 +llvm
        lm-sensors opencl osmesa selinux test unwind vaapi valgrind vdpau vulkan
        vulkan-overlay wayland +X xa xvmc zink +zstd"
 
 REQUIRED_USE="
        d3d9?   ( || ( video_cards_iris video_cards_r300 video_cards_r600 
video_cards_radeonsi video_cards_nouveau video_cards_vmware ) )
-       gles1?  ( egl )
-       gles2?  ( egl )
        osmesa? ( gallium )
        vulkan? ( video_cards_radeonsi? ( llvm ) )
        vulkan-overlay? ( vulkan )
-       wayland? ( egl gbm )
+       wayland? ( gbm )
        video_cards_crocus? ( gallium )
        video_cards_freedreno?  ( gallium )
        video_cards_intel?  ( classic )
@@ -384,12 +382,6 @@ multilib_src_configure() {
        use wayland && platforms+=",wayland"
        emesonargs+=(-Dplatforms=${platforms#,})
 
-       if use X || use egl; then
-               emesonargs+=(-Dglvnd=true)
-       else
-               emesonargs+=(-Dglvnd=false)
-       fi
-
        if use gallium; then
                emesonargs+=(
                        $(meson_feature llvm)
@@ -512,7 +504,8 @@ multilib_src_configure() {
                -Dglx=$(usex X dri disabled)
                -Dshared-glapi=enabled
                -Ddri3=enabled
-               $(meson_feature egl)
+               -Degl=true
+               -Dglvnd=true
                $(meson_feature gbm)
                $(meson_feature gles1)
                $(meson_feature gles2)

Reply via email to