Attached is a diff to update shotcut to the latest release.
Lightly tested on amd64.

Included is a patch to drop the mlt-7 requirement back to
7.34, which was added to ports in the last few days.
diff --git multimedia/shotcut/Makefile multimedia/shotcut/Makefile
index f651515e413..a36c00f2f1e 100644
--- multimedia/shotcut/Makefile
+++ multimedia/shotcut/Makefile
@@ -2,7 +2,7 @@ USE_WXNEEDED =  Yes
 
 COMMENT =      video editor
 
-V =            25.10.31
+V =            25.12.31
 
 DIST_TUPLE =   github mltframework shotcut v${V} .
 PKGNAME =      shotcut-${V}
@@ -18,9 +18,9 @@ PERMIT_PACKAGE =      Yes
 
 WANTLIB += ${COMPILER_LIBCXX} GL Qt6Charts Qt6Core Qt6DBus Qt6Gui
 WANTLIB += Qt6Multimedia Qt6Network Qt6OpenGL Qt6OpenGLWidgets
-WANTLIB += Qt6Qml Qt6QmlMeta Qt6QmlModels Qt6QmlWorkerScript Qt6Quick
-WANTLIB += Qt6QuickControls2 Qt6QuickWidgets Qt6Sql Qt6WebSockets
-WANTLIB += Qt6Widgets Qt6Xml X11 c fftw3 m mlt++-7 mlt-7
+WANTLIB += Qt6Qml Qt6Quick Qt6QuickControls2 Qt6QuickWidgets Qt6Sql
+WANTLIB += Qt6WebSockets Qt6Widgets Qt6Xml X11 c fftw3 m mlt++-7
+WANTLIB += mlt-7
 
 MODULES =              devel/cmake \
                        x11/qt6
@@ -38,7 +38,7 @@ RUN_DEPENDS =         audio/jack \
                        x11/qt6/qtwebsockets
 
 LIB_DEPENDS =          math/fftw3 \
-                       multimedia/mlt7 \
+                       multimedia/mlt7,-main \
                        x11/qt6/qtdeclarative \
                        x11/qt6/qtcharts \
                        x11/qt6/qtmultimedia
diff --git multimedia/shotcut/distinfo multimedia/shotcut/distinfo
index a001e014392..f226cbe9fe8 100644
--- multimedia/shotcut/distinfo
+++ multimedia/shotcut/distinfo
@@ -1,2 +1,2 @@
-SHA256 (mltframework-shotcut-v25.10.31.tar.gz) = 
Hs6JyG/Aq+GMPKkVp5kiQNaQqR/dlk+ct1pE+JwE4Bo=
-SIZE (mltframework-shotcut-v25.10.31.tar.gz) = 15661715
+SHA256 (mltframework-shotcut-v25.12.31.tar.gz) = 
6JKOFbvjZSE0HoBcXevlJ2TE9xGrehQxx95HEhHhChk=
+SIZE (mltframework-shotcut-v25.12.31.tar.gz) = 16176521
diff --git multimedia/shotcut/patches/patch-CMakeLists_txt 
multimedia/shotcut/patches/patch-CMakeLists_txt
new file mode 100644
index 00000000000..71993e80ea7
--- /dev/null
+++ multimedia/shotcut/patches/patch-CMakeLists_txt
@@ -0,0 +1,14 @@
+mlt 7.36 is not (yet) ported, and is not (yet) needed.
+
+Index: CMakeLists.txt
+--- CMakeLists.txt.orig
++++ CMakeLists.txt
+@@ -56,7 +56,7 @@ if(UNIX AND NOT APPLE)
+ endif()
+ 
+ find_package(PkgConfig REQUIRED)
+-pkg_check_modules(mlt++ REQUIRED IMPORTED_TARGET mlt++-7>=7.36.0)
++pkg_check_modules(mlt++ REQUIRED IMPORTED_TARGET mlt++-7>=7.34.0)
+ pkg_check_modules(FFTW IMPORTED_TARGET fftw3)
+ if(NOT FFTW_FOUND)
+   pkg_check_modules(FFTW REQUIRED IMPORTED_TARGET fftw)
diff --git multimedia/shotcut/pkg/PLIST multimedia/shotcut/pkg/PLIST
index f2ff77dbd74..6ac21a75677 100644
--- multimedia/shotcut/pkg/PLIST
+++ multimedia/shotcut/pkg/PLIST
@@ -567,6 +567,7 @@ share/shotcut/qml/filters/stabilize/icon.webp
 share/shotcut/qml/filters/stabilize/meta.qml
 share/shotcut/qml/filters/stabilize/ui.qml
 share/shotcut/qml/filters/strobe/
+share/shotcut/qml/filters/strobe/icon.webp
 share/shotcut/qml/filters/strobe/meta.qml
 share/shotcut/qml/filters/strobe/ui.qml
 share/shotcut/qml/filters/subtitle/

Reply via email to