Build fails as Vala bindings require --enable-introspection:

| checking for gobject-introspection... no (disabled, use 
--enable-introspection to enable)
| configure: error: Vala bindings require GObject Introspection

Signed-off-by: Alex Kiernan <[email protected]>
---

 meta/recipes-gnome/librsvg/librsvg_2.54.5.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-gnome/librsvg/librsvg_2.54.5.bb 
b/meta/recipes-gnome/librsvg/librsvg_2.54.5.bb
index b2e93a268448..fcc25248c0d1 100644
--- a/meta/recipes-gnome/librsvg/librsvg_2.54.5.bb
+++ b/meta/recipes-gnome/librsvg/librsvg_2.54.5.bb
@@ -42,7 +42,7 @@ do_configure[postfuncs] += "cargo_common_do_configure"
 
 inherit rust-target-config
 
-EXTRA_OECONF:class-target = "--enable-vala"
+EXTRA_OECONF:append:class-target = " ${@bb.utils.contains('GI_DATA_ENABLED', 
'True', '--enable-vala', '--disable-vala', d)}"
 
 # rust-cross writes the target linker binary into target json definition 
without any flags.
 # This breaks here because the linker isn't going to work without at least 
knowing where
-- 
2.39.0

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

Reply via email to