aboutsummaryrefslogtreecommitdiff
path: root/net/geoclue/Makefile
blob: f9a9934a9f175d5327f565bb81065a8a6fe8504e (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
43
44
PORTNAME=	geoclue
DISTVERSION=	2.5.7
CATEGORIES=	net devel gnome

MAINTAINER=	gnome@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-2.4.so:devel/libsoup \
		libnotify.so:devel/libnotify

USES=		gettext gnome meson pkgconfig tar:xz vala:build

USE_GNOME=	glib20 introspection:build
USE_LDCONFIG=	yes

USE_GITLAB=	yes
GL_SITE=	https://gitlab.freedesktop.org
GL_TAGNAME=	3bb60dd600a8b247fd6049e7e5b1c73c2c5fc0e8

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

OPTIONS_SUB=	yes
OPTIONS_DEFINE=	DEMO DOCS

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

post-install:
	${MV} ${STAGEDIR}${PREFIX}/etc/geoclue/geoclue.conf \
		${STAGEDIR}${PREFIX}/etc/geoclue/geoclue.conf.sample

.include <bsd.port.mk>