From a80dba653e528b86eb7d33a11b2ecbaeb8a33155 Mon Sep 17 00:00:00 2001 From: Markus Volk Date: Wed, 23 Sep 2026 19:18:56 +0200 Subject: [PATCH] libpeas: build the vapi whenever introspection data is enabled 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 Signed-off-by: Khem Raj --- meta-gnome/recipes-gnome/libpeas/libpeas_2.2.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"