diff options
author | Pacho Ramos <pacho@gentoo.org> | 2012-09-30 09:27:48 +0000 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2012-09-30 09:27:48 +0000 |
commit | ec3168cf4a576413666e799783bdaf896faa97bb (patch) | |
tree | ec1b8ed4d7822f4a5552987e923b5c2a4e41de59 /x11-misc | |
parent | Revision bump to add ruby19 for bug 436344. (diff) | |
download | gentoo-2-ec3168cf4a576413666e799783bdaf896faa97bb.tar.gz gentoo-2-ec3168cf4a576413666e799783bdaf896faa97bb.tar.bz2 gentoo-2-ec3168cf4a576413666e799783bdaf896faa97bb.zip |
Version bump.
(Portage version: 2.1.11.23/cvs/Linux x86_64)
Diffstat (limited to 'x11-misc')
-rw-r--r-- | x11-misc/colord/ChangeLog | 7 | ||||
-rw-r--r-- | x11-misc/colord/colord-0.1.23.ebuild | 106 |
2 files changed, 112 insertions, 1 deletions
diff --git a/x11-misc/colord/ChangeLog b/x11-misc/colord/ChangeLog index 3218f212c9e1..53ddd117fcd8 100644 --- a/x11-misc/colord/ChangeLog +++ b/x11-misc/colord/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for x11-misc/colord # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/colord/ChangeLog,v 1.34 2012/09/08 02:23:08 nirbheek Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/colord/ChangeLog,v 1.35 2012/09/30 09:27:48 pacho Exp $ + +*colord-0.1.23 (30 Sep 2012) + + 30 Sep 2012; Pacho Ramos <pacho@gentoo.org> +colord-0.1.23.ebuild: + Version bump. 08 Sep 2012; Nirbheek Chauhan <nirbheek@gentoo.org> colord-0.1.22.ebuild: Use either vala-0.14, or vala-0.18 diff --git a/x11-misc/colord/colord-0.1.23.ebuild b/x11-misc/colord/colord-0.1.23.ebuild new file mode 100644 index 000000000000..9d6f3749c13d --- /dev/null +++ b/x11-misc/colord/colord-0.1.23.ebuild @@ -0,0 +1,106 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/colord/colord-0.1.23.ebuild,v 1.1 2012/09/30 09:27:48 pacho Exp $ + +EAPI="4" +VALA_MIN_API_VERSION="0.18" +VALA_USE_DEPEND="vapigen" + +inherit autotools bash-completion-r1 eutils user systemd base toolchain-funcs vala + +DESCRIPTION="System service to accurately color manage input and output devices" +HOMEPAGE="http://www.freedesktop.org/software/colord/" +SRC_URI="http://www.freedesktop.org/software/colord/releases/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd" +IUSE="doc examples +gusb +introspection scanner +udev vala" +REQUIRED_USE="vala? ( introspection )" + +COMMON_DEPEND=" + dev-db/sqlite:3 + >=dev-libs/glib-2.28.0:2 + >=media-libs/lcms-2.2:2 + >=sys-auth/polkit-0.103 + gusb? ( >=dev-libs/libgusb-0.1.1 ) + introspection? ( >=dev-libs/gobject-introspection-0.9.8 ) + scanner? ( media-gfx/sane-backends ) + udev? ( || ( sys-fs/udev[gudev] sys-fs/udev[extras] ) )" +RDEPEND="${COMMON_DEPEND} + media-gfx/shared-color-profiles" +DEPEND="${COMMON_DEPEND} + dev-libs/libxslt + >=dev-util/intltool-0.35 + >=sys-devel/gettext-0.17 + virtual/pkgconfig + doc? ( + app-text/docbook-xml-dtd:4.1.2 + >=dev-util/gtk-doc-1.9 ) + vala? ( $(vala_depend) )" + +# FIXME: needs pre-installed dbus service files +RESTRICT="test" + +DOCS=(AUTHORS ChangeLog MAINTAINERS NEWS README TODO) + +pkg_setup() { + enewgroup colord + enewuser colord -1 -1 /var/lib/colord colord +} + +src_prepare() { + use vala && vala_src_prepare + + # https://bugs.freedesktop.org/show_bug.cgi?id=55464 + epatch "${FILESDIR}/${PN}-0.1.11-fix-automagic-vala.patch" + + # https://bugs.freedesktop.org/show_bug.cgi?id=55465 + epatch "${FILESDIR}/${PN}-0.1.15-fix-automagic-libgusb.patch" + + eautoreconf +} + +src_configure() { + # Reverse tools require gusb + econf \ + --disable-examples \ + --disable-static \ + --enable-polkit \ + --disable-volume-search \ + --with-daemon-user=colord \ + --localstatedir="${EPREFIX}"/var \ + $(use_enable doc gtk-doc) \ + $(use_enable gusb) \ + $(use_enable gusb reverse) \ + $(use_enable introspection) \ + $(use_enable scanner sane) \ + $(use_enable udev gudev) \ + $(use_enable vala) \ + "$(systemd_with_unitdir)" + + # parallel make fails in doc/api + use doc && MAKEOPTS="${MAKEOPTS} -j1" +} + +src_install() { + local udevdir=/lib/udev + use udev && udevdir="$($(tc-getPKG_CONFIG) --variable=udevdir udev)" + + base_src_install udevrulesdir="${udevdir}"/rules.d + + newbashcomp client/colormgr-completion.bash colormgr + rm -vr "${ED}etc/bash_completion.d" + + # Ensure config and profile directories exist and /var/lib/colord/* + # is writable by colord user + keepdir /var/lib/color{,d}/icc + fowners colord:colord /var/lib/colord{,/icc} + + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins examples/*.c + fi + + prune_libtool_files --all +} |