summaryrefslogtreecommitdiff
path: root/devel/appstream-glib/Makefile
blob: 18d15f78ba0056c457fbb2431c5d36159ee8811e (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
36
37
38
39
40
41
42
43
44
45
46
47
# Created by: FreeBSD GNOME Team <gnome@freebsd.org>
# $FreeBSD$

PORTNAME=	appstream-glib
PORTVERSION=	0.7.8
PORTREVISION=	2
CATEGORIES=	devel
MASTER_SITES=	http://people.freedesktop.org/~hughsient/appstream-glib/releases/
DIST_SUBDIR=	gnome

MAINTAINER=	gnome@FreeBSD.org
COMMENT=	Library to help with AppStream metadata

LICENSE=	LGPL21+
LICENSE_FILE=	${WRKSRC}/COPYING

BUILD_DEPENDS=	gtkdoc-check:textproc/gtk-doc \
		gcab:archivers/gcab
LIB_DEPENDS=	libsoup-2.4.so:devel/libsoup \
		libjson-glib-1.0.so:devel/json-glib \
		libyaml.so:textproc/libyaml \
		libuuid.so:misc/e2fsprogs-libuuid \
		libfontconfig.so:x11-fonts/fontconfig \
		libfreetype.so:print/freetype2
RUN_DEPENDS=	gcab:archivers/gcab

CONFLICTS_BUILD=	appstream-glib-0.5.*

USES=		compiler:c11 gettext gperf gnome libarchive meson \
		pkgconfig sqlite tar:xz
USE_GNOME=	cairo gdkpixbuf2 glib20 gtk30 introspection:build \
		libxml2:build pango
USE_LDCONFIG=	yes
MESON_ARGS=	-Drpm=false \
		-Dalpm=false \
		-Dstemmer=false

OPTIONS_DEFINE=	MANPAGES
OPTIONS_DEFAULT=MANPAGES
OPTIONS_SUB=	yes

MANPAGES_MESON_TRUE=	man
MANPAGE_BUILD_DEPENDS=	docbook-xml>=0:textproc/docbook-xml \
		docbook-xsl>=0:textproc/docbook-xsl
MANPAGES_USE=	GNOME=libxslt:build

.include <bsd.port.mk>