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 <[email protected]>
---
 .../gobject-introspection/gobject-introspection_1.86.0.bb     | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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 \
-- 
2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#245993): 
https://lists.openembedded.org/g/openembedded-core/message/245993
Mute This Topic: https://lists.openembedded.org/mt/121284675/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to