mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 08:52:56 +02:00
colord: add build option gusb
Since libgusb now hard depends on gobject-introspection, it can no longer be cross compiled. Not having cross colord-devel would require us to cross build gtk+3 without it. Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
parent
d54911f3fc
commit
0cd7f75f10
1 changed files with 9 additions and 8 deletions
|
@ -5,7 +5,7 @@ revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-static --disable-schemas-compile
|
configure_args="--disable-static --disable-schemas-compile
|
||||||
--with-udevrulesdir=/usr/lib/udev/rules.d --with-daemon-user=colord
|
--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-argyllcms-sensor $(vopt_enable gir introspection)
|
||||||
--disable-systemd-login --enable-vala"
|
--disable-systemd-login --enable-vala"
|
||||||
conf_files="/etc/dbus-1/system.d/org.freedesktop.ColorManager.conf"
|
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"
|
short_desc="System daemon for managing color devices"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
homepage="http://www.freedesktop.org/software/colord"
|
homepage="http://www.freedesktop.org/software/colord"
|
||||||
license="GPL-2"
|
license="GPL-2.0-only"
|
||||||
distfiles="$homepage/releases/$pkgname-$version.tar.xz"
|
distfiles="$homepage/releases/$pkgname-$version.tar.xz"
|
||||||
checksum=2daa8ffd2a532d7094927cd1a4af595b8310cea66f7707edcf6ab743460feed2
|
checksum=2daa8ffd2a532d7094927cd1a4af595b8310cea66f7707edcf6ab743460feed2
|
||||||
|
|
||||||
hostmakedepends="pkg-config intltool docbook2x gobject-introspection"
|
hostmakedepends="docbook2x gobject-introspection intltool pkg-config"
|
||||||
makedepends="vala-devel libgudev-devel polkit-devel lcms2-devel dbus-devel
|
makedepends="bash-completion lcms2-devel libgudev-devel polkit-devel sane-devel
|
||||||
libusb-devel libgusb-devel sqlite-devel sane-devel eudev-libudev-devel bash-completion"
|
sqlite-devel vala-devel $(vopt_if gusb 'libusb-devel libgusb-devel')"
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
hostmakedepends+=" automake libtool gettext-devel glib-devel gtk-doc colord"
|
hostmakedepends+=" automake libtool gettext-devel glib-devel gtk-doc colord"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Package build options
|
# 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
|
if [ -z "$CROSS_BUILD" ]; then
|
||||||
build_options_default+=" gir"
|
build_options_default="gir gusb"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue