Contents of /trunk/extras/colord/colord-0.1.17-r1.smage2
Parent Directory | Revision Log
Revision 11486 -
(show annotations)
(download)
Sat Mar 10 21:21:26 2012 UTC (12 years, 3 months ago) by niro
File size: 1579 byte(s)
Sat Mar 10 21:21:26 2012 UTC (12 years, 3 months ago) by niro
File size: 1579 byte(s)
auto added: ver bump to 0.1.17-r1
1 | # $Id$ |
2 | |
3 | PNAME="colord" |
4 | PVER="0.1.17" |
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.30 |
13 | >= dev-db/sqlite-3.7 |
14 | >= media-libs/lcms2-2.3 |
15 | >= sys-fs/udev-181 |
16 | >= sys-apps/polkit-0.104 |
17 | >= dev-libs/libgusb-0.1.3 |
18 | >= media-gfx/sane-backends-1.0.22 |
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.14 |
25 | >= sys-dev/gettext-0.18 |
26 | >= sys-dev/autoconf-4 |
27 | >= sys-dev/automake-3 |
28 | >= dev-libs/gobject-introspection-1.30" |
29 | |
30 | SRCFILE="${PNAME}-${PVER}.tar.xz" |
31 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
32 | |
33 | sminclude mbuild mtools |
34 | |
35 | SRC_URI=( |
36 | http://www.freedesktop.org/software/${PNAME}/releases/${SRCFILE} |
37 | mirror://${PNAME}/${SRCFILE} |
38 | ) |
39 | |
40 | UP2DATE="updatecmd '${HOMEPAGE}/releases/?C=M;O=A' | lasttarball xz" |
41 | |
42 | src_compile() |
43 | { |
44 | cd ${SRCDIR} |
45 | |
46 | mconfigure \ |
47 | --with-daemon-user=colord \ |
48 | --with-systemdsystemunitdir=/usr/lib/systemd/system \ |
49 | --enable-polkit \ |
50 | --enable-gusb \ |
51 | --enable-reverse \ |
52 | --enable-introspection \ |
53 | --enable-sane \ |
54 | --enable-gudev \ |
55 | --enable-vala \ |
56 | --disable-schemas-compile \ |
57 | --disable-examples \ |
58 | --disable-volume-search \ |
59 | --disable-rpath \ |
60 | --disable-gtk-doc \ |
61 | || die |
62 | |
63 | mmake || die |
64 | } |
65 | |
66 | preinstall() |
67 | { |
68 | # adding ssh user |
69 | ${MLIBDIR}/mgroupadd -o colord |
70 | ${MLIBDIR}/museradd -o "-g colord -d /var/lib/colord -s /bin/false" colord |
71 | } |
72 | |
73 | postinstall() |
74 | { |
75 | mstartunit colord |
76 | } |
77 | |
78 | postremove() |
79 | { |
80 | mstopunit colord |
81 | } |