From: Alexander Kanavin Date: Sun, 19 Feb 2023 19:30:25 +0000 (+0100) Subject: gcr: enable vala .vapi generation only when gobject introspection is also enabled X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~1657 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4de7fa49f18ec1288f6a817910a81107b4f0d883;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git gcr: enable vala .vapi generation only when gobject introspection is also enabled Signed-off-by: Alexander Kanavin Signed-off-by: Alexandre Belloni --- diff --git a/meta/recipes-gnome/gcr/gcr_4.0.0.bb b/meta/recipes-gnome/gcr/gcr_4.0.0.bb index 22edd386fcb..b1379689437 100644 --- a/meta/recipes-gnome/gcr/gcr_4.0.0.bb +++ b/meta/recipes-gnome/gcr/gcr_4.0.0.bb @@ -29,11 +29,13 @@ 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)} \ " PACKAGECONFIG[gtk] = "-Dgtk4=true,-Dgtk4=false,gtk4" PACKAGECONFIG[ssh_agent] = "-Dssh_agent=true,-Dssh_agent=false,libsecret,openssh" #'Use systemd socket activation for server programs' PACKAGECONFIG[systemd] = "-Dsystemd=enabled,-Dsystemd=disabled,systemd" +PACKAGECONFIG[vapi] = "-Dvapi=true,-Dvapi=false," FILES:${PN} += " \ ${datadir}/dbus-1 \