commit:     ee2511bcf3315553424e81212547d24838523570
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Thu May 16 13:32:40 2024 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Thu May 16 14:16:02 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee2511bc

x11-base/xwayland: Reduce differences between versions

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

 x11-base/xwayland/xwayland-9999.ebuild | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/x11-base/xwayland/xwayland-9999.ebuild 
b/x11-base/xwayland/xwayland-9999.ebuild
index cef2f83afa79..9838b99ca7c6 100644
--- a/x11-base/xwayland/xwayland-9999.ebuild
+++ b/x11-base/xwayland/xwayland-9999.ebuild
@@ -91,12 +91,17 @@ src_configure() {
                -Ddocs=false
                -Ddevel-docs=false
                -Ddocs-pdf=false
-               -Dxorg=false
-               -Dxnest=false
-               -Dxvfb=false
-               -Dxwayland=true
        )
 
+       if [[ ${PV} == "9999" ]]; then
+               emesonargs+=(
+                       -Dxorg=false
+                       -Dxnest=false
+                       -Dxvfb=false
+                       -Dxwayland=true
+               )
+       fi
+
        if use libei; then
                emesonargs+=( -Dxwayland_ei=portal )
        else

Reply via email to