[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / geography / geoclue

File: [cvs.NetBSD.org] / pkgsrc / geography / geoclue / Makefile (download)

Revision 1.43, Sun Jan 29 21:16:24 2023 UTC (4 months ago) by ryoon
Branch: MAIN
CVS Tags: pkgsrc-2023Q1-base, pkgsrc-2023Q1
Changes since 1.42: +2 -2 lines

*: Recursive revbup from graphics/freetype2

# $NetBSD: Makefile,v 1.43 2023/01/29 21:16:24 ryoon Exp $

DISTNAME=	geoclue-2.5.7
PKGREVISION=	6
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"