pkgsrc/geography/geoclue/Makefile

53 lines
1.8 KiB
Makefile
Raw Normal View History

2022-04-18 21:09:40 +02:00
# $NetBSD: Makefile,v 1.39 2022/04/18 19:11:12 adam Exp $
DISTNAME= geoclue-2.5.7
2022-04-18 21:09:40 +02:00
PKGREVISION= 2
CATEGORIES= geography
2020-11-04 17:46:59 +01:00
MASTER_SITES= https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/${PKGVERSION_NOREV}/
MAINTAINER= pkgsrc-users@NetBSD.org
2020-11-04 17:46:59 +01:00
HOMEPAGE= https://gitlab.freedesktop.org/geoclue/geoclue/-/wikis/home
COMMENT= Geoinformation service API and base providers
2018-01-02 23:54:26 +01:00
LICENSE= gnu-lgpl-v2
2020-11-04 17:46:59 +01:00
TOOL_DEPENDS+= gtk-doc-[0-9]*:../../textproc/gtk-doc
TOOL_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt
USE_TOOLS+= pkg-config msgfmt gdbus-codegen
2020-11-04 17:46:59 +01:00
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
2020-11-04 17:46:59 +01:00
PYTHON_FOR_BUILD_ONLY= tool
2020-11-04 17:46:59 +01:00
PKGCONFIG_OVERRIDE_STAGE= pre-install
PKGCONFIG_OVERRIDE+= output/meson-private/geoclue-2.0.pc
PKGCONFIG_OVERRIDE+= output/meson-private/libgeoclue-2.0.pc
2020-11-04 17:46:59 +01:00
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
2020-11-04 17:46:59 +01:00
.include "../../devel/meson/build.mk"
.include "../../devel/glib2/buildlink3.mk"
2020-11-04 17:46:59 +01:00
.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"
2020-11-04 17:46:59 +01:00
.include "../../textproc/json-glib/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"