blob: 78beb9539360931ec78900e8d0012ea978f3f543 (
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
|
# $NetBSD: Makefile,v 1.36 2021/12/08 16:02:06 adam Exp $
DISTNAME= geoclue-2.5.6
PKGREVISION= 5
CATEGORIES= geography
MASTER_SITES= https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/${PKGVERSION_NOREV}/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://gitlab.freedesktop.org/geoclue/geoclue/-/wikis/home
COMMENT= Geoinformation service API and base providers
LICENSE= gnu-lgpl-v2
TOOL_DEPENDS+= gtk-doc-[0-9]*:../../textproc/gtk-doc
TOOL_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt
USE_TOOLS+= pkg-config msgfmt gdbus-codegen
MESON_ARGS+= -D3g-source=false
MESON_ARGS+= -Dcdma-source=false
MESON_ARGS+= -Dnmea-source=false
MESON_ARGS+= -Dmodem-gps-source=false
MESON_ARGS+= -Ddemo-agent=false
PYTHON_FOR_BUILD_ONLY= tool
PKGCONFIG_OVERRIDE_STAGE= pre-install
PKGCONFIG_OVERRIDE+= output/meson-private/geoclue-2.0.pc
PKGCONFIG_OVERRIDE+= output/meson-private/libgeoclue-2.0.pc
CONF_FILES+= share/examples/dbus-1/system.d/org.freedesktop.GeoClue2.Agent.conf \
${PKG_SYSCONFDIR}/dbus-1/system.d/org.freedesktop.GeoClue2.Agent.conf
CONF_FILES+= share/examples/dbus-1/system.d/org.freedesktop.GeoClue2.conf \
${PKG_SYSCONFDIR}/dbus-1/system.d/org.freedesktop.GeoClue2.conf
CONF_FILES+= share/examples/geoclue/geoclue.conf \
${PKG_SYSCONFDIR}/geoclue.conf
.include "../../mk/bsd.prefs.mk"
# msgfmt: unknown option -- desktop
.if ${OPSYS} == "NetBSD"
TOOLS_PLATFORM.msgfmt=
.endif
.include "../../devel/meson/build.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/gobject-introspection/buildlink3.mk"
.include "../../lang/python/tool.mk"
.include "../../lang/vala/buildlink3.mk"
.include "../../net/libsoup/buildlink3.mk"
.include "../../sysutils/dbus-glib/buildlink3.mk"
.include "../../textproc/json-glib/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|