commit:     49f82205aa01627c9b8941f95c24c42b7a8adc45
Author:     Ionen Wolkens <sudinave <AT> gmail <DOT> com>
AuthorDate: Sun Mar 21 19:13:08 2021 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Mar 21 19:13:08 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49f82205

gui-libs/egl-wayland: allow building without xlib headers

Closes: https://github.com/gentoo/gentoo/pull/20043
Closes: https://bugs.gentoo.org/777558
Signed-off-by: Ionen Wolkens <sudinave <AT> gmail.com>
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 gui-libs/egl-wayland/egl-wayland-1.1.6.ebuild | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/gui-libs/egl-wayland/egl-wayland-1.1.6.ebuild 
b/gui-libs/egl-wayland/egl-wayland-1.1.6.ebuild
index c853264cb3d..931329d094c 100644
--- a/gui-libs/egl-wayland/egl-wayland-1.1.6.ebuild
+++ b/gui-libs/egl-wayland/egl-wayland-1.1.6.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit meson
+inherit flag-o-matic meson
 
 DESCRIPTION="EGLStream-based Wayland external platform (for NVIDIA)"
 HOMEPAGE="https://github.com/NVIDIA/egl-wayland";
@@ -26,6 +26,13 @@ PATCHES=(
        "${FILESDIR}"/${P}-remove-werror.patch
 )
 
+src_configure() {
+       # EGLStream is not intended for X11, always build without (bug #777558)
+       append-cppflags -DEGL_NO_X11
+
+       meson_src_configure
+}
+
 src_install() {
        meson_src_install
 

Reply via email to