[jhbuild] core-deps-latest: Explicitly enable and disable GTK backends



commit 4578eb041fe0fcb0710dd2e82775cb6c10de6daa
Author: Ting-Wei Lan <lantw src gnome org>
Date:   Sat Jun 22 23:14:28 2019 +0800

    core-deps-latest: Explicitly enable and disable GTK backends
    
    Instead of letting GTK decide whether a backend should be enabled,
    explicitly specify them according to JHBuild conditions.

 modulesets/gnome-suites-core-deps-latest.modules | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
---
diff --git a/modulesets/gnome-suites-core-deps-latest.modules 
b/modulesets/gnome-suites-core-deps-latest.modules
index 2b17848b..efbd3e53 100644
--- a/modulesets/gnome-suites-core-deps-latest.modules
+++ b/modulesets/gnome-suites-core-deps-latest.modules
@@ -873,15 +873,24 @@
   </autotools>
 
   <meson id="gtk+" mesonargs="-Dbroadway-backend=true">
+    <if condition-set="x11">
+      <mesonargs value="-Dx11-backend=true"/>
+    </if>
     <if condition-unset="x11">
       <mesonargs value="-Dx11-backend=false"/>
     </if>
+    <if condition-set="wayland">
+      <mesonargs value="-Dwayland-backend=true"/>
+    </if>
     <if condition-unset="wayland">
       <mesonargs value="-Dwayland-backend=false"/>
     </if>
     <if condition-set="quartz">
       <mesonargs value="-Dquartz-backend=true"/>
     </if>
+    <if condition-unset="quartz">
+      <mesonargs value="-Dquartz-backend=false"/>
+    </if>
     <branch repo="gitlab.gnome.org" checkoutdir="gtk+" module="GNOME/gtk.git"/>
     <dependencies>
       <dep package="atk"/>
@@ -927,15 +936,27 @@
     <if condition-set="x11">
       <mesonargs value="-Dx11_backend=true"/>
     </if>
+    <if condition-unset="x11">
+      <mesonargs value="-Dx11_backend=false"/>
+    </if>
     <if condition-set="wayland">
       <mesonargs value="-Dwayland_backend=true"/>
     </if>
+    <if condition-unset="wayland">
+      <mesonargs value="-Dwayland_backend=false"/>
+    </if>
     <if condition-set="mir">
       <mesonargs value="-Dmir_backend=true"/>
     </if>
+    <if condition-unset="mir">
+      <mesonargs value="-Dmir_backend=false"/>
+    </if>
     <if condition-set="quartz">
       <mesonargs value="-Dquartz_backend=true"/>
     </if>
+    <if condition-unset="quartz">
+      <mesonargs value="-Dquartz_backend=false"/>
+    </if>
     <if condition-set="macos">
       <mesonargs value="-Dman=false"/>
     </if>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]