Magellan Linux

Annotation of /branches/R11-unstable/extras/colord/colord-1.2.9-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 25157 - (hide annotations) (download)
Tue Nov 25 03:08:43 2014 UTC (9 years, 7 months ago) by niro
File size: 1904 byte(s)
-release branches/R11-unstable
1 niro 24703 # $Id$
2    
3     PNAME="colord"
4     PVER="1.2.9"
5     PBUILD="r1"
6    
7     PCAT="x11-misc"
8    
9     DESCRIPTION="System service to accurately color manage input and output devices."
10     HOMEPAGE="http://www.freedesktop.org/software/colord/"
11    
12     DEPEND=">= dev-libs/glib2-2.42
13     >= dev-db/sqlite-3.8
14     >= media-libs/lcms2-2.6
15     >= sys-fs/udev-216
16     >= sys-apps/polkit-0.112
17     >= dev-libs/libgusb-0.2.2
18     >= media-gfx/sane-backends-1.0.24
19     >= media-gfx/shared-color-profiles-0.1.5"
20    
21     SDEPEND=">= dev-libs/libxslt-1.1.26
22     >= dev-util/intltool-0.50
23     >= dev-util/pkgconfig-0.25
24     >= dev-lang/vala-0.26
25     >= sys-dev/gettext-0.18
26     >= sys-dev/autoconf-4
27     >= sys-dev/automake-3
28     >= dev-libs/gobject-introspection-1.42
29     >= virtual/sed"
30    
31     SRCFILE="${PNAME}-${PVER}.tar.xz"
32     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
33    
34     sminclude multilib mtools systemd
35     msetfeature "!check"
36    
37     SRC_URI=(
38     http://www.freedesktop.org/software/${PNAME}/releases/${SRCFILE}
39     mirror://${PNAME}/${SRCFILE}
40     )
41    
42     UP2DATE="updatecmd '${HOMEPAGE}/releases/?C=M;O=A' | lasttarball xz"
43    
44     pkg_setup()
45     {
46     preinstall
47     }
48    
49     src_prepare()
50     {
51     munpack ${SRCFILE} || die
52    
53     # fix udev dir location
54     all-abis 'sed -i "s:^\(udevrulesdir =\).*:\1 /usr/lib/udev:" rules/Makefile.{am,in} || die'
55     }
56    
57     src_compile()
58     {
59     mconfigure \
60     --libexecdir=/usr/'$(mlibdir)'/${PNAME} \
61     --with-daemon-user=colord \
62     --with-systemdsystemunitdir='$(mget-systemd-unit-dir)' \
63     --enable-polkit \
64     --enable-gusb \
65     --enable-reverse \
66     --enable-introspection \
67     --enable-sane \
68     --enable-gudev \
69     --enable-vala \
70     --disable-schemas-compile \
71     --disable-examples \
72     --disable-volume-search \
73     --disable-rpath \
74     --disable-gtk-doc \
75     --disable-bash-completion \
76     --disable-argyllcms-sensor \
77     || die
78    
79     # fixme
80     mmake VAPIGENFLAGS="--girdir=$(pkg-config --variable=girdir gobject-introspection-1.0)" || die
81     }
82    
83     preinstall()
84     {
85     # adding ssh user
86     mgroupadd colord
87     museradd -o "-g colord -d /var/lib/colord -s /bin/false" colord
88     }