diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2023-02-19 20:30:25 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-02-20 15:18:30 +0000 |
commit | 8f7058f6834a6627437da069018e6442df3f9548 (patch) | |
tree | b846baa54c6789e0cd1bf94a3a43dc9322348c01 /meta | |
parent | 46c6a8d63cd4efb01792c9605b1f95397ad8257c (diff) | |
download | poky-8f7058f6834a6627437da069018e6442df3f9548.tar.gz |
gcr: enable vala .vapi generation only when gobject introspection is also enabled
(From OE-Core rev: 4de7fa49f18ec1288f6a817910a81107b4f0d883)
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>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-gnome/gcr/gcr_4.0.0.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-gnome/gcr/gcr_4.0.0.bb b/meta/recipes-gnome/gcr/gcr_4.0.0.bb index 22edd386fc..b137968943 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 ??= " \ | |||
29 | ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ | 29 | ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ |
30 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'gtk', '', d)} \ | 30 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'gtk', '', d)} \ |
31 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'gtk', '', d)} \ | 31 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'gtk', '', d)} \ |
32 | ${@bb.utils.contains('DISTRO_FEATURES', 'gobject-introspection-data', 'vapi', '', d)} \ | ||
32 | " | 33 | " |
33 | PACKAGECONFIG[gtk] = "-Dgtk4=true,-Dgtk4=false,gtk4" | 34 | PACKAGECONFIG[gtk] = "-Dgtk4=true,-Dgtk4=false,gtk4" |
34 | PACKAGECONFIG[ssh_agent] = "-Dssh_agent=true,-Dssh_agent=false,libsecret,openssh" | 35 | PACKAGECONFIG[ssh_agent] = "-Dssh_agent=true,-Dssh_agent=false,libsecret,openssh" |
35 | #'Use systemd socket activation for server programs' | 36 | #'Use systemd socket activation for server programs' |
36 | PACKAGECONFIG[systemd] = "-Dsystemd=enabled,-Dsystemd=disabled,systemd" | 37 | PACKAGECONFIG[systemd] = "-Dsystemd=enabled,-Dsystemd=disabled,systemd" |
38 | PACKAGECONFIG[vapi] = "-Dvapi=true,-Dvapi=false," | ||
37 | 39 | ||
38 | FILES:${PN} += " \ | 40 | FILES:${PN} += " \ |
39 | ${datadir}/dbus-1 \ | 41 | ${datadir}/dbus-1 \ |