summaryrefslogtreecommitdiff
path: root/graphics/gegl
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2019-07-16 15:34:25 +0000
committernia <nia@pkgsrc.org>2019-07-16 15:34:25 +0000
commitea26c07ea51040b52ea20151212c6f7083eff86c (patch)
tree7162aba223fae23f3a85d6d2a45b1a08773801d4 /graphics/gegl
parent7cee0854e056722d1b8c8626fbbd0f017ceab7dd (diff)
downloadpkgsrc-ea26c07ea51040b52ea20151212c6f7083eff86c.tar.gz
gegl: Disable jp2 support by default
Re-enable it with the 'jasper' option. Part of the process of trying to minimize the potential impact of a vulnerable jasper. Bump PKGREVISION
Diffstat (limited to 'graphics/gegl')
-rw-r--r--graphics/gegl/Makefile4
-rw-r--r--graphics/gegl/options.mk13
2 files changed, 12 insertions, 5 deletions
diff --git a/graphics/gegl/Makefile b/graphics/gegl/Makefile
index a2a56ba2f6b..b5d75e0c410 100644
--- a/graphics/gegl/Makefile
+++ b/graphics/gegl/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.72 2019/06/18 14:26:59 ryoon Exp $
+# $NetBSD: Makefile,v 1.73 2019/07/16 15:34:25 nia Exp $
DISTNAME= gegl-0.4.16
+PKGREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://download.gimp.org/pub/gegl/0.4/
EXTRACT_SUFX= .tar.bz2
@@ -37,7 +38,6 @@ post-install:
BUILDLINK_API_DEPENDS.babl+= babl>=0.1.52
.include "../../graphics/babl/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
-.include "../../graphics/jasper/buildlink3.mk"
.include "../../graphics/lcms2/buildlink3.mk"
.include "../../graphics/openexr/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
diff --git a/graphics/gegl/options.mk b/graphics/gegl/options.mk
index 0dedff08c28..2ced282b6c3 100644
--- a/graphics/gegl/options.mk
+++ b/graphics/gegl/options.mk
@@ -1,14 +1,21 @@
-# $NetBSD: options.mk,v 1.1 2009/02/03 06:21:40 adam Exp $
+# $NetBSD: options.mk,v 1.2 2019/07/16 15:34:25 nia Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.gegl
-PKG_SUPPORTED_OPTIONS= svg
+PKG_SUPPORTED_OPTIONS= svg jasper
PKG_SUGGESTED_OPTIONS= svg
.include "../../mk/bsd.options.mk"
PLIST_VARS+= svg
-
.if !empty(PKG_OPTIONS:Msvg)
.include "../../graphics/librsvg/buildlink3.mk"
PLIST.svg= yes
.endif
+
+PLIST_VARS+= jasper
+.if !empty(PKG_OPTIONS:Mjasper)
+.include "../../graphics/jasper/buildlink3.mk"
+PLIST.jasper= yes
+.else
+CONFIGURE_ARGS+= --without-jasper
+.endif