commit:     ee9baaf59e59ffb59602fe8922d8129113cf35b0
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 28 20:50:10 2023 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Tue Mar 28 20:50:10 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee9baaf5

x11-wm/mutter: sync live ebuild

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 x11-wm/mutter/mutter-9999.ebuild | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/x11-wm/mutter/mutter-9999.ebuild b/x11-wm/mutter/mutter-9999.ebuild
index 09f3116068ef..4448bd1400ba 100644
--- a/x11-wm/mutter/mutter-9999.ebuild
+++ b/x11-wm/mutter/mutter-9999.ebuild
@@ -150,9 +150,21 @@ src_prepare() {
 
 src_configure() {
        local emesonargs=(
+               # Mutter X11 renderer only supports gles2 and GLX, thus do NOT 
pass
+               #
+               #   -Dopengl_libname=libOpenGL.so.0
+               #
+               # while we build the x11 renderer, as we currently enable gles2 
only
+               # with USE=wayland and x11 renderer wouldn't find the needed 
GLX symbols
+               # in a configuration where wayland is disabled, as libOpenGL 
doesn't
+               # include them.
+               #
+               # See
+               # - https://bugs.gentoo.org/835786
+               # - https://forums.gentoo.org/viewtopic-p-8695669.html
+
                --buildtype $(usex debug debug plain)
                -Dopengl=true
-               -Dopengl_libname=libOpenGL
                $(meson_use wayland gles2)
                #gles2_libname
                -Degl=true

Reply via email to