# Template file for 'colord'
pkgname=colord
version=0.1.23
revision=1
build_style=gnu-configure
configure_args="--disable-static --disable-schemas-compile
--with-systemdsystemunitdir=/usr/lib/systemd/system --enable-volume-search"
depends="dbus sane"
makedepends="pkg-config intltool gobject-introspection docbook2x sqlite-devel
vala-devel libgudev-devel polkit-devel lcms2-devel libusb-devel dbus-devel
libgusb-devel sane-devel"
fulldepends="shared-color-profiles"
conf_files="/etc/colord.conf"
subpackages="$pkgname-devel"
short_desc="Color daemon"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.freedesktop.org/software/colord"
distfiles="$homepage/releases/$pkgname-$version.tar.xz"
checksum=e0e9da36e28b3f977ce32accdc5cbac415ac2575031377c63b1e7bd2af32d789
long_desc="
 colord is a system service that makes it easy to manage, install and generate
 color profiles to accurately color manage input and output devices.

 What colord does:
  Provides a D-Bus API for system frameworks to query, e.g. Get me the profiles
  for device foo or Create a device and assign it profile bar.
  Provides a persistent database backed store that is preserved across reboots.
  Provides the session for a way to set system settings, for instance setting
  the display profile for all users and all sessions.

 colord itself is a system activated daemon called colord. Being system
 activated means that it's only started when the user is using a text mode
 or graphical tool."

pre_configure() {
	sed -i "/slashlibdir=/s#/lib#/usr/lib#" configure
}
