diff mbox series

gobject-introspection: disable tests

Message ID 20260916192339.640456-1-ross.burton@arm.com
State New
Headers show
Series gobject-introspection: disable tests | expand

Commit Message

Ross Burton Sept. 16, 2026, 7:23 p.m. UTC
We don't run the tests so there's no point in building them, and this
also means we can make the floating cairo dependency which is only used
by the tests disabled explictly.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 .../gobject-introspection/gobject-introspection_1.86.0.bb     | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.86.0.bb b/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.86.0.bb
index 91525f99b79..b03a9cf4156 100644
--- a/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.86.0.bb
+++ b/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.86.0.bb
@@ -39,9 +39,11 @@  export B
 PACKAGECONFIG ?= ""
 PACKAGECONFIG[doctool] = "-Ddoctool=enabled,-Ddoctool=disabled,python3-mako,"
 
+EXTRA_OEMESON = "-Dtests=false -Dcairo=disabled"
+
 # Configure target build to use native tools of itself and to use a qemu wrapper
 # and optionally to generate introspection data
-EXTRA_OEMESON:class-target = " \
+EXTRA_OEMESON:append:class-target = " \
     -Dgi_cross_use_prebuilt_gi=true \
     -Dgi_cross_binary_wrapper=${B}/g-ir-scanner-qemuwrapper \
     -Dgi_cross_ldd_wrapper=${B}/g-ir-scanner-lddwrapper \