From: Rafael Sadowski Subject: UPDATE: mlt-7.38.0 To: The OpenBSD ports mailing-list Date: Thu, 4 Jun 2026 14:54:35 +0200 Simple update mlt-7.38.0. Tested on amd64, consumers are happy. OK? Cheers Rafael Index: Makefile =================================================================== RCS file: /cvs/ports/multimedia/mlt7/Makefile,v diff -u -p -u -p -r1.23 Makefile --- Makefile 30 May 2026 19:15:04 -0000 1.23 +++ Makefile 4 Jun 2026 12:53:16 -0000 @@ -1,13 +1,10 @@ COMMENT-main = multimedia transformations framework COMMENT-gpl2 = GPLv2-licensed modules for mlt -V = 7.34.1 +V = 7.38.0 DISTNAME = mlt-${V} PKGNAME-main = mlt7-${V} PKGNAME-gpl2 = mlt7-gpl2-${V} -REVISION-main = 0 -REVISION-gpl2 = 1 - CATEGORIES = multimedia devel HOMEPAGE = https://www.mltframework.org/ @@ -31,8 +28,7 @@ WANTLIB-main += freetype gdk_pixbuf-2.0 WANTLIB-main += intl m movit pango-1.0 pangoft2-1.0 sox_ng swresample WANTLIB-main += swscale vorbis vorbisfile xml2 -WANTLIB-gpl2 += ${COMPILER_LIBCXX} GL Qt5Core Qt5Gui Qt5Svg Qt5Widgets -WANTLIB-gpl2 += Qt5Xml Qt6Core Qt6Core5Compat Qt6Gui Qt6Svg Qt6SvgWidgets +WANTLIB-gpl2 += ${COMPILER_LIBCXX} GL Qt6Core Qt6Gui Qt6Svg Qt6SvgWidgets WANTLIB-gpl2 += Qt6Widgets Qt6Xml exif fftw3 m mlt++-7 mlt-7 pulse WANTLIB-gpl2 += pulse-simple samplerate vidstab @@ -40,7 +36,6 @@ MULTI_PACKAGES = -main -gpl2 MODULES = devel/cmake \ lang/clang \ - x11/qt5 \ x11/qt6 # Does not directly use CXX_MODULES; still ends up pulling in clang-scan-deps @@ -65,21 +60,17 @@ LIB_DEPENDS-main = audio/libebur128 \ math/fftw3 LIB_DEPENDS-gpl2 = ${BUILD_PKGPATH},-main \ - ${MODQT5_LIB_DEPENDS} \ ${MODQT6_LIB_DEPENDS} \ audio/libsamplerate \ audio/pulseaudio \ graphics/libexif \ math/fftw3 \ multimedia/libvidstab \ - x11/qt5/qtsvg \ - x11/qt6/qt5compat \ x11/qt6/qtsvg CONFIGURE_ARGS = -DMOD_RUBBERBAND=OFF \ -DMOD_JACKRACK=OFF -CONFIGURE_ARGS += -DMOD_QT=ON CONFIGURE_ARGS += -DMOD_QT6=ON # melt-7 is enough Index: distinfo =================================================================== RCS file: /cvs/ports/multimedia/mlt7/distinfo,v diff -u -p -u -p -r1.11 distinfo --- distinfo 10 Jan 2026 12:26:05 -0000 1.11 +++ distinfo 4 Jun 2026 12:53:16 -0000 @@ -1,2 +1,2 @@ -SHA256 (mlt-7.34.1.tar.gz) = QQS4fbPhQ4n4FmaTjBMfcjVkdz/smqGLa/8Ah2HMg4s= -SIZE (mlt-7.34.1.tar.gz) = 1817867 +SHA256 (mlt-7.38.0.tar.gz) = uPCiPInpJQ7cUDjXRVN8OCNnvyrT2tXVx80TsP4cQUQ= +SIZE (mlt-7.38.0.tar.gz) = 6674009 Index: patches/patch-src_framework_mlt_property_c =================================================================== RCS file: /cvs/ports/multimedia/mlt7/patches/patch-src_framework_mlt_property_c,v diff -u -p -u -p -r1.8 patch-src_framework_mlt_property_c --- patches/patch-src_framework_mlt_property_c 10 Jan 2026 12:26:05 -0000 1.8 +++ patches/patch-src_framework_mlt_property_c 4 Jun 2026 12:53:16 -0000 @@ -12,7 +12,7 @@ Index: src/framework/mlt_property.c // Set the new locale setlocale(LC_NUMERIC, locale); -@@ -1122,8 +1124,10 @@ char *mlt_property_get_time(mlt_property self, +@@ -1123,8 +1125,10 @@ char *mlt_property_get_time(mlt_property self, // Protect damaging the global locale from a temporary locale on another thread. pthread_mutex_lock(&self->mutex); @@ -23,7 +23,7 @@ Index: src/framework/mlt_property.c // Set the new locale setlocale(LC_NUMERIC, localename); -@@ -1202,8 +1206,10 @@ int mlt_property_is_numeric(mlt_property self, mlt_loc +@@ -1203,8 +1207,10 @@ int mlt_property_is_numeric(mlt_property self, mlt_loc // Protect damaging the global locale from a temporary locale on another thread. pthread_mutex_lock(&self->mutex); Index: patches/patch-src_melt_io_c =================================================================== RCS file: patches/patch-src_melt_io_c diff -N patches/patch-src_melt_io_c --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-src_melt_io_c 4 Jun 2026 12:53:16 -0000 @@ -0,0 +1,11 @@ +Index: src/melt/io.c +--- src/melt/io.c.orig ++++ src/melt/io.c +@@ -29,6 +29,7 @@ + #ifndef _WIN32 + #include + #include ++#include + #else + // MinGW defines struct timespec in pthread.h + #include Index: patches/patch-src_modules_openfx_factory_c =================================================================== RCS file: patches/patch-src_modules_openfx_factory_c diff -N patches/patch-src_modules_openfx_factory_c --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-src_modules_openfx_factory_c 4 Jun 2026 12:53:16 -0000 @@ -0,0 +1,46 @@ +Index: src/modules/openfx/factory.c +--- src/modules/openfx/factory.c.orig ++++ src/modules/openfx/factory.c +@@ -25,7 +25,7 @@ extern OfxHost MltOfxHost; + mlt_properties mltofx_context; + mlt_properties mltofx_dl; + +-#if defined(__linux__) || defined(__FreeBSD__) ++#if defined(__linux__) || defined(__FreeBSD__) || defined(__OpenBSD__) + + #define OFX_DIRLIST_SEP_CHARS ":;" + #define OFX_DIRSEP "/" +@@ -36,14 +36,22 @@ static const char *getArchStr() + if (sizeof(void *) == 4) { + #if defined(__linux__) + return "Linux-x86"; +-#else ++#elif defined(__FreeBSD__) + return "FreeBSD-x86"; ++#elif defined(__OpenBSD__) ++ return "OpenBSD-x86"; ++#else ++#error "Unsupported platform" + #endif + } else { + #if defined(__linux__) + return "Linux-x86-64"; +-#else ++#elif defined(__FreeBSD__) + return "FreeBSD-x86-64"; ++#elif defined(__OpenBSD__) ++ return "OpenBSD-x86-64"; ++#else ++#error "Unsupported platform" + #endif + } + } +@@ -256,7 +264,7 @@ MLT_REPOSITORY + int dli = 0; + + // Scan standard platform default paths per the OpenFX specification +-#if defined(__linux__) || defined(__FreeBSD__) ++#if defined(__linux__) || defined(__FreeBSD__) || defined(__OpenBSD__) + scan_ofx_dir(repository, "/usr/OFX/Plugins", &dli, 0); + scan_ofx_dir(repository, "/usr/local/OFX/Plugins", &dli, 0); + #elif defined(__APPLE__) Index: pkg/PLIST-gpl2 =================================================================== RCS file: /cvs/ports/multimedia/mlt7/pkg/PLIST-gpl2,v diff -u -p -u -p -r1.7 PLIST-gpl2 --- pkg/PLIST-gpl2 10 Jan 2026 12:26:05 -0000 1.7 +++ pkg/PLIST-gpl2 4 Jun 2026 12:53:16 -0000 @@ -1,7 +1,6 @@ @pkgpath multimedia/mlt,-gpl2 @so lib/mlt-7/libmltnormalize.so @so lib/mlt-7/libmltplusgpl.so -@so lib/mlt-7/libmltqt.so @so lib/mlt-7/libmltqt6.so @so lib/mlt-7/libmltresample.so @so lib/mlt-7/libmltrtaudio.so @@ -16,25 +15,9 @@ share/mlt-7/plusgpl/filter_burningtv.yml share/mlt-7/plusgpl/filter_lumaliftgaingamma.yml share/mlt-7/plusgpl/filter_outline.yml share/mlt-7/plusgpl/filter_rotoscoping.yml -share/mlt-7/qt/ -share/mlt-7/qt/filter_audiolevelgraph.yml -share/mlt-7/qt/filter_audiospectrum.yml -share/mlt-7/qt/filter_audiowaveform.yml -share/mlt-7/qt/filter_dropshadow.yml -share/mlt-7/qt/filter_gpsgraphic.yml -share/mlt-7/qt/filter_gpstext.yml -share/mlt-7/qt/filter_lightshow.yml -share/mlt-7/qt/filter_qtblend.yml -share/mlt-7/qt/filter_qtblend_mode.yml -share/mlt-7/qt/filter_qtcrop.yml -share/mlt-7/qt/filter_qtext.yml -share/mlt-7/qt/filter_typewriter.yml -share/mlt-7/qt/producer_kdenlivetitle.yml -share/mlt-7/qt/producer_qimage.yml -share/mlt-7/qt/producer_qtext.yml -share/mlt-7/qt/transition_qtblend.yml -share/mlt-7/qt/transition_vqm.yml +share/mlt-7/plusgpl/filter_telecide.yml share/mlt-7/qt6/ +share/mlt-7/qt6/consumer_qglsl.yml share/mlt-7/qt6/filter_audiolevelgraph.yml share/mlt-7/qt6/filter_audiospectrum.yml share/mlt-7/qt6/filter_audiowaveform.yml @@ -52,7 +35,9 @@ share/mlt-7/qt6/producer_qimage.yml share/mlt-7/qt6/producer_qtext.yml share/mlt-7/qt6/transition_qtblend.yml share/mlt-7/qt6/transition_vqm.yml +share/mlt-7/resample/ share/mlt-7/resample/filter_resample.yml +share/mlt-7/resample/link_resample.yml share/mlt-7/rtaudio/ share/mlt-7/rtaudio/consumer_rtaudio.yml share/mlt-7/vid.stab/ Index: pkg/PLIST-main =================================================================== RCS file: /cvs/ports/multimedia/mlt7/pkg/PLIST-main,v diff -u -p -u -p -r1.13 PLIST-main --- pkg/PLIST-main 10 Jan 2026 12:26:05 -0000 1.13 +++ pkg/PLIST-main 4 Jun 2026 12:53:16 -0000 @@ -80,6 +80,7 @@ lib/mlt-7/ @so lib/mlt-7/libmltkdenlive.so @so lib/mlt-7/libmltmovit.so @so lib/mlt-7/libmltoldfilm.so +@so lib/mlt-7/libmltopenfx.so @so lib/mlt-7/libmltplus.so @so lib/mlt-7/libmltsdl2.so @so lib/mlt-7/libmltsox.so @@ -95,9 +96,11 @@ share/mlt-7/avformat/consumer_avformat.y share/mlt-7/avformat/filter_avcolour_space.yml share/mlt-7/avformat/filter_avdeinterlace.yml share/mlt-7/avformat/filter_swresample.yml +share/mlt-7/avformat/filter_sws_colortransform.yml share/mlt-7/avformat/filter_swscale.yml share/mlt-7/avformat/link_avdeinterlace.yml share/mlt-7/avformat/link_swresample.yml +share/mlt-7/avformat/producer_avformat-novalidate.yml share/mlt-7/avformat/producer_avformat.yml share/mlt-7/avformat/resolution_scale.yml share/mlt-7/avformat/yuv_only.txt @@ -115,6 +118,7 @@ share/mlt-7/core/filter_box_blur.yml share/mlt-7/core/filter_brightness.yml share/mlt-7/core/filter_channelcopy.yml share/mlt-7/core/filter_choppy.yml +share/mlt-7/core/filter_color_transform.yml share/mlt-7/core/filter_crop.yml share/mlt-7/core/filter_fieldorder.yml share/mlt-7/core/filter_gamma.yml @@ -156,6 +160,7 @@ share/mlt-7/decklink/consumer_decklink.y share/mlt-7/decklink/producer_decklink.yml share/mlt-7/frei0r/ share/mlt-7/frei0r/aliases.yaml +share/mlt-7/frei0r/alpha_only.txt share/mlt-7/frei0r/blacklist.txt share/mlt-7/frei0r/filter_cairoblend_mode.yml share/mlt-7/frei0r/not_thread_safe.txt @@ -172,6 +177,8 @@ share/mlt-7/kdenlive/filter_wave.yml share/mlt-7/kdenlive/producer_framebuffer.yml share/mlt-7/metaschema.yaml share/mlt-7/movit/ +share/mlt-7/movit/consumer_xgl.yml +share/mlt-7/movit/filter_glsl_manager.yml share/mlt-7/movit/filter_movit_blur.yml share/mlt-7/movit/filter_movit_convert.yml share/mlt-7/movit/filter_movit_crop.yml @@ -182,6 +189,7 @@ share/mlt-7/movit/filter_movit_glow.yml share/mlt-7/movit/filter_movit_lift_gamma_gain.yml share/mlt-7/movit/filter_movit_mirror.yml share/mlt-7/movit/filter_movit_opacity.yml +share/mlt-7/movit/filter_movit_overlay_mode.yml share/mlt-7/movit/filter_movit_rect.yml share/mlt-7/movit/filter_movit_resample.yml share/mlt-7/movit/filter_movit_resize.yml @@ -209,6 +217,8 @@ share/mlt-7/oldfilm/lines.svg share/mlt-7/oldfilm/oldfilm.svg share/mlt-7/oldfilm/tcolor.svg share/mlt-7/oldfilm/vignette.svg +share/mlt-7/openfx/ +share/mlt-7/openfx/filter_openfx.yml share/mlt-7/plus/ share/mlt-7/plus/consumer_blipflash.yml share/mlt-7/plus/filter_affine.yml @@ -240,6 +250,7 @@ share/mlt-7/plus/filter_timer.yml share/mlt-7/plus/producer_blipflash.yml share/mlt-7/plus/producer_count.yml share/mlt-7/plus/producer_pgm.yml +share/mlt-7/plus/producer_subtitle.yml share/mlt-7/plus/transition_affine.yml share/mlt-7/presets/ share/mlt-7/presets/consumer/ @@ -364,6 +375,8 @@ share/mlt-7/presets/consumer/avformat/te share/mlt-7/presets/consumer/avformat/ten_bit/ProRes 444 share/mlt-7/presets/consumer/avformat/ten_bit/ProRes HQ share/mlt-7/presets/consumer/avformat/ten_bit/SVT-AV1 +share/mlt-7/presets/consumer/avformat/ten_bit/vp9-eac3-mp4 +share/mlt-7/presets/consumer/avformat/ten_bit/vp9-opus-webm share/mlt-7/presets/consumer/avformat/ten_bit/x264-high10 share/mlt-7/presets/consumer/avformat/ten_bit/x265-main10 share/mlt-7/presets/consumer/avformat/vp9 @@ -468,8 +481,6 @@ share/mlt-7/profiles/vcd_ntsc share/mlt-7/profiles/vcd_pal share/mlt-7/profiles/vertical_hd_30 share/mlt-7/profiles/vertical_hd_60 -share/mlt-7/resample/ -share/mlt-7/resample/link_resample.yml share/mlt-7/sdl2/ share/mlt-7/sdl2/consumer_sdl2.yml share/mlt-7/sdl2/consumer_sdl2_audio.yml