mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-10-21 08:08:29 +00:00
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 <f_l_k@t-online.de> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
1 parent
40455d6dbc
commit
a80dba653e
1 file changed
+1
-1
@@ -10,7 +10,7 @@ inherit gnomebase gobject-introspection vala gi-docgen
|
|||||||
SRC_URI += "file://disable-lgi-check.patch"
|
SRC_URI += "file://disable-lgi-check.patch"
|
||||||
SRC_URI[archive.sha256sum] = "589eca89b437006edf3755478df037c740a2a84cfa5d202dbad6095e828e2488"
|
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:riscv32 = "lua51"
|
||||||
PACKAGECONFIG:remove:riscv64 = "lua51"
|
PACKAGECONFIG:remove:riscv64 = "lua51"
|
||||||
PACKAGECONFIG:remove:powerpc64 = "lua51"
|
PACKAGECONFIG:remove:powerpc64 = "lua51"
|
||||||
|
|||||||
Reference in new issue
Block a user