Skip to contentSkip to conversation

gobject-introspection: disable tests

PATCH New Ross Burton 1 participant 1 message Sep 16

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gobject-introspection: disable tests

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.

---
 .../gobject-introspection/gobject-introspection_1.86.0.bb     | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta/recipes-gnome/gobject-introspection/gobject-introspection_1.86.0.bb +3 -1
index 91525f99b79..b03a9cf4156 100644
@@ -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 \
Signature · 1 line
2.43.0