# $Id$ PNAME="colord" PVER="1.4.3" PBUILD="r1" PCAT="x11-misc" DESCRIPTION="System service to accurately color manage input and output devices." HOMEPAGE="http://www.freedesktop.org/software/colord/" DEPEND=">= dev-libs/glib2-2.54 >= dev-db/sqlite-3.20 >= media-libs/lcms2-2.8 >= sys-fs/udev-230 >= sys-apps/polkit-0.113 >= dev-libs/libgusb-0.2.11 >= media-gfx/sane-backends-1.0.27 >= media-gfx/shared-color-profiles-0.1.5" SDEPEND=">= dev-libs/libxslt-1.1.26 >= dev-util/intltool-0.50 >= dev-util/pkgconfig-0.25 >= dev-lang/vala-0.38 >= sys-dev/gettext-0.18 >= sys-dev/autoconf-10 >= sys-dev/automake-9 >= dev-libs/gobject-introspection-1.54 >= virtual/sed" SRCFILE="${PNAME}-${PVER}.tar.xz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude multilib meson mtools udev systemd msetfeature "!check" SRC_URI=( http://www.freedesktop.org/software/${PNAME}/releases/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) UP2DATE="updatecmd ${HOMEPAGE}/releases | highesttarball xz" pkg_setup() { preinstall } src_compile() { meson_setup_builddir || die meson_configure \ $(meson_with daemon_user colord) \ $(meson_enable systemd) \ $(meson_enable libcolorcompat) \ $(meson_enable sane) \ $(meson_enable vala) \ $(meson_disable man) \ $(meson_disable docs) \ $(meson_disable bash_completion) \ $(meson_disable argyllcms_sensor) \ $(meson_disable print_profiles) \ $(meson_disable reverse) \ || die mninja || die } preinstall() { # adding ssh user mgroupadd colord museradd -o "-g colord -d /var/lib/colord -s /bin/false" colord }