52 lines
1.5 KiB
Plaintext
52 lines
1.5 KiB
Plaintext
# Template file for 'colord'
|
|
pkgname=colord
|
|
version=1.0.4
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static --disable-schemas-compile
|
|
--with-systemdsystemunitdir=/usr/lib/systemd/system --enable-vala
|
|
--with-udevrulesdir=/usr/lib/udev/rules.d --disable-bash-completion
|
|
--enable-polkit --enable-volume-search --with-daemon-user=colord"
|
|
hostmakedepends="pkg-config intltool gobject-introspection docbook2x"
|
|
makedepends="vala-devel>=0.20 libgudev-devel polkit-devel lcms2-devel dbus-devel
|
|
libusb-devel libgusb-devel>=0.1.6 systemd-devel sqlite-devel shared-color-profiles"
|
|
short_desc="System daemon for managing color devices"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
homepage="http://www.freedesktop.org/software/colord"
|
|
license="GPL-2"
|
|
distfiles="$homepage/releases/$pkgname-$version.tar.xz"
|
|
checksum=e716d5c284031f7cc6a3fc7aeceab5df2bc5bb17920a57e37b2d800ce26d8bdc
|
|
|
|
libcolord_package() {
|
|
short_desc+=" - runtime library"
|
|
replaces="colord<0.1.23_3"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so.*"
|
|
}
|
|
}
|
|
|
|
colord-devel_package() {
|
|
depends="dbus-devel libglib-devel lcms2-devel libcolord>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/share/gir-1.0
|
|
vmove usr/share/vala
|
|
}
|
|
}
|
|
|
|
colord_package() {
|
|
conf_files="/etc/colord.conf"
|
|
system_accounts="colord"
|
|
colord_homedir="/var/lib/colord"
|
|
make_dirs="
|
|
/var/lib/colord 0755 colord colord
|
|
/var/lib/colord/icc 0755 colord colord"
|
|
depends="shared-color-profiles shadow"
|
|
pkg_install() {
|
|
vmove all
|
|
}
|
|
}
|