Contents of /trunk/extras/colord/colord-1.4.3-r1.smage2
Parent Directory | Revision Log
Revision 30829 -
(show annotations)
(download)
Mon Apr 23 14:13:21 2018 UTC (6 years, 5 months ago) by niro
File size: 1573 byte(s)
Mon Apr 23 14:13:21 2018 UTC (6 years, 5 months ago) by niro
File size: 1573 byte(s)
-meson opts now use '_' instead of '-'
1 | # $Id$ |
2 | |
3 | PNAME="colord" |
4 | PVER="1.4.3" |
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.54 |
13 | >= dev-db/sqlite-3.20 |
14 | >= media-libs/lcms2-2.8 |
15 | >= sys-fs/udev-230 |
16 | >= sys-apps/polkit-0.113 |
17 | >= dev-libs/libgusb-0.2.11 |
18 | >= media-gfx/sane-backends-1.0.27 |
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.38 |
25 | >= sys-dev/gettext-0.18 |
26 | >= sys-dev/autoconf-10 |
27 | >= sys-dev/automake-9 |
28 | >= dev-libs/gobject-introspection-1.54 |
29 | >= virtual/sed" |
30 | |
31 | SRCFILE="${PNAME}-${PVER}.tar.xz" |
32 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
33 | |
34 | sminclude multilib meson mtools udev 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 | highesttarball xz" |
43 | |
44 | pkg_setup() |
45 | { |
46 | preinstall |
47 | } |
48 | |
49 | src_compile() |
50 | { |
51 | meson_setup_builddir || die |
52 | |
53 | meson_configure \ |
54 | $(meson_with daemon-user colord) \ |
55 | $(meson_enable systemd) \ |
56 | $(meson_enable libcolorcompat) \ |
57 | $(meson_enable sane) \ |
58 | $(meson_enable vala) \ |
59 | $(meson_disable man) \ |
60 | $(meson_disable docs) \ |
61 | $(meson_disable bash_completion) \ |
62 | $(meson_disable argyllcms_sensor) \ |
63 | $(meson_disable print_profiles) \ |
64 | $(meson_disable reverse) \ |
65 | || die |
66 | |
67 | mninja || die |
68 | } |
69 | |
70 | preinstall() |
71 | { |
72 | # adding ssh user |
73 | mgroupadd colord |
74 | museradd -o "-g colord -d /var/lib/colord -s /bin/false" colord |
75 | } |