blob: 599674917d02babceabc1f294a372d4c29a924fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
# $NetBSD: Makefile,v 1.5 2018/12/09 18:52:30 adam Exp $
DISTNAME= colord-1.3.5
PKGREVISION= 2
CATEGORIES= graphics gnome
MASTER_SITES= https://www.freedesktop.org/software/colord/releases/
EXTRACT_SUFX= .tar.xz
MAINTAINER= youri@NetBSD.org
HOMEPAGE= https://www.freedesktop.org/software/colord/
COMMENT= Device color profile management daemon
LICENSE= gnu-gpl-v2
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config gmake intltool autoconf aclocal automake msgfmt
COLORD_USER= colord
COLORD_GROUP= colord
PKG_GROUPS+= ${COLORD_GROUP}
PKG_USERS+= ${COLORD_USER}:${COLORD_GROUP}
BUILD_DEFS+= VARBASE
PKGCONFIG_OVERRIDE+= lib/colorhug/colorhug.pc.in
PKGCONFIG_OVERRIDE+= lib/colord/colord.pc.in
CONFIGURE_ARGS+= --disable-gusb
CONFIGURE_ARGS+= --disable-udev
CONFIGURE_ARGS+= --disable-bash-completion
CONFIGURE_ARGS+= --disable-systemd-login
CONFIGURE_ARGS+= --disable-argyllcms-sensor # XXX not useful?
CONFIGURE_ARGS+= --disable-print-profiles
CONFIGURE_ARGS+= --with-daemon-user=colord
CONFIGURE_ARGS+= --localstatedir=${VARBASE}
PKGCONFIG_OVERRIDE+= lib/colorhug/colorhug.pc.in
PKGCONFIG_OVERRIDE+= lib/colord/colord.pc.in
CONF_DIR= ${PREFIX}/share/examples/colord
CONF_FILES+= ${CONF_DIR}/org.freedesktop.ColorManager.conf \
${PKG_SYSCONFDIR}/dbus-1/system.d/org.freedesktop.ColorManager.conf
SUBST_CLASSES+= prefix
SUBST_MESSAGE.prefix= Fix prefix
SUBST_STAGE.prefix= pre-configure
SUBST_FILES.prefix= lib/colord/cd-icc-store.c
SUBST_FILES.prefix+= src/cd-main.c
SUBST_FILES.prefix+= client/cd-util.c
SUBST_VARS.prefix= PREFIX VARBASE
pre-configure:
cd ${WRKSRC} && autoreconf
BUILD_DEPENDS+= gtk-doc-[0-9]*:../../textproc/gtk-doc
.include "../../devel/glib2/schemas.mk"
.include "../../devel/gobject-introspection/buildlink3.mk"
.include "../../graphics/lcms2/buildlink3.mk"
.include "../../databases/sqlite3/buildlink3.mk"
.include "../../security/polkit/buildlink3.mk"
.include "../../sysutils/dbus/buildlink3.mk"
.include "../../sysutils/consolekit/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|