Gentoo Archives: gentoo-commits

From: "Gilles Dartiguelongue (eva)" <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-misc/colord: ChangeLog colord-0.1.34.ebuild
Date: Sun, 30 Jun 2013 20:43:43
Message-Id: 20130630204337.6B77B2171C@flycatcher.gentoo.org
1 eva 13/06/30 20:43:37
2
3 Modified: ChangeLog
4 Added: colord-0.1.34.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha186/cvs/Linux x86_64, signed Manifest commit with key C6085806)
9
10 Revision Changes Path
11 1.64 x11-misc/colord/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/colord/ChangeLog?rev=1.64&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/colord/ChangeLog?rev=1.64&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/colord/ChangeLog?r1=1.63&r2=1.64
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/x11-misc/colord/ChangeLog,v
20 retrieving revision 1.63
21 retrieving revision 1.64
22 diff -u -r1.63 -r1.64
23 --- ChangeLog 30 Jun 2013 20:19:31 -0000 1.63
24 +++ ChangeLog 30 Jun 2013 20:43:37 -0000 1.64
25 @@ -1,6 +1,11 @@
26 # ChangeLog for x11-misc/colord
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/colord/ChangeLog,v 1.63 2013/06/30 20:19:31 eva Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/colord/ChangeLog,v 1.64 2013/06/30 20:43:37 eva Exp $
30 +
31 +*colord-0.1.34 (30 Jun 2013)
32 +
33 + 30 Jun 2013; Gilles Dartiguelongue <eva@g.o> +colord-0.1.34.ebuild:
34 + Version bump.
35
36 30 Jun 2013; Gilles Dartiguelongue <eva@g.o> colord-0.1.31.ebuild:
37 Add missing sane support, fix gtk-doc support per team policy, fix glib
38
39
40
41 1.1 x11-misc/colord/colord-0.1.34.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/colord/colord-0.1.34.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/colord/colord-0.1.34.ebuild?rev=1.1&content-type=text/plain
45
46 Index: colord-0.1.34.ebuild
47 ===================================================================
48 # Copyright 1999-2013 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/x11-misc/colord/colord-0.1.34.ebuild,v 1.1 2013/06/30 20:43:37 eva Exp $
51
52 EAPI="5"
53 VALA_MIN_API_VERSION="0.18"
54 VALA_USE_DEPEND="vapigen"
55
56 inherit bash-completion-r1 check-reqs eutils user systemd base udev vala
57
58 DESCRIPTION="System service to accurately color manage input and output devices"
59 HOMEPAGE="http://www.freedesktop.org/software/colord/"
60 SRC_URI="http://www.freedesktop.org/software/colord/releases/${P}.tar.xz"
61
62 LICENSE="GPL-2+"
63 SLOT="0/1" # subslot = libcolord soname version
64 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
65 IUSE="examples extra-print-profiles +gusb +introspection scanner systemd +udev vala"
66 REQUIRED_USE="
67 scanner? ( udev )
68 vala? ( introspection )"
69
70 COMMON_DEPEND="
71 dev-db/sqlite:3=
72 >=dev-libs/glib-2.32.0:2
73 >=media-libs/lcms-2.2:2=
74 >=sys-auth/polkit-0.103
75 gusb? ( >=dev-libs/libgusb-0.1.1 )
76 introspection? ( >=dev-libs/gobject-introspection-0.9.8 )
77 scanner? ( media-gfx/sane-backends )
78 systemd? ( >=sys-apps/systemd-44 )
79 udev? ( virtual/udev:=[gudev] )"
80 RDEPEND="${COMMON_DEPEND}
81 !media-gfx/shared-color-profiles"
82 DEPEND="${COMMON_DEPEND}
83 dev-libs/libxslt
84 >=dev-util/gtk-doc-am-1.9
85 >=dev-util/intltool-0.35
86 >=sys-devel/gettext-0.17
87 virtual/pkgconfig
88 extra-print-profiles? ( media-gfx/argyllcms )
89 vala? ( $(vala_depend) )"
90
91 # FIXME: needs pre-installed dbus service files
92 RESTRICT="test"
93
94 # According to upstream comment in colord.spec.in, building the extra print
95 # profiles requires >=4G of memory
96 CHECKREQS_MEMORY="4G"
97
98 pkg_pretend() {
99 use extra-print-profiles && check-reqs_pkg_pretend
100 }
101
102 pkg_setup() {
103 use extra-print-profiles && check-reqs_pkg_setup
104 enewgroup colord
105 enewuser colord -1 -1 /var/lib/colord colord
106 }
107
108 src_prepare() {
109 use vala && vala_src_prepare
110 }
111
112 src_configure() {
113 # Reverse tools require gusb
114 # bash-completion test does not work on gentoo
115 econf \
116 --disable-bash-completion \
117 --disable-examples \
118 --disable-gtk-doc \
119 --disable-static \
120 --disable-volume-search \
121 --enable-polkit \
122 --with-daemon-user=colord \
123 --localstatedir="${EPREFIX}"/var \
124 $(use_enable extra-print-profiles print-profiles) \
125 $(usex extra-print-profiles COLPROF="$(type -P argyll-colprof)" "") \
126 $(use_enable gusb) \
127 $(use_enable gusb reverse) \
128 $(use_enable introspection) \
129 $(use_enable scanner sane) \
130 $(use_enable systemd systemd-login) \
131 $(use_enable udev gudev) \
132 --with-udevrulesdir="$(udev_get_udevdir)"/rules.d \
133 $(use_enable vala) \
134 "$(systemd_with_unitdir)"
135 }
136
137 src_install() {
138 DOCS=(AUTHORS ChangeLog MAINTAINERS NEWS README TODO)
139 default
140
141 newbashcomp data/colormgr colormgr
142 rm -vr "${ED}etc/bash_completion.d"
143
144 # Ensure config and profile directories exist and /var/lib/colord/*
145 # is writable by colord user
146 keepdir /var/lib/color{,d}/icc
147 fowners colord:colord /var/lib/colord{,/icc}
148
149 if use examples; then
150 insinto /usr/share/doc/${PF}/examples
151 doins examples/*.c
152 fi
153
154 prune_libtool_files --modules
155 }