]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
gcr: correctly configure vala against introspection data
authorAlexander Kanavin <alex.kanavin@gmail.com>
Fri, 24 Feb 2023 09:40:18 +0000 (10:40 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 25 Feb 2023 11:51:21 +0000 (11:51 +0000)
GI_DATA_ENABLED is the right source for making that decision
as it additionally factors in presence of qemu-usermode in
MACHINE_FEATURES.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-gnome/gcr/gcr_4.0.0.bb

index b13796894375e97aab0334f8a4be4084da3ffe8e..7821e31b5239d4439aab68f70b19fe1976e74a58 100644 (file)
@@ -29,7 +29,7 @@ PACKAGECONFIG ??= " \
        ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \
        ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'gtk', '', d)} \
        ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'gtk', '', d)} \
-       ${@bb.utils.contains('DISTRO_FEATURES', 'gobject-introspection-data', 'vapi', '', d)} \
+       ${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'vapi', '', d)} \
 "
 PACKAGECONFIG[gtk] = "-Dgtk4=true,-Dgtk4=false,gtk4"
 PACKAGECONFIG[ssh_agent] = "-Dssh_agent=true,-Dssh_agent=false,libsecret,openssh"