# Created by: Gustau Perez <gustau.perez@gmail.com>

PORTNAME=	libgxps
PORTVERSION=	0.3.2
CATEGORIES=	graphics gnome
MASTER_SITES=	GNOME
DIST_SUBDIR=	gnome3

MAINTAINER=	ports@MidnightBSD.org
COMMENT=	GObject based library for rendering XPS documents
WWW=		https://wiki.gnome.org/action/show/Projects/libgxps

LICENSE=	lgpl2.1

LIB_DEPENDS=	libfreetype.so:print/freetype2 \
		liblcms2.so:graphics/lcms2 \
		libpng16.so:graphics/png \
		libtiff.so:graphics/tiff

USES=		cpe gettext gnome jpeg libarchive localbase meson pkgconfig tar:xz
CPE_VENDOR=	gnome
USE_LDCONFIG=	yes
USE_GNOME=	cairo glib20 introspection:build

MESON_ARGS=	-Denable-test=false

.include <bsd.port.mk>
