aboutsummaryrefslogtreecommitdiff
path: root/net/geoclue/Makefile
blob: f1a2709295f56f3d47ae468f8c0625a1b8a74ec7 (plain) (blame)
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
PORTNAME=	geoclue
DISTVERSION=	2.8.0
CATEGORIES=	net devel gnome

MAINTAINER=	desktop@FreeBSD.org
COMMENT=	D-Bus service that provides location information
WWW=		https://gitlab.freedesktop.org/geoclue/geoclue/wikis/home

LICENSE=	GPLv2 LGPL21
LICENSE_COMB=	multi

LIB_DEPENDS=	libjson-glib-1.0.so:devel/json-glib \
		libsoup-3.0.so:devel/libsoup3

USES=		gettext-tools gnome meson pkgconfig python shebangfix tar:bz2 \
		vala:build

USE_GNOME=	glib20 introspection:build
USE_LDCONFIG=	yes
SHEBANG_FILES=	interface/create-unified-xml.py

USE_GITLAB=	yes
GL_SITE=	https://gitlab.freedesktop.org

MESON_ARGS=	-D3g-source=false \
		-Dcdma-source=false \
		-Dnmea-source=false \
		-Dmodem-gps-source=false \
		-Dwifi-source=false

OPTIONS_SUB=	yes
OPTIONS_DEFINE=	DEMO DOCS
OPTIONS_DEFAULT=	DEMO

DEMO_DESC=		Install geoclue (demo) agent
DEMO_LIB_DEPENDS=	libnotify.so:devel/libnotify
DEMO_MESON_TRUE=	demo-agent

DOCS_BUILD_DEPENDS=	gtkdoc-scan:textproc/gtk-doc
DOCS_MESON_TRUE=	gtk-doc

.include <bsd.port.mk>