commit: a59821acef452267809d8c0e1d7e9d78ebe04a38 Author: David Seifert <soap <AT> gentoo <DOT> org> AuthorDate: Tue Mar 28 18:40:51 2023 +0000 Commit: David Seifert <soap <AT> gentoo <DOT> org> CommitDate: Tue Mar 28 18:40:51 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a59821ac
x11-wm/mutter: fix with USE="-wayland" Signed-off-by: David Seifert <soap <AT> gentoo.org> .../mutter/{mutter-44.0.ebuild => mutter-44.0-r1.ebuild} | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/x11-wm/mutter/mutter-44.0.ebuild b/x11-wm/mutter/mutter-44.0-r1.ebuild similarity index 92% rename from x11-wm/mutter/mutter-44.0.ebuild rename to x11-wm/mutter/mutter-44.0-r1.ebuild index b53a43637e87..3ca6e7a5b72e 100644 --- a/x11-wm/mutter/mutter-44.0.ebuild +++ b/x11-wm/mutter/mutter-44.0-r1.ebuild @@ -145,9 +145,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