# Template file for 'colord'
pkgname=colord
version=0.1.21
revision=3
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=360b896b0d2a35970a0cd42e448ea327d789f309ff95022190c4d33bb8b02c30
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
}
