aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Andree <mandree@FreeBSD.org>2021-08-03 11:39:24 +0000
committerMatthias Andree <mandree@FreeBSD.org>2021-08-03 12:44:18 +0000
commit95511f1b0cb095bf62a60b0d3986d7159234fb9d (patch)
tree73d19d768a79f4a0f70824e1e88f1e4054563533
parentd8e040b64325678ba6c2636db3030459cd5115ea (diff)
downloadports-95511f1b0cb095bf62a60b0d3986d7159234fb9d.tar.gz
ports-95511f1b0cb095bf62a60b0d3986d7159234fb9d.zip
graphics/darktable: resolve G'Mic inconsistency
The build will automatically pick up G'Mic if available, leading to inconsistent builds between systems. Make it an explicit OPTION which defaults to off, since only the lut3d module uses it and only to read .gmz G'Mic-compressed LUT files. Approved by: Jean-Sébastien Pédron (dumbbell@, maintainer)
-rw-r--r--graphics/darktable/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/graphics/darktable/Makefile b/graphics/darktable/Makefile
index 5331de1e4287..aece69468581 100644
--- a/graphics/darktable/Makefile
+++ b/graphics/darktable/Makefile
@@ -57,18 +57,22 @@ LDFLAGS+= -L${LOCALBASE}/lib
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/\.rc/~rc/}
-OPTIONS_DEFINE= DOCS GEO GPHOTO GRAPHMAGICK LIBAVIF LIBSECRET LTO LUA \
- NLS OPENEXR OPENJPEG PRINT TOOLS WEBP
+OPTIONS_DEFINE= DOCS GEO GPHOTO GMIC GRAPHMAGICK LIBAVIF LIBSECRET LTO \
+ LUA NLS OPENEXR OPENJPEG PRINT TOOLS WEBP
OPTIONS_DEFAULT= GEO GPHOTO LUA OPENEXR OPENJPEG PRINT WEBP
OPTIONS_SUB= yes
GEO_DESC= Support geotagging
+GMIC_DESC= Support G'Mic-compressed LUT in lut3d
LIBAVIF_DESC= Support encoding and decoding .avif files
LIBSECRET_DESC= Support libsecret as password backend
GEO_LIB_DEPENDS= libosmgpsmap-1.0.so:x11-toolkits/osm-gps-map
GEO_CMAKE_OFF= -DUSE_MAP:BOOL=OFF
+GMIC_LIB_DEPENDS= libgmic.so:graphics/gmic
+GMIC_CMAKE_OFF= -DUSE_GMIC:BOOL=OFF
+
GPHOTO_LIB_DEPENDS= libgphoto2.so:graphics/libgphoto2
GPHOTO_CMAKE_OFF= -DUSE_CAMERA_SUPPORT:BOOL=OFF