Contents of /branches/R11-unstable/extras/colord/colord-1.4.3-r1.smage2
Parent Directory
|
Revision Log
Revision 32845 -
(show annotations)
(download)
Mon Apr 29 13:48:23 2019 UTC (5 years ago) by niro
File size: 1592 byte(s)
Mon Apr 29 13:48:23 2019 UTC (5 years ago) by niro
File size: 1592 byte(s)
-release branches/R11-unstable
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_opt daemon_user colord) \ |
55 | $(meson_opt systemd true) \ |
56 | $(meson_opt libcolorcompat true) \ |
57 | $(meson_opt sane true) \ |
58 | $(meson_opt vala true) \ |
59 | $(meson_opt man false) \ |
60 | $(meson_opt docs false) \ |
61 | $(meson_opt bash_completion false) \ |
62 | $(meson_opt argyllcms_sensor false) \ |
63 | $(meson_opt print_profiles false) \ |
64 | $(meson_opt reverse false) \ |
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 | } |