2011-09-29 12:38:13 +02:00
|
|
|
# Template file for 'colord'
|
|
|
|
pkgname=colord
|
2013-06-27 06:44:57 +02:00
|
|
|
version=1.0.1
|
|
|
|
revision=1
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2012-05-18 10:54:53 +02:00
|
|
|
configure_args="--disable-static --disable-schemas-compile
|
2012-10-30 22:11:38 +01:00
|
|
|
--with-systemdsystemunitdir=/usr/lib/systemd/system --enable-vala
|
2013-05-03 19:39:36 +02:00
|
|
|
--with-udevrulesdir=/usr/lib/udev/rules.d --disable-bash-completion
|
2012-10-30 22:11:38 +01:00
|
|
|
--enable-polkit --enable-volume-search --with-daemon-user=colord"
|
2013-03-28 16:57:24 +01:00
|
|
|
hostmakedepends="pkg-config intltool gobject-introspection docbook2x"
|
|
|
|
makedepends="vala-devel>=0.20 libgudev-devel polkit-devel lcms2-devel dbus-devel
|
2013-04-12 08:55:23 +02:00
|
|
|
libusb-devel libgusb-devel>=0.1.6 systemd-devel sqlite-devel shared-color-profiles"
|
2013-01-26 08:24:25 +01:00
|
|
|
short_desc="System daemon for managing color devices"
|
2011-09-29 12:38:13 +02:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-07-09 18:41:39 +02:00
|
|
|
homepage="http://www.freedesktop.org/software/colord"
|
2013-01-26 08:24:25 +01:00
|
|
|
license="GPL-2"
|
2012-07-09 18:41:39 +02:00
|
|
|
distfiles="$homepage/releases/$pkgname-$version.tar.xz"
|
2013-06-27 06:44:57 +02:00
|
|
|
checksum=053f028aba6071068064ca7fe949bb3f74fb5ad16af2d7ec5bba10dea00cb785
|
2013-04-12 08:55:23 +02:00
|
|
|
|
|
|
|
libcolord_package() {
|
2013-05-03 19:37:29 +02:00
|
|
|
short_desc+=" - runtime library"
|
2013-04-12 08:55:23 +02:00
|
|
|
replaces="colord<0.1.23_3"
|
|
|
|
pkg_install() {
|
2013-06-27 06:44:57 +02:00
|
|
|
vmove "usr/lib/*.so.*"
|
2013-04-12 08:55:23 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
colord-devel_package() {
|
2013-04-19 08:42:40 +02:00
|
|
|
depends="dbus-devel libglib-devel lcms2-devel libcolord-${version}_${revision}"
|
2013-05-03 19:37:29 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 08:55:23 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-06-27 06:44:57 +02:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 08:55:23 +02:00
|
|
|
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"
|
2013-05-21 21:38:27 +02:00
|
|
|
make_dirs="
|
|
|
|
/var/lib/colord 0755 colord colord
|
|
|
|
/var/lib/colord/icc 0755 colord colord"
|
2013-04-13 13:29:34 +02:00
|
|
|
depends="shared-color-profiles shadow"
|
2013-04-12 08:55:23 +02:00
|
|
|
pkg_install() {
|
2013-04-19 08:42:40 +02:00
|
|
|
vmove all
|
2013-04-12 08:55:23 +02:00
|
|
|
}
|
|
|
|
}
|