aboutsummaryrefslogtreecommitdiff
path: root/security/libsecret/Makefile
blob: 0703eb6447ecc9565ed2443601cc2aa3c0baea4f (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
PORTNAME=	libsecret
PORTVERSION=	0.21.7
PORTREVISION=	2
CATEGORIES=	security gnome
MASTER_SITES=	GNOME
DIST_SUBDIR=	gnome

MAINTAINER=	gnome@FreeBSD.org
COMMENT=	Library to access the secret service API
WWW=		https://gitlab.gnome.org/GNOME/libsecret

LICENSE=	APACHE20 GPLv2+ LGPL21+
LICENSE_COMB=	multi

BUILD_DEPENDS=	docbook-xsl>=0:textproc/docbook-xsl
LIB_DEPENDS=	libgcrypt.so:security/libgcrypt \
		libgpg-error.so:security/libgpg-error

USES=		compiler gettext-runtime gnome meson pkgconfig python tar:xz vala:build
USE_GNOME=	glib20 introspection:build libxslt:build

MESON_ARGS=	-Dbash_completion=disabled
# see PR 287429 / https://gitlab.gnome.org/GNOME/libsecret/-/issues/106
MESON_ARGS+=	-Dc_args="-DHAVE_CMSGCRED"
PIE_UNSAFE=	yes

OPTIONS_DEFINE=	DOCS NLS
OPTIONS_SUB=	yes

DOCS_BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}gi-docgen>0:textproc/py-gi-docgen@${PY_FLAVOR}
DOCS_MESON_TRUE=	gtk_doc
NLS_EXTRA_PATCHES_OFF=	${PATCHDIR}/extra-patch-meson.build
NLS_USES=		gettext-tools

.include <bsd.port.mk>