summaryrefslogtreecommitdiff
path: root/net/glib-networking/Makefile
blob: 1f6a8f550fb55ebc0611e998e8948e63c36895a6 (plain)
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
# $NetBSD: Makefile,v 1.36 2018/05/14 09:44:01 jperkin Exp $

DISTNAME=	glib-networking-2.56.0
PKGREVISION=	3
CATEGORIES=	net gnome
MASTER_SITES=	${MASTER_SITE_GNOME:=sources/glib-networking/${PKGVERSION_NOREV:R}/}
EXTRACT_SUFX=	.tar.xz

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://www.gnome.org/
COMMENT=	Network-related giomodules for glib
LICENSE=	gnu-lgpl-v2

DEPENDS=	mozilla-rootcerts>=1.0.20150804nb1:../../security/mozilla-rootcerts

MESON_ARGS+=	-Dca_certificates_path=${PREFIX}/share/mozilla-rootcerts/cacert.pem
USE_TOOLS+=	pkg-config gmake gettext

REPLACE_PYTHON+=	find-ca-certificates
REPLACE_PYTHON+=	meson_post_install.py

pre-install:
	${CHMOD} +x ${WRKSRC}/meson_post_install.py

BUILDLINK_API_DEPENDS.glib2+=		glib2>=2.56.0
.include "../../devel/glib2/modules.mk"
BUILDLINK_API_DEPENDS.libproxy+=	libproxy>=0.3.1
.include "../../www/libproxy/buildlink3.mk"
BUILDLINK_API_DEPENDS.gnutls+=	gnutls>=3.6.0nb1
.include "../../security/gnutls/buildlink3.mk"
.include "../../security/p11-kit/buildlink3.mk"
.include "../../sysutils/gsettings-desktop-schemas/buildlink3.mk"
.include "../../devel/py-meson/build.mk"
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"