colord: re-enable vala support

This commit is contained in:
Alessio Sergi 2018-08-08 19:32:55 +02:00
parent 28a254bcd0
commit b85fc00ee6

View file

@ -1,13 +1,13 @@
# Template file for 'colord'
pkgname=colord
version=1.3.5
revision=2
revision=3
build_style=gnu-configure
configure_args="--disable-static --disable-schemas-compile
--with-udevrulesdir=/usr/lib/udev/rules.d --with-daemon-user=colord
--enable-polkit $(vopt_enable gusb) --enable-udev --enable-sane
--disable-argyllcms-sensor $(vopt_enable gir introspection)
--disable-systemd-login --disable-vala"
$(vopt_enable gir vala) --disable-systemd-login"
conf_files="/etc/dbus-1/system.d/org.freedesktop.ColorManager.conf"
system_accounts="colord"
colord_homedir="/var/lib/colord"
@ -23,7 +23,7 @@ checksum=2daa8ffd2a532d7094927cd1a4af595b8310cea66f7707edcf6ab743460feed2
hostmakedepends="docbook2x gobject-introspection intltool pkg-config"
makedepends="bash-completion lcms2-devel libgudev-devel polkit-devel sane-devel
sqlite-devel $(vopt_if gusb 'libusb-devel libgusb-devel')"
sqlite-devel $(vopt_if gir 'vala-devel') $(vopt_if gusb 'libusb-devel libgusb-devel')"
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" automake libtool gettext-devel glib-devel gtk-doc colord"
@ -65,6 +65,7 @@ colord-devel_package() {
vmove "usr/lib/*.so"
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
vmove usr/share/vala
fi
}
}