go introspection is not support for mipsn32, so we must not try to build
vapi support.  Using sed allows us to change the meson option, if it is
present, to be set correctly, and is more flexible than a patch would be.

Signed-off-by: Joe Slater <[email protected]>
---
 meta-gnome/recipes-connectivity/libnma/libnma_1.8.28.bb | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/meta-gnome/recipes-connectivity/libnma/libnma_1.8.28.bb 
b/meta-gnome/recipes-connectivity/libnma/libnma_1.8.28.bb
index 267baff..f0f0064 100644
--- a/meta-gnome/recipes-connectivity/libnma/libnma_1.8.28.bb
+++ b/meta-gnome/recipes-connectivity/libnma/libnma_1.8.28.bb
@@ -19,3 +19,10 @@ PACKAGECONFIG[iso_codes] = 
"-Diso_codes=true,-Diso_codes=false,iso-codes,iso-cod
 PACKAGECONFIG[mobile_broadband_provider_info] = 
"-Dmobile_broadband_provider_info=true,-Dmobile_broadband_provider_info=false,mobile-broadband-provider-info,mobile-broadband-provider-info"
 
 GTKDOC_MESON_OPTION = "gtk_doc"
+
+# go object introspection is not supported for mipsn32, so we must disable 
trying
+# to build vapi.
+#
+do_configure_prepend_mipsarchn32 () {
+    sed -i "/^option('vapi/ s!true!false!" ${S}/meson_options.txt
+}
-- 
2.7.4

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#83841): 
https://lists.openembedded.org/g/openembedded-devel/message/83841
Mute This Topic: https://lists.openembedded.org/mt/72903869/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to