diff mbox series

[meta-gnome] libpeas: build the vapi whenever introspection data is enabled

Message ID 20260923171856.6344-1-f_l_k@t-online.de
State Under Review
Headers show
Series [meta-gnome] libpeas: build the vapi whenever introspection data is enabled | expand

Commit Message

Markus Volk Sept. 23, 2026, 5:18 p.m. UTC
The vala PACKAGECONFIG was gated on a gobject-introspection distro
feature that does not exist, so libpeas-2.vapi was never built on a
standard distro and convey failed with 'Package libpeas-2 not found in
specified Vala API directories'. Gate it on GI_DATA_ENABLED instead,
like librsvg and libical do; meson skips the vapi without the gir
anyway.

AI-Generated: Uses Claude Code (Claude Fable 5.1)
Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
 meta-gnome/recipes-gnome/libpeas/libpeas_2.2.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-gnome/recipes-gnome/libpeas/libpeas_2.2.1.bb b/meta-gnome/recipes-gnome/libpeas/libpeas_2.2.1.bb
index 4c9c4666a5..e31034e185 100644
--- a/meta-gnome/recipes-gnome/libpeas/libpeas_2.2.1.bb
+++ b/meta-gnome/recipes-gnome/libpeas/libpeas_2.2.1.bb
@@ -10,7 +10,7 @@  inherit gnomebase gobject-introspection vala gi-docgen
 SRC_URI += "file://disable-lgi-check.patch"
 SRC_URI[archive.sha256sum] = "589eca89b437006edf3755478df037c740a2a84cfa5d202dbad6095e828e2488"
 
-PACKAGECONFIG ?= "python3 gjs lua51 ${@bb.utils.contains('DISTRO_FEATURES', 'gobject-introspection', 'vala', '', d)}"
+PACKAGECONFIG ?= "python3 gjs lua51 ${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'vala', '', d)}"
 PACKAGECONFIG:remove:riscv32 = "lua51"
 PACKAGECONFIG:remove:riscv64 = "lua51"
 PACKAGECONFIG:remove:powerpc64 = "lua51"