Gentoo Archives: gentoo-commits

From: "Pacho Ramos (pacho)" <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-misc/colord: colord-0.1.31.ebuild ChangeLog
Date: Thu, 28 Mar 2013 22:23:39
Message-Id: 20130328222336.B191E2171D@flycatcher.gentoo.org
1 pacho 13/03/28 22:23:36
2
3 Modified: ChangeLog
4 Added: colord-0.1.31.ebuild
5 Log:
6 Version bump for Gnome 3.8
7
8 (Portage version: 2.1.11.58/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
9
10 Revision Changes Path
11 1.59 x11-misc/colord/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/colord/ChangeLog?rev=1.59&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/colord/ChangeLog?rev=1.59&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/colord/ChangeLog?r1=1.58&r2=1.59
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/x11-misc/colord/ChangeLog,v
20 retrieving revision 1.58
21 retrieving revision 1.59
22 diff -u -r1.58 -r1.59
23 --- ChangeLog 28 Mar 2013 16:05:03 -0000 1.58
24 +++ ChangeLog 28 Mar 2013 22:23:36 -0000 1.59
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.58 2013/03/28 16:05:03 ago Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/colord/ChangeLog,v 1.59 2013/03/28 22:23:36 pacho Exp $
30 +
31 +*colord-0.1.31 (28 Mar 2013)
32 +
33 + 28 Mar 2013; Pacho Ramos <pacho@g.o> +colord-0.1.31.ebuild:
34 + Version bump for Gnome 3.8
35
36 28 Mar 2013; Agostino Sarubbo <ago@g.o> colord-0.1.28.ebuild:
37 Stable for arm, wrt bug #458984
38
39
40
41 1.1 x11-misc/colord/colord-0.1.31.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/colord/colord-0.1.31.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/colord/colord-0.1.31.ebuild?rev=1.1&content-type=text/plain
45
46 Index: colord-0.1.31.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.31.ebuild,v 1.1 2013/03/28 22:23:36 pacho 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="doc examples extra-print-profiles +gusb +introspection systemd +udev vala"
66 REQUIRED_USE="vala? ( introspection )"
67
68 COMMON_DEPEND="
69 dev-db/sqlite:3=
70 >=dev-libs/glib-2.28.0:2
71 >=media-libs/lcms-2.2:2=
72 >=sys-auth/polkit-0.103
73 gusb? ( >=dev-libs/libgusb-0.1.1 )
74 introspection? ( >=dev-libs/gobject-introspection-0.9.8 )
75 systemd? ( >=sys-apps/systemd-44 )
76 udev? ( virtual/udev:=[gudev] )"
77 RDEPEND="${COMMON_DEPEND}
78 !media-gfx/shared-color-profiles"
79 DEPEND="${COMMON_DEPEND}
80 dev-libs/libxslt
81 >=dev-util/intltool-0.35
82 >=sys-devel/gettext-0.17
83 virtual/pkgconfig
84 doc? (
85 app-text/docbook-xml-dtd:4.1.2
86 >=dev-util/gtk-doc-1.9 )
87 extra-print-profiles? ( media-gfx/argyllcms )
88 vala? ( $(vala_depend) )"
89
90 # FIXME: needs pre-installed dbus service files
91 RESTRICT="test"
92
93 # According to upstream comment in colord.spec.in, building the extra print
94 # profiles requires >=4G of memory
95 CHECKREQS_MEMORY="4G"
96
97 pkg_pretend() {
98 use extra-print-profiles && check-reqs_pkg_pretend
99 }
100
101 pkg_setup() {
102 use extra-print-profiles && check-reqs_pkg_setup
103 enewgroup colord
104 enewuser colord -1 -1 /var/lib/colord colord
105 }
106
107 src_prepare() {
108 use vala && vala_src_prepare
109 }
110
111 src_configure() {
112 # Reverse tools require gusb
113 econf \
114 --disable-examples \
115 --disable-static \
116 --enable-polkit \
117 --disable-volume-search \
118 --with-daemon-user=colord \
119 --localstatedir="${EPREFIX}"/var \
120 $(use_enable doc gtk-doc) \
121 $(use_enable extra-print-profiles print-profiles) \
122 $(usex extra-print-profiles COLPROF="$(type -P argyll-colprof)" "") \
123 $(use_enable gusb) \
124 $(use_enable gusb reverse) \
125 $(use_enable introspection) \
126 $(use_enable systemd systemd-login) \
127 $(use_enable udev gudev) \
128 --with-udevrulesdir="$(udev_get_udevdir)"/rules.d \
129 $(use_enable vala) \
130 "$(systemd_with_unitdir)"
131
132 # parallel make fails in doc/api
133 use doc && MAKEOPTS="${MAKEOPTS} -j1"
134 }
135
136 src_install() {
137 DOCS=(AUTHORS ChangeLog MAINTAINERS NEWS README TODO)
138 default
139
140 newbashcomp client/colormgr-completion.bash colormgr
141 rm -vr "${ED}etc/bash_completion.d"
142
143 # Ensure config and profile directories exist and /var/lib/colord/*
144 # is writable by colord user
145 keepdir /var/lib/color{,d}/icc
146 fowners colord:colord /var/lib/colord{,/icc}
147
148 if use examples; then
149 insinto /usr/share/doc/${PF}/examples
150 doins examples/*.c
151 fi
152
153 prune_libtool_files --modules
154 }