git: d7e5adfbc368 - main - graphics/darktable: Import style fixes and improvements from graphics/darktable42

From: Jean-Sébastien Pédron <dumbbell_at_FreeBSD.org>
Date: Fri, 27 Jan 2023 22:45:52 UTC
The branch main has been updated by dumbbell:

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

commit d7e5adfbc368b443009aab8a781c5dd2481e5f93
Author:     Jean-Sébastien Pédron <dumbbell@FreeBSD.org>
AuthorDate: 2023-01-27 20:13:11 +0000
Commit:     Jean-Sébastien Pédron <dumbbell@FreeBSD.org>
CommitDate: 2023-01-27 22:34:47 +0000

    graphics/darktable: Import style fixes and improvements from graphics/darktable42
    
    No functional changes, except the dependency to math/Imath which is not
    optional anymore (but it was behind a default option).
---
 graphics/darktable/Makefile | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/graphics/darktable/Makefile b/graphics/darktable/Makefile
index cc27afcf1618..a3e9b8035647 100644
--- a/graphics/darktable/Makefile
+++ b/graphics/darktable/Makefile
@@ -24,6 +24,7 @@ LIB_DEPENDS=	libcolord-gtk.so:graphics/colord-gtk \
 		libexiv2.so:graphics/exiv2 \
 		libharfbuzz.so:print/harfbuzz \
 		libicui18n.so:devel/icu \
+		libImath.so:math/Imath \
 		libjasper.so:graphics/jasper \
 		libjson-glib-1.0.so:devel/json-glib \
 		liblcms2.so:graphics/lcms2 \
@@ -63,6 +64,10 @@ OPTIONS_SUB=		yes
 GEO_DESC=		Support geotagging
 GMIC_DESC=		Support G'Mic-compressed LUT in lut3d
 LIBSECRET_DESC=		Support libsecret as password backend
+TOOLS_DESC=		Install additional scripts
+
+AVIF_LIB_DEPENDS=	libavif.so:graphics/libavif
+AVIF_CMAKE_BOOL=	USE_AVIF
 
 GEO_LIB_DEPENDS=	libosmgpsmap-1.0.so:x11-toolkits/osm-gps-map
 GEO_CMAKE_BOOL=		USE_MAP
@@ -76,9 +81,6 @@ GPHOTO_CMAKE_BOOL=	USE_CAMERA_SUPPORT
 GRAPHMAGICK_LIB_DEPENDS=libGraphicsMagick.so:graphics/GraphicsMagick
 GRAPHMAGICK_CMAKE_BOOL=	USE_GRAPHICSMAGICK
 
-AVIF_LIB_DEPENDS=	libavif.so:graphics/libavif
-AVIF_CMAKE_BOOL=	USE_AVIF
-
 HEIF_LIB_DEPENDS=	libheif.so:graphics/libheif
 HEIF_CMAKE_BOOL=	USE_HEIF
 
@@ -97,10 +99,9 @@ NLS_USES_OFF=		gettext-runtime
 NLS_CMAKE_BOOL=		USE_NLS
 NLS_LDFLAGS=		-L${LOCALBASE}/lib -lintl
 
-OPENEXR_LIB_DEPENDS=	libOpenEXR.so:graphics/openexr \
-			libImath.so:math/Imath
-OPENEXR_CFLAGS=		-I${LOCALBASE}/include/Imath
+OPENEXR_LIB_DEPENDS=	libOpenEXR.so:graphics/openexr
 OPENEXR_CMAKE_BOOL=	USE_OPENEXR
+OPENEXR_CFLAGS=		-I${LOCALBASE}/include/Imath
 
 OPENJPEG_LIB_DEPENDS=	libopenjp2.so:graphics/openjpeg
 OPENJPEG_CMAKE_BOOL=	USE_OPENJPEG
@@ -108,7 +109,6 @@ OPENJPEG_CMAKE_BOOL=	USE_OPENJPEG
 PRINT_LIB_DEPENDS=	libcups.so:print/cups
 PRINT_CMAKE_BOOL=	BUILD_PRINT
 
-TOOLS_DESC=		Install additional scripts
 TOOLS_BUILD_DEPENDS=	exiftool:graphics/p5-Image-ExifTool
 TOOLS_RUN_DEPENDS=	exiftool:graphics/p5-Image-ExifTool