pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/multimedia
Module Name: pkgsrc
Committed By: markd
Date: Sun Nov 30 10:10:04 UTC 2025
Modified Files:
pkgsrc/multimedia/mlt: Makefile PLIST distinfo
pkgsrc/multimedia/mlt/patches: patch-src_framework_mlt__property.c
Added Files:
pkgsrc/multimedia/mlt: Makefile.common
pkgsrc/multimedia/mlt-qt5: DESCR Makefile PLIST
pkgsrc/multimedia/mlt-qt6: DESCR Makefile PLIST
pkgsrc/multimedia/mlt/patches: patch-cmake_FindFFmpeg.cmake
Log Message:
mlt*: update to 7.34.1
Split the qt5 and qt6 modules into their own packages.
Version 7.34.1
- Fixed compiling with Qt 5.
Version 7.34.0
Framework
- Added `mlt_image_rgba64` format. This change touched core, avformat, and qt
modules as well.
- Added `mlt_color_trc`, `mlt_color_primaries`, and more `mlt_colorspace`s along
with functions:
* `mlt_image_color_trc_name`
* `mlt_image_color_trc_id`
* `mlt_image_colorspace_name`
* `mlt_image_colorspace_id`
* `mlt_image_color_pri_name`
* `mlt_image_color_pri_id`
- Fixed some minor memory leaks with `cppcheck`.
Modules
- Added rgba and rgba64 formats to the `luma` transition.
- Added rgba64 format to `affine` filter and transition.
- Added rgba64 format to the `qtblend` transition.
- Added support for FFmpeg 8 to the `avformat` module.
- Fixed audio `panner` filter for 5.1 channel layout.
- Fixed converting 10-bit full to limited range in `avformat` producer
(regression in v7.30.0).
- Fixed shadow not working for multi-line template titles in `kdenlivetitle`
producer.
- Fixed `mask_apply` filter with custom transition.
- Added `input_chmask` & `output_chmask` properties to `mono` filter.
- Added `channel_mask` property to LADSPA/LV2/VST2 filters.
- Added `channel_mask` to the `volume` filter.
- Added an `outline` video filter.
- Fixed a deadlock on image with a `%` in the name in `qimage` producer.
- Added scrubbing to the `decklink` consumer.
- Fixed `&` not decoded to `&` in the `xml` producer.
- Fixed converting BT.709 to BT.2020 in the `avformat` module.
- Fixed building a `ladspa` module without JACK as dependency.
- Deprecate a JACK Rack XML file in the `jackrack` and `ladspa` modules.
- Added filter `qtblend_mode`.
- Fixed incorrect alpha channel breaking optimization of `qtblend`.
- Fixed pixel format gbrap (Ut Video with alpha channel) in the `avformat` producer.
- Fixed `opencv_tracker` filter on cut playlist clips.
- Fixed warning about missing color range for `avfilter`s that use it (e.g.
`avfilter.colorspace`).
- Added typewriter properties to the `qtext` filter.
- Fixed color distortion or a crash if using hwaccel with orientation rotation
in `avformat` producer.
Other
- Enable Qt 6 and disable Qt 5 modules in CMake by default.
- Disable the SDL1 module in CMake by default.
- Changed `melt` now exits with 1 if the producer is invalid.
- Various changes to work with MSVC compiler.
- Changed SVT-AV1 encode presets to VBR for Opus audio.
- Fixed initializing Qt on the main thread in `melt`.
- Documented the `-progress2` option for `melt`.
- Increased the minimum C++ version to C++20.
- Converted many modules to use CMake `find_package()`.
- Added `libgen.c` and `libgen.h` for MSVC.
To generate a diff of this commit:
cvs rdiff -u -r1.154 -r1.155 pkgsrc/multimedia/mlt/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/multimedia/mlt/Makefile.common
cvs rdiff -u -r1.9 -r1.10 pkgsrc/multimedia/mlt/PLIST
cvs rdiff -u -r1.18 -r1.19 pkgsrc/multimedia/mlt/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/multimedia/mlt-qt5/DESCR \
pkgsrc/multimedia/mlt-qt5/Makefile pkgsrc/multimedia/mlt-qt5/PLIST
cvs rdiff -u -r0 -r1.1 pkgsrc/multimedia/mlt-qt6/DESCR \
pkgsrc/multimedia/mlt-qt6/Makefile pkgsrc/multimedia/mlt-qt6/PLIST
cvs rdiff -u -r0 -r1.1 \
pkgsrc/multimedia/mlt/patches/patch-cmake_FindFFmpeg.cmake
cvs rdiff -u -r1.4 -r1.5 \
pkgsrc/multimedia/mlt/patches/patch-src_framework_mlt__property.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/multimedia/mlt/Makefile
diff -u pkgsrc/multimedia/mlt/Makefile:1.154 pkgsrc/multimedia/mlt/Makefile:1.155
--- pkgsrc/multimedia/mlt/Makefile:1.154 Thu Oct 23 20:38:38 2025
+++ pkgsrc/multimedia/mlt/Makefile Sun Nov 30 10:10:03 2025
@@ -1,28 +1,20 @@
-# $NetBSD: Makefile,v 1.154 2025/10/23 20:38:38 wiz Exp $
+# $NetBSD: Makefile,v 1.155 2025/11/30 10:10:03 markd Exp $
-DISTNAME= mlt-7.32.0
-PKGREVISION= 2
-CATEGORIES= multimedia
-MASTER_SITES= ${MASTER_SITE_GITHUB:=mltframework/}
-GITHUB_TAG= v${PKGVERSION_NOREV}
+.include "Makefile.common"
-MAINTAINER= pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE= https://www.mltframework.org/
COMMENT= Open source multimedia framework
-LICENSE= gnu-lgpl-v2.1
-USE_TOOLS+= pkg-config gmake
-USE_LANGUAGES= c c++
-
-CFLAGS.NetBSD+= -DHAVE_LOCALE_H -DHAVE_STRTOD_L -D__SETLOCALE_SOURCE__
+CMAKE_CONFIGURE_ARGS+= -DMOD_VIDSTAB=OFF
+CMAKE_CONFIGURE_ARGS+= -DMOD_QT=OFF
+CMAKE_CONFIGURE_ARGS+= -DMOD_QT6=OFF
SUBST_CLASSES+= frei0r
SUBST_STAGE.frei0r= pre-configure
SUBST_FILES.frei0r= src/modules/frei0r/factory.c
SUBST_SED.frei0r= -e 's^/usr/lib/frei0r-1.*:^${BUILDLINK_PREFIX.frei0r}/lib/frei0r-1:^'
-PKGCONFIG_OVERRIDE+= mlt++.pc.in
-PKGCONFIG_OVERRIDE+= mlt-framework.pc.in
+PKGCONFIG_OVERRIDE+= src/framework/mlt-framework.pc.in
+PKGCONFIG_OVERRIDE+= src/mlt++/mlt++.pc.in
.include "../../devel/cmake/build.mk"
.include "../../audio/alsa-lib/buildlink3.mk"
@@ -30,6 +22,7 @@ PKGCONFIG_OVERRIDE+= mlt-framework.pc.in
.include "../../audio/ladspa/buildlink3.mk"
.include "../../audio/libebur128/buildlink3.mk"
.include "../../audio/libsamplerate/buildlink3.mk"
+.include "../../audio/rubberband/buildlink3.mk"
.include "../../audio/sox/buildlink3.mk"
.include "../../mk/bsd.prefs.mk"
.if !empty(PKGSRC_COMPILER:M*gcc*)
@@ -39,12 +32,10 @@ PKGCONFIG_OVERRIDE+= mlt-framework.pc.in
.include "../../devel/pango/buildlink3.mk"
.include "../../graphics/gdk-pixbuf2/buildlink3.mk"
.include "../../graphics/libexif/buildlink3.mk"
-.include "../../multimedia/ffmpeg5/buildlink3.mk"
+.include "../../multimedia/ffmpeg7/buildlink3.mk"
.include "../../multimedia/frei0r/buildlink3.mk"
.include "../../multimedia/libdv/buildlink3.mk"
.include "../../multimedia/movit/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
-.include "../../x11/qt5-qtbase/buildlink3.mk"
-.include "../../x11/qt5-qtsvg/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/multimedia/mlt/PLIST
diff -u pkgsrc/multimedia/mlt/PLIST:1.9 pkgsrc/multimedia/mlt/PLIST:1.10
--- pkgsrc/multimedia/mlt/PLIST:1.9 Fri Jun 6 23:20:05 2025
+++ pkgsrc/multimedia/mlt/PLIST Sun Nov 30 10:10:03 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.9 2025/06/06 23:20:05 wiz Exp $
+@comment $NetBSD: PLIST,v 1.10 2025/11/30 10:10:03 markd Exp $
bin/melt
bin/melt-7
include/mlt-7/framework/mlt.h
@@ -9,6 +9,7 @@ include/mlt-7/framework/mlt_chain.h
include/mlt-7/framework/mlt_consumer.h
include/mlt-7/framework/mlt_deque.h
include/mlt-7/framework/mlt_events.h
+include/mlt-7/framework/mlt_export.h
include/mlt-7/framework/mlt_factory.h
include/mlt-7/framework/mlt_field.h
include/mlt-7/framework/mlt_filter.h
@@ -78,14 +79,15 @@ lib/mlt-7/libmltfrei0r.so
lib/mlt-7/libmltgdk.so
lib/mlt-7/libmltjackrack.so
lib/mlt-7/libmltkdenlive.so
+lib/mlt-7/libmltladspa.so
lib/mlt-7/libmltmovit.so
lib/mlt-7/libmltnormalize.so
lib/mlt-7/libmltoldfilm.so
lib/mlt-7/libmltplus.so
lib/mlt-7/libmltplusgpl.so
-lib/mlt-7/libmltqt.so
lib/mlt-7/libmltresample.so
lib/mlt-7/libmltrtaudio.so
+lib/mlt-7/libmltrubberband.so
lib/mlt-7/libmltsdl2.so
lib/mlt-7/libmltsox.so
lib/mlt-7/libmltvorbis.so
@@ -249,6 +251,7 @@ share/mlt-7/plus/transition_affine.yml
share/mlt-7/plusgpl/consumer_cbrts.yml
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/presets/consumer/avformat/AAC
share/mlt-7/presets/consumer/avformat/ALAC
@@ -437,25 +440,10 @@ 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/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_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/resample/filter_resample.yml
share/mlt-7/resample/link_resample.yml
share/mlt-7/rtaudio/consumer_rtaudio.yml
+share/mlt-7/rubberband/filter_rbpitch.yml
share/mlt-7/sdl2/consumer_sdl2.yml
share/mlt-7/sdl2/consumer_sdl2_audio.yml
share/mlt-7/sox/filter_sox.yml
Index: pkgsrc/multimedia/mlt/distinfo
diff -u pkgsrc/multimedia/mlt/distinfo:1.18 pkgsrc/multimedia/mlt/distinfo:1.19
--- pkgsrc/multimedia/mlt/distinfo:1.18 Mon Oct 13 02:22:16 2025
+++ pkgsrc/multimedia/mlt/distinfo Sun Nov 30 10:10:03 2025
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.18 2025/10/13 02:22:16 mrg Exp $
+$NetBSD: distinfo,v 1.19 2025/11/30 10:10:03 markd Exp $
-BLAKE2s (mlt-7.32.0.tar.gz) = fcade36ef52c4f8df8709cbbf652ea6bb8e06d3fe5a28d5aee3604ee1b3ada31
-SHA512 (mlt-7.32.0.tar.gz) = 50c261d2a1bf76fd3c83d52bfe989bf4e87b9a77198b721f9ce01b8a18abd3a827751c10810ea31e64f5a4a79633b924be5edbf31c4c5a842a54bdf1c041d7f3
-Size (mlt-7.32.0.tar.gz) = 1487407 bytes
+BLAKE2s (mlt-7.34.1.tar.gz) = 7751ed62346f078fa3e57faf60b74959ddf6386cd0398158b2d25cebf80301a7
+SHA512 (mlt-7.34.1.tar.gz) = d14145c033274c669f7437cad39f479e108509f7292a32f469acc146440d8c9b689b78b6cad4ad6da7c74f9e2e3f9041626d7513376943d91f1c85fcfb634f44
+Size (mlt-7.34.1.tar.gz) = 1511970 bytes
+SHA1 (patch-cmake_FindFFmpeg.cmake) = 493c8fb35a15a6079735e4cd8cf02272af7aa539
SHA1 (patch-src_framework_mlt__properties.c) = 387866d6ad5ffb5888a5f12c970c1f3b40dac202
-SHA1 (patch-src_framework_mlt__property.c) = dada3132f6eab8a4d09d3a16413e4f8eb4d17c79
+SHA1 (patch-src_framework_mlt__property.c) = 288d6f128094b281b2037d5ac6403f7ef83d585a
Index: pkgsrc/multimedia/mlt/patches/patch-src_framework_mlt__property.c
diff -u pkgsrc/multimedia/mlt/patches/patch-src_framework_mlt__property.c:1.4 pkgsrc/multimedia/mlt/patches/patch-src_framework_mlt__property.c:1.5
--- pkgsrc/multimedia/mlt/patches/patch-src_framework_mlt__property.c:1.4 Mon Oct 13 02:22:16 2025
+++ pkgsrc/multimedia/mlt/patches/patch-src_framework_mlt__property.c Sun Nov 30 10:10:03 2025
@@ -1,107 +1,42 @@
-$NetBSD: patch-src_framework_mlt__property.c,v 1.4 2025/10/13 02:22:16 mrg Exp $
+$NetBSD: patch-src_framework_mlt__property.c,v 1.5 2025/11/30 10:10:03 markd Exp $
Avoid the strtod_l() etc code on NetBSD as well, it is attempts
to convert between "char *" and "locale_t" directly.
---- src/framework/mlt_property.c.orig 2025-05-07 15:48:51.000000000 -0700
-+++ src/framework/mlt_property.c 2025-10-12 14:14:48.402329303 -0700
-@@ -319,7 +319,7 @@ static int time_clock_to_frames(mlt_prop
- pos = strrchr(s, ':');
-
- #if !defined(__GLIBC__) && !defined(__APPLE__) && !defined(_WIN32) && !defined(HAVE_STRTOD_L) \
-- && !defined(__OpenBSD__)
-+ && !defined(__OpenBSD__) && !defined(__NetBSD__)
- char *orig_localename = NULL;
- if (locale) {
- // Protect damaging the global locale from a temporary locale on another thread.
-@@ -334,7 +334,7 @@ static int time_clock_to_frames(mlt_prop
+--- src/framework/mlt_property.c.orig 2025-11-05 15:41:13.000000000 +0000
++++ src/framework/mlt_property.c
+@@ -38,13 +38,13 @@
+ #include <string.h>
+
+ // Platforms with native strtod_l support
+-#if defined(__GLIBC__) || defined(__APPLE__) || (defined(HAVE_STRTOD_L) && !defined(__OpenBSD__))
++#if defined(__GLIBC__) || defined(__APPLE__) || (defined(HAVE_STRTOD_L) && !defined(__OpenBSD__) && !defined(__NetBSD__))
+ #define HAVE_LOCALE_STRTOD_L 1
#endif
- if (pos) {
--#if defined(__GLIBC__) || defined(__APPLE__) || defined(HAVE_STRTOD_L) && !defined(__OpenBSD__)
-+#if defined(__GLIBC__) || defined(__APPLE__) || defined(HAVE_STRTOD_L) && !defined(__OpenBSD__) && !defined(__NetBSD__)
- if (locale)
- seconds = strtod_l(pos + 1, NULL, locale);
- else
-@@ -350,7 +350,7 @@ static int time_clock_to_frames(mlt_prop
- minutes = atoi(s);
- }
- } else {
--#if defined(__GLIBC__) || defined(__APPLE__) || defined(HAVE_STRTOD_L) && !defined(__OpenBSD__)
-+#if defined(__GLIBC__) || defined(__APPLE__) || defined(HAVE_STRTOD_L) && !defined(__OpenBSD__) && !defined(__NetBSD__)
- if (locale)
- seconds = strtod_l(s, NULL, locale);
- else
-@@ -359,7 +359,7 @@ static int time_clock_to_frames(mlt_prop
- }
-
+ // Platforms requiring manual locale handling (excluding Windows)
#if !defined(__GLIBC__) && !defined(__APPLE__) && !defined(_WIN32) && !defined(HAVE_STRTOD_L) \
- && !defined(__OpenBSD__)
+ && !defined(__OpenBSD__) && !defined(__NetBSD__)
- if (locale) {
- // Restore the current locale
- setlocale(LC_NUMERIC, orig_localename);
-@@ -523,7 +523,7 @@ static double mlt_property_atof(mlt_prop
- char *end = NULL;
- double result;
+ #define NEED_LOCALE_SAVE_RESTORE 1
+ #endif
--#if defined(__GLIBC__) || defined(__APPLE__) || defined(HAVE_STRTOD_L) && !defined(__OpenBSD__)
-+#if defined(__GLIBC__) || defined(__APPLE__) || defined(HAVE_STRTOD_L) && !defined(__OpenBSD__) && !defined(__NetBSD__)
+@@ -562,7 +562,7 @@ static double mlt_property_atof(mlt_prop
if (locale)
result = strtod_l(value, &end, locale);
else
-@@ -546,7 +546,7 @@ static double mlt_property_atof(mlt_prop
- result /= 100.0;
-
- #if !defined(__GLIBC__) && !defined(__APPLE__) && !defined(_WIN32) && !defined(HAVE_STRTOD_L) \
-- && !defined(__OpenBSD__)
-+ && !defined(__OpenBSD__) && !defined(__NetBSD__)
+-#elif !defined(_WIN32)
++#elif !defined(_WIN32) && !defined(__NetBSD__)
if (locale) {
- // Restore the current locale
- setlocale(LC_NUMERIC, orig_localename);
-@@ -1157,7 +1157,7 @@ int mlt_property_is_numeric(mlt_property
- if ((!result && self->types & mlt_prop_string) && self->prop_string) {
- char *p = NULL;
-
--#if defined(__GLIBC__) || defined(__APPLE__) || defined(HAVE_STRTOD_L) && !defined(__OpenBSD__)
-+#if defined(__GLIBC__) || defined(__APPLE__) || defined(HAVE_STRTOD_L) && !defined(__OpenBSD__) && !defined(__NetBSD__)
+ // Protect damaging the global locale from a temporary locale on another thread.
+ pthread_mutex_lock(&self->mutex);
+@@ -1197,7 +1197,7 @@ int mlt_property_is_numeric(mlt_property
if (locale)
strtod_l(self->prop_string, &p, locale);
else
-@@ -1178,7 +1178,7 @@ int mlt_property_is_numeric(mlt_property
- strtod(self->prop_string, &p);
-
- #if !defined(__GLIBC__) && !defined(__APPLE__) && !defined(_WIN32) && !defined(HAVE_STRTOD_L) \
-- && !defined(__OpenBSD__)
-+ && !defined(__OpenBSD__) && !defined(__NetBSD__)
- if (locale) {
- // Restore the current locale
- setlocale(LC_NUMERIC, orig_localename);
-@@ -1894,7 +1894,7 @@ mlt_rect mlt_property_get_rect(mlt_prope
- int count = 0;
-
- #if !defined(__GLIBC__) && !defined(__APPLE__) && !defined(_WIN32) && !defined(HAVE_STRTOD_L) \
-- && !defined(__OpenBSD__)
-+ && !defined(__OpenBSD__) && !defined(__NetBSD__)
- char *orig_localename = NULL;
+-#elif !defined(_WIN32)
++#elif !defined(_WIN32) && !defined(__NetBSD__)
if (locale) {
// Protect damaging the global locale from a temporary locale on another thread.
-@@ -1910,7 +1910,7 @@ mlt_rect mlt_property_get_rect(mlt_prope
-
- while (*value) {
- double temp;
--#if defined(__GLIBC__) || defined(__APPLE__) || defined(HAVE_STRTOD_L) && !defined(__OpenBSD__)
-+#if defined(__GLIBC__) || defined(__APPLE__) || defined(HAVE_STRTOD_L) && !defined(__OpenBSD__) && !defined(__NetBSD__)
- if (locale)
- temp = strtod_l(value, &p, locale);
- else
-@@ -1952,7 +1952,7 @@ mlt_rect mlt_property_get_rect(mlt_prope
- }
-
- #if !defined(__GLIBC__) && !defined(__APPLE__) && !defined(_WIN32) && !defined(HAVE_STRTOD_L) \
-- && !defined(__OpenBSD__)
-+ && !defined(__OpenBSD__) && !defined(__NetBSD__)
- if (locale) {
- // Restore the current locale
- setlocale(LC_NUMERIC, orig_localename);
+ pthread_mutex_lock(&self->mutex);
Added files:
Index: pkgsrc/multimedia/mlt/Makefile.common
diff -u /dev/null pkgsrc/multimedia/mlt/Makefile.common:1.1
--- /dev/null Sun Nov 30 10:10:04 2025
+++ pkgsrc/multimedia/mlt/Makefile.common Sun Nov 30 10:10:03 2025
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile.common,v 1.1 2025/11/30 10:10:03 markd Exp $
+
+# used by multimedia/mlt/Makefile
+# used by multimedia/mlt-qt5/Makefile
+# used by multimedia/mlt-qt6/Makefile
+
+DISTNAME= mlt-7.34.1
+CATEGORIES= multimedia
+MASTER_SITES= ${MASTER_SITE_GITHUB:=mltframework/}
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://www.mltframework.org/
+LICENSE= gnu-lgpl-v2.1
+
+USE_TOOLS+= pkg-config gmake
+USE_LANGUAGES= c c++
+
+DISTINFO_FILE= ${.CURDIR}/../../multimedia/mlt/distinfo
+PATCHDIR= ${.CURDIR}/../../multimedia/mlt/patches
+WRKSRC= ${WRKDIR}/${DISTNAME}
+
+CFLAGS.NetBSD+= -DHAVE_LOCALE_H -DHAVE_STRTOD_L -D__SETLOCALE_SOURCE__
Index: pkgsrc/multimedia/mlt-qt5/DESCR
diff -u /dev/null pkgsrc/multimedia/mlt-qt5/DESCR:1.1
--- /dev/null Sun Nov 30 10:10:04 2025
+++ pkgsrc/multimedia/mlt-qt5/DESCR Sun Nov 30 10:10:03 2025
@@ -0,0 +1 @@
+QT5 plugin for the MLT multimedia framework
Index: pkgsrc/multimedia/mlt-qt5/Makefile
diff -u /dev/null pkgsrc/multimedia/mlt-qt5/Makefile:1.1
--- /dev/null Sun Nov 30 10:10:04 2025
+++ pkgsrc/multimedia/mlt-qt5/Makefile Sun Nov 30 10:10:04 2025
@@ -0,0 +1,41 @@
+# $NetBSD: Makefile,v 1.1 2025/11/30 10:10:04 markd Exp $
+
+.include "../../multimedia/mlt/Makefile.common"
+
+PKGNAME= mlt-qt5-7.34.1
+COMMENT= QT5 plugin for the MLT multimedia framework
+
+BUILD_DIRS= src/modules/qt
+
+CMAKE_CONFIGURE_ARGS+= -DMOD_QT=ON
+CMAKE_CONFIGURE_ARGS+= -DMOD_QT6=OFF
+CMAKE_CONFIGURE_ARGS+= -DMOD_AVFORMAT=OFF
+CMAKE_CONFIGURE_ARGS+= -DMOD_DECKLINK=OFF
+CMAKE_CONFIGURE_ARGS+= -DMOD_FREI0R=OFF
+CMAKE_CONFIGURE_ARGS+= -DMOD_GDK=OFF
+CMAKE_CONFIGURE_ARGS+= -DMOD_JACKRACK=OFF
+CMAKE_CONFIGURE_ARGS+= -DMOD_KDENLIVE=OFF
+CMAKE_CONFIGURE_ARGS+= -DMOD_NORMALIZE=OFF
+CMAKE_CONFIGURE_ARGS+= -DMOD_OLDFILM=OFF
+CMAKE_CONFIGURE_ARGS+= -DMOD_MOVIT=OFF
+CMAKE_CONFIGURE_ARGS+= -DMOD_PLUS=OFF
+CMAKE_CONFIGURE_ARGS+= -DMOD_PLUSGPL=OFF
+CMAKE_CONFIGURE_ARGS+= -DMOD_RESAMPLE=OFF
+CMAKE_CONFIGURE_ARGS+= -DMOD_RTAUDIO=OFF
+CMAKE_CONFIGURE_ARGS+= -DMOD_RUBBERBAND=OFF
+CMAKE_CONFIGURE_ARGS+= -DMOD_SDL2=OFF
+CMAKE_CONFIGURE_ARGS+= -DMOD_SOX=OFF
+CMAKE_CONFIGURE_ARGS+= -DMOD_VIDSTAB=OFF
+CMAKE_CONFIGURE_ARGS+= -DMOD_VORBIS=OFF
+CMAKE_CONFIGURE_ARGS+= -DMOD_XINE=OFF
+CMAKE_CONFIGURE_ARGS+= -DMOD_XML=OFF
+
+.include "../../devel/cmake/build.mk"
+.include "../../mk/bsd.prefs.mk"
+.if !empty(PKGSRC_COMPILER:M*gcc*)
+. include "../../devel/libatomic/buildlink3.mk"
+.endif
+.include "../../graphics/libexif/buildlink3.mk"
+.include "../../x11/qt5-qtbase/buildlink3.mk"
+.include "../../x11/qt5-qtsvg/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/multimedia/mlt-qt5/PLIST
diff -u /dev/null pkgsrc/multimedia/mlt-qt5/PLIST:1.1
--- /dev/null Sun Nov 30 10:10:04 2025
+++ pkgsrc/multimedia/mlt-qt5/PLIST Sun Nov 30 10:10:04 2025
@@ -0,0 +1,18 @@
+@comment $NetBSD: PLIST,v 1.1 2025/11/30 10:10:04 markd Exp $
+lib/mlt-7/libmltqt.so
+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_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
Index: pkgsrc/multimedia/mlt-qt6/DESCR
diff -u /dev/null pkgsrc/multimedia/mlt-qt6/DESCR:1.1
--- /dev/null Sun Nov 30 10:10:04 2025
+++ pkgsrc/multimedia/mlt-qt6/DESCR Sun Nov 30 10:10:04 2025
@@ -0,0 +1 @@
+QT6 plugin for the MLT multimedia framework
Index: pkgsrc/multimedia/mlt-qt6/Makefile
diff -u /dev/null pkgsrc/multimedia/mlt-qt6/Makefile:1.1
--- /dev/null Sun Nov 30 10:10:04 2025
+++ pkgsrc/multimedia/mlt-qt6/Makefile Sun Nov 30 10:10:04 2025
@@ -0,0 +1,42 @@
+# $NetBSD: Makefile,v 1.1 2025/11/30 10:10:04 markd Exp $
+
+.include "../../multimedia/mlt/Makefile.common"
+
+PKGNAME= mlt-qt6-7.34.1
+COMMENT= QT6 plugin for the MLT multimedia framework
+
+BUILD_DIRS= src/modules/qt
+
+CMAKE_CONFIGURE_ARGS+= -DMOD_QT=OFF
+CMAKE_CONFIGURE_ARGS+= -DMOD_QT6=ON
+CMAKE_CONFIGURE_ARGS+= -DMOD_AVFORMAT=OFF
+CMAKE_CONFIGURE_ARGS+= -DMOD_DECKLINK=OFF
+CMAKE_CONFIGURE_ARGS+= -DMOD_FREI0R=OFF
+CMAKE_CONFIGURE_ARGS+= -DMOD_GDK=OFF
+CMAKE_CONFIGURE_ARGS+= -DMOD_JACKRACK=OFF
+CMAKE_CONFIGURE_ARGS+= -DMOD_KDENLIVE=OFF
+CMAKE_CONFIGURE_ARGS+= -DMOD_NORMALIZE=OFF
+CMAKE_CONFIGURE_ARGS+= -DMOD_OLDFILM=OFF
+CMAKE_CONFIGURE_ARGS+= -DMOD_MOVIT=OFF
+CMAKE_CONFIGURE_ARGS+= -DMOD_PLUS=OFF
+CMAKE_CONFIGURE_ARGS+= -DMOD_PLUSGPL=OFF
+CMAKE_CONFIGURE_ARGS+= -DMOD_RESAMPLE=OFF
+CMAKE_CONFIGURE_ARGS+= -DMOD_RTAUDIO=OFF
+CMAKE_CONFIGURE_ARGS+= -DMOD_RUBBERBAND=OFF
+CMAKE_CONFIGURE_ARGS+= -DMOD_SDL2=OFF
+CMAKE_CONFIGURE_ARGS+= -DMOD_SOX=OFF
+CMAKE_CONFIGURE_ARGS+= -DMOD_VIDSTAB=OFF
+CMAKE_CONFIGURE_ARGS+= -DMOD_VORBIS=OFF
+CMAKE_CONFIGURE_ARGS+= -DMOD_XINE=OFF
+CMAKE_CONFIGURE_ARGS+= -DMOD_XML=OFF
+
+.include "../../devel/cmake/build.mk"
+.include "../../mk/bsd.prefs.mk"
+.if !empty(PKGSRC_COMPILER:M*gcc*)
+. include "../../devel/libatomic/buildlink3.mk"
+.endif
+.include "../../devel/qt6-qt5compat/buildlink3.mk"
+.include "../../graphics/libexif/buildlink3.mk"
+.include "../../x11/qt6-qtbase/buildlink3.mk"
+.include "../../graphics/qt6-qtsvg/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/multimedia/mlt-qt6/PLIST
diff -u /dev/null pkgsrc/multimedia/mlt-qt6/PLIST:1.1
--- /dev/null Sun Nov 30 10:10:04 2025
+++ pkgsrc/multimedia/mlt-qt6/PLIST Sun Nov 30 10:10:04 2025
@@ -0,0 +1,18 @@
+@comment $NetBSD: PLIST,v 1.1 2025/11/30 10:10:04 markd Exp $
+lib/mlt-7/libmltqt6.so
+share/mlt-7/qt6/filter_audiolevelgraph.yml
+share/mlt-7/qt6/filter_audiospectrum.yml
+share/mlt-7/qt6/filter_audiowaveform.yml
+share/mlt-7/qt6/filter_dropshadow.yml
+share/mlt-7/qt6/filter_gpsgraphic.yml
+share/mlt-7/qt6/filter_gpstext.yml
+share/mlt-7/qt6/filter_qtblend.yml
+share/mlt-7/qt6/filter_qtblend_mode.yml
+share/mlt-7/qt6/filter_qtcrop.yml
+share/mlt-7/qt6/filter_qtext.yml
+share/mlt-7/qt6/filter_typewriter.yml
+share/mlt-7/qt6/producer_kdenlivetitle.yml
+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
Index: pkgsrc/multimedia/mlt/patches/patch-cmake_FindFFmpeg.cmake
diff -u /dev/null pkgsrc/multimedia/mlt/patches/patch-cmake_FindFFmpeg.cmake:1.1
--- /dev/null Sun Nov 30 10:10:04 2025
+++ pkgsrc/multimedia/mlt/patches/patch-cmake_FindFFmpeg.cmake Sun Nov 30 10:10:03 2025
@@ -0,0 +1,27 @@
+$NetBSD: patch-cmake_FindFFmpeg.cmake,v 1.1 2025/11/30 10:10:03 markd Exp $
+
+Fix broken prefix
+
+--- cmake/FindFFmpeg.cmake.orig 2025-11-05 15:41:13.000000000 +0000
++++ cmake/FindFFmpeg.cmake
+@@ -115,16 +115,16 @@ macro(find_component _component _pkgconf
+
+ find_path(${_component}_INCLUDE_DIRS ${_header}
+ HINTS
+- ${PC_LIB${_component}_INCLUDEDIR}
+- ${PC_LIB${_component}_INCLUDE_DIRS}
++ ${PC_${_component}_INCLUDEDIR}
++ ${PC_${_component}_INCLUDE_DIRS}
+ PATH_SUFFIXES
+ ffmpeg
+ )
+
+ find_library(${_component}_LIBRARIES NAMES ${_library}
+ HINTS
+- ${PC_LIB${_component}_LIBDIR}
+- ${PC_LIB${_component}_LIBRARY_DIRS}
++ ${PC_${_component}_LIBDIR}
++ ${PC_${_component}_LIBRARY_DIRS}
+ )
+
+ set(${_component}_DEFINITIONS ${PC_${_component}_CFLAGS_OTHER} CACHE STRING "The ${_component} CFLAGS.")
Home |
Main Index |
Thread Index |
Old Index