diff --git a/srcpkgs/colord/template b/srcpkgs/colord/template index f401dc63c2..89c1c9f770 100644 --- a/srcpkgs/colord/template +++ b/srcpkgs/colord/template @@ -5,7 +5,7 @@ revision=1 build_style=gnu-configure configure_args="--disable-static --disable-schemas-compile --with-udevrulesdir=/usr/lib/udev/rules.d --with-daemon-user=colord - --enable-polkit --enable-gusb --enable-udev --enable-sane + --enable-polkit $(vopt_enable gusb) --enable-udev --enable-sane --disable-argyllcms-sensor $(vopt_enable gir introspection) --disable-systemd-login --enable-vala" conf_files="/etc/dbus-1/system.d/org.freedesktop.ColorManager.conf" @@ -17,24 +17,25 @@ make_dirs=" short_desc="System daemon for managing color devices" maintainer="Juan RP " homepage="http://www.freedesktop.org/software/colord" -license="GPL-2" +license="GPL-2.0-only" distfiles="$homepage/releases/$pkgname-$version.tar.xz" checksum=2daa8ffd2a532d7094927cd1a4af595b8310cea66f7707edcf6ab743460feed2 -hostmakedepends="pkg-config intltool docbook2x gobject-introspection" -makedepends="vala-devel libgudev-devel polkit-devel lcms2-devel dbus-devel - libusb-devel libgusb-devel sqlite-devel sane-devel eudev-libudev-devel bash-completion" +hostmakedepends="docbook2x gobject-introspection intltool pkg-config" +makedepends="bash-completion lcms2-devel libgudev-devel polkit-devel sane-devel + sqlite-devel vala-devel $(vopt_if gusb 'libusb-devel libgusb-devel')" if [ "$CROSS_BUILD" ]; then hostmakedepends+=" automake libtool gettext-devel glib-devel gtk-doc colord" fi # Package build options -build_options="gir" +build_options="gir gusb" +desc_option_gusb="Enable support for libgusb" -# Disable gir for cross builds. +# Disable gir and gusb for cross builds. if [ -z "$CROSS_BUILD" ]; then - build_options_default+=" gir" + build_options_default="gir gusb" fi pre_configure() {