summaryrefslogtreecommitdiff
path: root/graphics/gmic-qt
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/gmic-qt')
-rw-r--r--graphics/gmic-qt/Makefile18
-rw-r--r--graphics/gmic-qt/distinfo6
2 files changed, 17 insertions, 7 deletions
diff --git a/graphics/gmic-qt/Makefile b/graphics/gmic-qt/Makefile
index 114b25aa2a1d..7666ee5b307b 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.1
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..0d3e0f6c9226 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 = 1756404089
+SHA256 (KDE/gmic-qt/gmic_3.6.1.tar.gz) = 4cf36b7af48013651e40e2c17be646b748cffdd400a90562588a35af731f6c9e
+SIZE (KDE/gmic-qt/gmic_3.6.1.tar.gz) = 19486111