Commit 4578eb04 authored by Ting-Wei Lan's avatar Ting-Wei Lan

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.
parent fdd88cda
...@@ -873,15 +873,24 @@ ...@@ -873,15 +873,24 @@
</autotools> </autotools>
<meson id="gtk+" mesonargs="-Dbroadway-backend=true"> <meson id="gtk+" mesonargs="-Dbroadway-backend=true">
<if condition-set="x11">
<mesonargs value="-Dx11-backend=true"/>
</if>
<if condition-unset="x11"> <if condition-unset="x11">
<mesonargs value="-Dx11-backend=false"/> <mesonargs value="-Dx11-backend=false"/>
</if> </if>
<if condition-set="wayland">
<mesonargs value="-Dwayland-backend=true"/>
</if>
<if condition-unset="wayland"> <if condition-unset="wayland">
<mesonargs value="-Dwayland-backend=false"/> <mesonargs value="-Dwayland-backend=false"/>
</if> </if>
<if condition-set="quartz"> <if condition-set="quartz">
<mesonargs value="-Dquartz-backend=true"/> <mesonargs value="-Dquartz-backend=true"/>
</if> </if>
<if condition-unset="quartz">
<mesonargs value="-Dquartz-backend=false"/>
</if>
<branch repo="gitlab.gnome.org" checkoutdir="gtk+" module="GNOME/gtk.git"/> <branch repo="gitlab.gnome.org" checkoutdir="gtk+" module="GNOME/gtk.git"/>
<dependencies> <dependencies>
<dep package="atk"/> <dep package="atk"/>
...@@ -927,15 +936,27 @@ ...@@ -927,15 +936,27 @@
<if condition-set="x11"> <if condition-set="x11">
<mesonargs value="-Dx11_backend=true"/> <mesonargs value="-Dx11_backend=true"/>
</if> </if>
<if condition-unset="x11">
<mesonargs value="-Dx11_backend=false"/>
</if>
<if condition-set="wayland"> <if condition-set="wayland">
<mesonargs value="-Dwayland_backend=true"/> <mesonargs value="-Dwayland_backend=true"/>
</if> </if>
<if condition-unset="wayland">
<mesonargs value="-Dwayland_backend=false"/>
</if>
<if condition-set="mir"> <if condition-set="mir">
<mesonargs value="-Dmir_backend=true"/> <mesonargs value="-Dmir_backend=true"/>
</if> </if>
<if condition-unset="mir">
<mesonargs value="-Dmir_backend=false"/>
</if>
<if condition-set="quartz"> <if condition-set="quartz">
<mesonargs value="-Dquartz_backend=true"/> <mesonargs value="-Dquartz_backend=true"/>
</if> </if>
<if condition-unset="quartz">
<mesonargs value="-Dquartz_backend=false"/>
</if>
<if condition-set="macos"> <if condition-set="macos">
<mesonargs value="-Dman=false"/> <mesonargs value="-Dman=false"/>
</if> </if>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment