diff mbox series

[meta-gnome,2/2] colord: add a vapi PACKAGECONFIG

Message ID 20261109115426.1051480-2-f_l_k@t-online.de
State Under Review
Headers show
Series [meta-gnome,1/2] ibus: upgrade 1.5.34 -> 1.5.35 | expand

Commit Message

Markus Volk Nov. 9, 2026, 11:54 a.m. UTC
Build the vala bindings by default. simple-scan uses colord when it is
found and needs colord.vapi for it.

Tested by building colord and simple-scan for x86-64.

AI-Generated: Uses Claude Code (Claude Opus 5.5)
Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
 meta-oe/recipes-support/colord/colord.bb | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/meta-oe/recipes-support/colord/colord.bb b/meta-oe/recipes-support/colord/colord.bb
index 571c4b1826..f954f4d97e 100644
--- a/meta-oe/recipes-support/colord/colord.bb
+++ b/meta-oe/recipes-support/colord/colord.bb
@@ -1,6 +1,6 @@ 
 require ${BPN}.inc
 
-inherit meson gobject-introspection gsettings gtk-doc gettext bash-completion systemd features_check useradd pkgconfig
+inherit meson gobject-introspection gsettings gtk-doc gettext bash-completion systemd features_check useradd pkgconfig vala
 
 # polkit and gobject-introspection are mandatory and cannot be configured
 REQUIRED_DISTRO_FEATURES = "polkit gobject-introspection-data"
@@ -29,8 +29,9 @@  EXTRA_OEMESON += " \
 	-Dpnp_ids=${datadir}/hwdata/pnp.ids \
 "
 
-PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
+PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} vapi"
 PACKAGECONFIG[systemd] = "-Dsystemd=true, -Dsystemd=false, systemd"
+PACKAGECONFIG[vapi] = "-Dvapi=true,-Dvapi=false"
 
 SYSTEMD_SERVICE:${PN} = "colord.service"