git: 367d575e1160 - main - multimedia/shotcut-qt6: Update to 25.01.25 "Finally, Playlist Bins"

From: Jason E. Hale <jhale_at_FreeBSD.org>
Date: Tue, 28 Jan 2025 14:59:41 UTC
The branch main has been updated by jhale:

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

commit 367d575e1160bcea5623b037a737841436e88b97
Author:     Jason E. Hale <jhale@FreeBSD.org>
AuthorDate: 2025-01-28 14:38:49 +0000
Commit:     Jason E. Hale <jhale@FreeBSD.org>
CommitDate: 2025-01-28 14:59:35 +0000

    multimedia/shotcut-qt6: Update to 25.01.25 "Finally, Playlist Bins"
    
    Remove hard deps on multimedia/mlt7-glaxnimate@qt6 and
    multimedia/mlt7-qt@qt6. These can be easily installed as separate
    packages for additional filters, but are not required for runtime.
    
    https://github.com/mltframework/shotcut/releases/tag/v25.01.25
---
 multimedia/shotcut-qt6/Makefile                     |  6 ++----
 multimedia/shotcut-qt6/distinfo                     |  6 +++---
 multimedia/shotcut-qt6/files/patch-src_database.cpp | 18 ------------------
 multimedia/shotcut-qt6/pkg-plist                    | 11 +++++++++++
 4 files changed, 16 insertions(+), 25 deletions(-)

diff --git a/multimedia/shotcut-qt6/Makefile b/multimedia/shotcut-qt6/Makefile
index 89c9c25c0433..d375c84db5b0 100644
--- a/multimedia/shotcut-qt6/Makefile
+++ b/multimedia/shotcut-qt6/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	shotcut
-DISTVERSION=	24.11.17
+DISTVERSION=	25.01.25
 CATEGORIES=	multimedia
 MASTER_SITES=	https://github.com/mltframework/${PORTNAME}/releases/download/v${DISTVERSION}/
 PKGNAMESUFFIX=	-qt6
@@ -15,9 +15,7 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 BUILD_DEPENDS=	${LOCALBASE}/include/vulkan/vulkan.h:graphics/vulkan-headers
 LIB_DEPENDS=	libfftw3.so:math/fftw3
 RUN_DEPENDS=	ffmpeg:multimedia/ffmpeg \
-		${LOCALBASE}/lib/libjack.so:audio/jack \
-		${LOCALBASE}/lib/mlt-7/libmltglaxnimate-qt6.so:multimedia/mlt7-glaxnimate@qt6 \
-		${LOCALBASE}/lib/mlt-7/libmltqt6.so:multimedia/mlt7-qt@qt6
+		${LOCALBASE}/lib/libjack.so:audio/jack
 
 USES=		cmake compiler:c++17-lang cpe desktop-file-utils gl mlt:7 \
 		pkgconfig qt:6 sdl shared-mime-info tar:txz xorg
diff --git a/multimedia/shotcut-qt6/distinfo b/multimedia/shotcut-qt6/distinfo
index de40d696cadb..595542d61f7f 100644
--- a/multimedia/shotcut-qt6/distinfo
+++ b/multimedia/shotcut-qt6/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1732942012
-SHA256 (shotcut-src-241117.txz) = a69dd704089f1999e55c4506c26442b1276ec529c9e721983bc9ee6708a72013
-SIZE (shotcut-src-241117.txz) = 324261632
+TIMESTAMP = 1738074017
+SHA256 (shotcut-src-250125.txz) = 02ae3d40acd4641f450cedc68e59afe512a52aadc3cc1c633edb5f5886daf804
+SIZE (shotcut-src-250125.txz) = 345393540
diff --git a/multimedia/shotcut-qt6/files/patch-src_database.cpp b/multimedia/shotcut-qt6/files/patch-src_database.cpp
deleted file mode 100644
index 654c03d80dd4..000000000000
--- a/multimedia/shotcut-qt6/files/patch-src_database.cpp
+++ /dev/null
@@ -1,18 +0,0 @@
-Fix build on i386.
-
-/wrkdirs/usr/ports/multimedia/shotcut-qt6/work/src/shotcut/src/database.cpp:89:29:
-error: non-constant-expression cannot be narrowed from type 'qint64' (aka 'long long')
-to 'time_t' (aka 'int') in initializer list [-Wc++11-narrowing]
- 89 | accessed.toSecsSinceEpoch() + offset, accessed.toSecsSinceEpoch() + offset
-
---- src/database.cpp.orig	2024-11-17 08:04:05 UTC
-+++ src/database.cpp
-@@ -86,7 +86,7 @@ QDir Database::thumbnailsDir()
-                         auto accessed = query.value(1).toDateTime();
-                         auto offset = accessed.timeZone().offsetFromUtc(accessed);
-                         struct utimbuf utimes {
--                            accessed.toSecsSinceEpoch() + offset, accessed.toSecsSinceEpoch() + offset
-+                            static_cast<time_t>(accessed.toSecsSinceEpoch() + offset), static_cast<time_t>(accessed.toSecsSinceEpoch() + offset)
-                         };
-                         ::utime(dir.filePath(fileName).toUtf8().constData(), &utimes);
-                     }
diff --git a/multimedia/shotcut-qt6/pkg-plist b/multimedia/shotcut-qt6/pkg-plist
index f952d1c8777d..2461a7b89e15 100644
--- a/multimedia/shotcut-qt6/pkg-plist
+++ b/multimedia/shotcut-qt6/pkg-plist
@@ -251,6 +251,9 @@ share/mime/packages/org.shotcut.Shotcut.xml
 %%DATADIR%%/qml/filters/gradient/meta.qml
 %%DATADIR%%/qml/filters/gradient/ui.qml
 %%DATADIR%%/qml/filters/gradient/vui.qml
+%%DATADIR%%/qml/filters/gradientmap/icon.webp
+%%DATADIR%%/qml/filters/gradientmap/meta.qml
+%%DATADIR%%/qml/filters/gradientmap/ui.qml
 %%DATADIR%%/qml/filters/grain/meta.qml
 %%DATADIR%%/qml/filters/grain/ui.qml
 %%DATADIR%%/qml/filters/grid/icon.webp
@@ -262,6 +265,12 @@ share/mime/packages/org.shotcut.Shotcut.xml
 %%DATADIR%%/qml/filters/hqdn3d/icon.webp
 %%DATADIR%%/qml/filters/hqdn3d/meta.qml
 %%DATADIR%%/qml/filters/hqdn3d/ui.qml
+%%DATADIR%%/qml/filters/hslprimaries/icon.webp
+%%DATADIR%%/qml/filters/hslprimaries/meta.qml
+%%DATADIR%%/qml/filters/hslprimaries/ui.qml
+%%DATADIR%%/qml/filters/hslrange/icon.webp
+%%DATADIR%%/qml/filters/hslrange/meta.qml
+%%DATADIR%%/qml/filters/hslrange/ui.qml
 %%DATADIR%%/qml/filters/hue_lightness_saturation/icon.webp
 %%DATADIR%%/qml/filters/hue_lightness_saturation/meta.qml
 %%DATADIR%%/qml/filters/hue_lightness_saturation/ui.qml
@@ -463,6 +472,7 @@ share/mime/packages/org.shotcut.Shotcut.xml
 %%DATADIR%%/qml/modules/Shotcut/Controls/Button.qml
 %%DATADIR%%/qml/modules/Shotcut/Controls/ColorPicker.qml
 %%DATADIR%%/qml/modules/Shotcut/Controls/ComboBox.qml
+%%DATADIR%%/qml/modules/Shotcut/Controls/CurveComboBox.qml
 %%DATADIR%%/qml/modules/Shotcut/Controls/DoubleSpinBox.qml
 %%DATADIR%%/qml/modules/Shotcut/Controls/EditMenu.qml
 %%DATADIR%%/qml/modules/Shotcut/Controls/Gauge.qml
@@ -527,6 +537,7 @@ share/mime/packages/org.shotcut.Shotcut.xml
 %%DATADIR%%/translations/shotcut_eu.qm
 %%DATADIR%%/translations/shotcut_fi.qm
 %%DATADIR%%/translations/shotcut_fr.qm
+%%DATADIR%%/translations/shotcut_ga.qm
 %%DATADIR%%/translations/shotcut_gd.qm
 %%DATADIR%%/translations/shotcut_gl.qm
 %%DATADIR%%/translations/shotcut_he_IL.qm