git: 95511f1b0cb0 - main - graphics/darktable: resolve G'Mic inconsistency

Matthias Andree mandree at FreeBSD.org
Tue Aug 3 12:45:23 UTC 2021


The branch main has been updated by mandree:

URL: https://cgit.FreeBSD.org/ports/commit/?id=95511f1b0cb095bf62a60b0d3986d7159234fb9d

commit 95511f1b0cb095bf62a60b0d3986d7159234fb9d
Author:     Matthias Andree <mandree at FreeBSD.org>
AuthorDate: 2021-08-03 11:39:24 +0000
Commit:     Matthias Andree <mandree at FreeBSD.org>
CommitDate: 2021-08-03 12:44:18 +0000

    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)
---
 graphics/darktable/Makefile | 8 ++++++--
 1 file 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
 


More information about the dev-commits-ports-main mailing list