git: 424912b9ae66 - main - graphics/gmic-qt: Update to 3.6.0

From: Jason E. Hale <jhale_at_FreeBSD.org>
Date: Tue, 26 Aug 2025 07:37:37 UTC
The branch main has been updated by jhale:

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

commit 424912b9ae66fed3e59b175cf27a4ec63d161e0d
Author:     Jason E. Hale <jhale@FreeBSD.org>
AuthorDate: 2025-08-26 04:50:16 +0000
Commit:     Jason E. Hale <jhale@FreeBSD.org>
CommitDate: 2025-08-26 07:37:32 +0000

    graphics/gmic-qt: Update to 3.6.0
    
    Add gimp3 flavor to build the plugin for graphics/gimp3-app.
    Note: This is still considered experimental by upstream.
    
    https://discuss.pixls.us/t/release-of-gmic-3-6/47481
---
 graphics/gmic-qt/Makefile | 18 ++++++++++++++----
 graphics/gmic-qt/distinfo |  6 +++---
 2 files changed, 17 insertions(+), 7 deletions(-)

diff --git a/graphics/gmic-qt/Makefile b/graphics/gmic-qt/Makefile
index 114b25aa2a1d..3a9336a73ee9 100644
--- a/graphics/gmic-qt/Makefile
+++ b/graphics/gmic-qt/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	gmic-qt
 DISTVERSIONPREFIX=	v.
-DISTVERSION=	3.5.3
+DISTVERSION=	3.6.0
 PORTEPOCH=	1
 CATEGORIES=	graphics kde
 MASTER_SITES=	https://github.com/GreycLab/gmic/releases/download/${DISTVERSIONFULL}/ \
@@ -21,9 +21,10 @@ LIB_DEPENDS=	libcurl.so:ftp/curl \
 		libfftw3.so:math/fftw3 \
 		libpng16.so:graphics/png
 
-FLAVORS=	none gimp # reflect the value of GMIC_QT_HOST for simplicity
+FLAVORS=	none gimp gimp3 # reflect the value of GMIC_QT_HOST for simplicity
 FLAVOR?=	${FLAVORS:[1]}
 gimp_PKGNAMESUFFIX=	-gimp
+gimp3_PKGNAMESUFFIX=	-gimp3
 
 USES=		cmake compiler:c++17-lang gl pkgconfig qt:6 shebangfix xorg
 USE_GL=		opengl
@@ -43,7 +44,7 @@ PORTSCOUT=	limit:[0-9]\..*
 WRKSRC=		${WRKDIR}/${DISTNAME:S|_|-|}
 WRKSRC_SUBDIR=	${PORTNAME}
 
-.if ${FLAVOR} == gimp
+.if ${FLAVOR} == "gimp"
 LIB_DEPENDS+=	libbabl-0.1.so:x11/babl \
 		libgegl-0.4.so:graphics/gegl \
 		libgimp-2.0.so:graphics/gimp-app \
@@ -51,10 +52,19 @@ LIB_DEPENDS+=	libbabl-0.1.so:x11/babl \
 USES+=		gettext-runtime gnome
 USE_GNOME=	cairo gdkpixbuf glib20
 PLUGINS_DIR=	libexec/gimp/2.2/plug-ins/gmic_gimp_qt
+.elif ${FLAVOR} == "gimp3"
+LIB_DEPENDS+=	libbabl-0.1.so:x11/babl \
+		libgegl-0.4.so:graphics/gegl \
+		libgexiv2.so:graphics/gexiv2 \
+		libgimp-3.0.so:graphics/gimp3-app \
+		libjson-glib-1.0.so:devel/json-glib
+USES+=		gettext-runtime gnome
+USE_GNOME=	cairo gdkpixbuf glib20 pango
+PLUGINS_DIR=	lib/gimp/3.0/plug-ins/gmic_gimp_qt
 .else
 PLUGINS_DIR=	bin
 .endif
 
-PLIST_FILES=	${PLUGINS_DIR}/gmic_${FLAVOR:S|$|_|:S|none_||}qt
+PLIST_FILES=	${PLUGINS_DIR}/gmic_${FLAVOR:S|$|_|:S|none_||:C|gimp[3]|gimp|}qt
 
 .include <bsd.port.mk>
diff --git a/graphics/gmic-qt/distinfo b/graphics/gmic-qt/distinfo
index e11dffbcd314..b03b72628cd1 100644
--- a/graphics/gmic-qt/distinfo
+++ b/graphics/gmic-qt/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1741758406
-SHA256 (KDE/gmic-qt/gmic_3.5.3.tar.gz) = e91a7cac4d0dc7c0ca2620f03bb14af82aa738c85a11b4f82fcc738654606442
-SIZE (KDE/gmic-qt/gmic_3.5.3.tar.gz) = 19409660
+TIMESTAMP = 1756183076
+SHA256 (KDE/gmic-qt/gmic_3.6.0.tar.gz) = 64c32e1a58e9d7de3f84220183bab06423bd9823afacee9a9c7b23768b8edc33
+SIZE (KDE/gmic-qt/gmic_3.6.0.tar.gz) = 19486087