Friday, June 02, 2023

UPDATE: multimedia/mlt7

Update mlt to the latest version 7.16.0. OK?


diff --git a/multimedia/mlt7/Makefile b/multimedia/mlt7/Makefile
index ceb50aaa0ea..5ec74fcb9b5 100644
--- a/multimedia/mlt7/Makefile
+++ b/multimedia/mlt7/Makefile
@@ -1,11 +1,9 @@
COMMENT-main = multimedia transformations framework
COMMENT-gpl2 = GPLv2-licensed modules for mlt
-VERSION = 7.12.0
+VERSION = 7.16.0
DISTNAME = mlt-${VERSION}
PKGNAME-main = mlt7-${VERSION}
PKGNAME-gpl2 = mlt7-gpl2-${VERSION}
-REVISION-gpl2 = 0
-REVISION-main = 0

CATEGORIES = multimedia devel

@@ -17,8 +15,8 @@ MASTER_SITES = \
DEBUG_PACKAGES = ${BUILD_PACKAGES}

# XXX versions should be kept in sync together
-SHARED_LIBS = mlt-7 4.0
-SHARED_LIBS += mlt++-7 4.0
+SHARED_LIBS = mlt-7 4.1
+SHARED_LIBS += mlt++-7 4.1

# GPLv2+, LGPLv2.1+
# Actually, qimage module could be under GPLv3+ if one more object
@@ -32,7 +30,8 @@ WANTLIB-main += m pango-1.0 pangoft2-1.0 sox swresample swscale vorbis
WANTLIB-main += vorbisfile xml2

WANTLIB-gpl2 += ${COMPILER_LIBCXX} Qt5Core Qt5Gui Qt5Svg Qt5Widgets
-WANTLIB-gpl2 += Qt5Xml exif m mlt++-7 mlt-7 pulse pulse-simple samplerate
+WANTLIB-gpl2 += Qt5Xml exif fftw3 m mlt++-7 mlt-7 pulse pulse-simple
+WANTLIB-gpl2 += samplerate vidstab

MULTI_PACKAGES = -main -gpl2

@@ -63,6 +62,8 @@ LIB_DEPENDS-gpl2 = ${BUILD_PKGPATH},-main \
audio/libsamplerate \
audio/pulseaudio \
graphics/libexif \
+ math/fftw3 \
+ multimedia/libvidstab \
x11/qt5/qtsvg

CONFIGURE_ARGS = -DMOD_RUBBERBAND=OFF
diff --git a/multimedia/mlt7/distinfo b/multimedia/mlt7/distinfo
index ec4bf6ad28c..cfd787e40bc 100644
--- a/multimedia/mlt7/distinfo
+++ b/multimedia/mlt7/distinfo
@@ -1,2 +1,2 @@
-SHA256 (mlt-7.12.0.tar.gz) = SLOF6Dy9W/aL/IhjEnOGj77jakGzt+Ks2X8SsJWwCDw=
-SIZE (mlt-7.12.0.tar.gz) = 1481720
+SHA256 (mlt-7.16.0.tar.gz) = wJdeBkA9PfIr59S12W0GCODRZHApk2DQoO5fQborepY=
+SIZE (mlt-7.16.0.tar.gz) = 1577046
diff --git a/multimedia/mlt7/patches/patch-src_framework_mlt_property_c b/multimedia/mlt7/patches/patch-src_framework_mlt_property_c
index 35d4e497fe3..a5f4e41f0d2 100644
--- a/multimedia/mlt7/patches/patch-src_framework_mlt_property_c
+++ b/multimedia/mlt7/patches/patch-src_framework_mlt_property_c
@@ -6,157 +6,93 @@ locale functions from dumping core!
Index: src/framework/mlt_property.c
--- src/framework/mlt_property.c.orig
+++ src/framework/mlt_property.c
-@@ -321,7 +321,7 @@ static int time_clock_to_frames( mlt_property self, co
- s = copy;
- pos = strrchr( s, ':' );
+@@ -318,7 +318,7 @@ static int time_clock_to_frames(mlt_property self, con
+ s = copy;
+ pos = strrchr(s, ':');

-#if !defined(__GLIBC__) && !defined(__APPLE__) && !defined(_WIN32) && !defined(HAVE_STRTOD_L)
+#if !defined(__GLIBC__) && !defined(__APPLE__) && !defined(_WIN32) && !defined(HAVE_STRTOD_L) && !defined(__OpenBSD__)
- char *orig_localename = NULL;
- if ( locale )
- {
-@@ -337,7 +337,7 @@ static int time_clock_to_frames( mlt_property self, co
+ char *orig_localename = NULL;
+ if (locale) {
+ // Protect damaging the global locale from a temporary locale on another thread.
+@@ -333,7 +333,7 @@ static int time_clock_to_frames(mlt_property self, con

No comments:

Post a Comment