blob: 02fd88768ea0925f839fe4af705b59a97665ebba (
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
65
66
67
68
69
70
71
72
|
# $NetBSD: Makefile,v 1.17 2022/11/23 16:20:13 adam Exp $
DISTNAME= colord-1.3.5
PKGREVISION= 13
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
# XXX dependency for man pages missing from pkgsrc
CONFIGURE_ENV+= ac_cv_path_DOCBOOK2MAN=no
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
INSTALLATION_DIRS+= share/vala/vapi
pre-configure:
cd ${WRKSRC} && autoreconf
BUILD_DEPENDS+= gtk-doc-[0-9]*:../../textproc/gtk-doc
post-install:
${INSTALL_DATA} ${WRKSRC}/lib/colord/colord.vapi ${DESTDIR}${PREFIX}/share/vala/vapi/
.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"
|