openbsd-ports/graphics/gegl04/Makefile
2020-02-21 11:09:05 +00:00

66 lines
1.4 KiB
Makefile

# $OpenBSD: Makefile,v 1.21 2020/02/21 11:09:05 ajacoutot Exp $
COMMENT= graph based image processing framework (API version 0.4)
V= 0.4.22
DISTNAME= gegl-${V}
PKGNAME= gegl04-${V}
EXTRACT_SUFX= .tar.xz
SHARED_LIBS += gegl-0.4 0.3 # 421.1
API_VERSION= ${V:R}
SUBST_VARS= API_VERSION
CATEGORIES= graphics devel
HOMEPAGE= http://gegl.org/
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
# GPLv3/LGPLv3
PERMIT_PACKAGE= Yes
WANTLIB += babl-0.1 c cairo gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0
WANTLIB += gobject-2.0 intl jasper jpeg json-glib-1.0 lcms2 m
WANTLIB += pango-1.0 pangocairo-1.0 png poppler-glib raw rsvg-2
WANTLIB += tiff webp
COMPILER= base-clang ports-gcc base-gcc
MASTER_SITES= http://download.gimp.org/pub/gegl/${API_VERSION}/
MODULES= devel/meson \
x11/gnome
MODGNOME_TOOLS= vala gobject-introspection
BUILD_DEPENDS= devel/gettext,-tools \
graphics/libgexiv2 \
shells/bash
LIB_DEPENDS= devel/json-glib \
graphics/babl \
graphics/lcms2 \
graphics/libraw \
graphics/libwebp \
print/poppler \
x11/gnome/librsvg
CONFIGURE_ARGS= -Dgraphviz=disabled \
-Dlensfun=disabled \
-Dlibav=disabled \
-Dlibspiro=disabled \
-Dlibv4l=disabled \
-Dlibv4l2=disabled \
-Dlua=disabled \
-Dmrg=disabled \
-Dopenexr=disabled \
-Dsdl1=disabled \
-Dsdl2=disabled \
-Dumfpack=disabled
DEBUG_PACKAGES= ${BUILD_PACKAGES}
.include <bsd.port.mk>