Accepting request 1330378 from multimedia:libs

OBS-URL: https://build.opensuse.org/request/show/1330378
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libmlt?expand=0&rev=80
This commit is contained in:
2026-02-02 13:58:35 +00:00
committed by Git OBS Bridge
4 changed files with 65 additions and 31 deletions

View File

@@ -1,3 +1,58 @@
-------------------------------------------------------------------
Mon Feb 2 09:41:08 UTC 2026 - Michael Vetter <mvetter@suse.com>
- Update to 7.36.1:
* Fix a regression creating a xml-clip producer or producer with
a null profile. This broke, for example, nesting a MLT XML project
file within another project in Shotcut.
-------------------------------------------------------------------
Mon Feb 2 09:38:52 UTC 2026 - Michael Vetter <mvetter@suse.com>
- Update to 7.36.0:
Framework:
* Added mlt_image_default_colorspace()
* Added mlt_image_default_trc()
* Added mlt_image_default_primaries()
* Added mlt_color_convert_trc()
* Added the mlt_consumer property mlt_color_trc to drive a new
color_transform normalizer filter. This sets the color transfer function to
use for image/video effects. It is beneficial and correct to use linear
color for any pixel mixing whether for blending or interpolation.
* Removed atexit(mlt_factory_close) in mlt_factory_init(). Close the factory
yourself if you feel the need to (not generally needed when exiting a
process).
* Prevent possible crash in mlt_service_connect_producer().
* Added mlt_profile_is_valid() and Mlt::Profile::is_valid().
* Fixed crash on invalid profile (CVE-2025-65834)
Modules:
* Drop support for Qt 5.
* Fixed bad color in luma transition's dissolve (regression in v7.34.0).
* Fixed HLG HDR broken in decklink consumer (regression in v7.34.0).
* Fixed warnings when flushing audio in the avformat consumer.
* Added support for hwaccel=vulkan to the avformat producer.
* Added a color_transform normalizer filter to the core module to convert all
image/video producers to and from linear color. It is abstract in the core
module and drives some filters
* Added filter sws_colortransform that is more efficient than avfilter.swscale but requires FFmpeg 8.
Changed the default property values of the null consumer: real_time: -1 terminate_on_pause: 1
* Changed the luma and movit.luma transitions to progress linearly with linear color_trc.
* Fixed the alpha channel dropped by the xml-clip producer.
* Added mlt_image_rgba64 format
* Changed the mask_apply filter default transition to qtblend.
* Removed the maximum for the alpha property on the brightness filter so that
you can increase the opacity of an existing alpha channel.
* Fixed background image scaling in the gpsgraphic filter.
* Fix audio artifacts with pcm_s24le in mkv in avformat producer.
Other:
* Fixed melt on Windows not reading file path/name with extended characters (regression in v7.34.0).
* Removed bitrate and quality limits in the vp9 and webm avformat presets.
* Fixed building the ruby bindings with Ruby 3.0.
* More fixes for MSVC.
* Removed win32/strptime.c and replaced with Qt functions.
* Stop showing melt usage on error exit.
- Drop Qt5 support
-------------------------------------------------------------------
Wed Nov 5 18:09:25 UTC 2025 - Christophe Marin <christophe@krop.fr>

View File

@@ -1,7 +1,7 @@
#
# spec file for package libmlt
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,18 +18,17 @@
%define _name mlt
%define libname lib%{_name}
%define lversion 7.34.1
%define lversion 7.36.1
%define sover 7
%define lib_pkgname %{libname}-%{sover}-%{sover}
%define _name_pp %{_name}++
%define libname_pp lib%{_name_pp}
%define sover_pp 7
%define lversion_pp 7.34.1
%define lversion_pp 7.36.1
%define libpp_pkgname %{libname_pp}-%{sover_pp}-%{sover_pp}
%bcond_without Qt6
%bcond_without rtaudio
Name: %{libname}
Version: 7.34.1
Version: 7.36.1
Release: 0
Summary: Multimedia framework for television broadcasting
License: GPL-3.0-or-later
@@ -39,7 +38,7 @@ Source0: https://github.com/mltframework/mlt/releases/download/v%{version
BuildRequires: cmake
BuildRequires: fdupes
BuildRequires: gcc-c++
%if %{with Qt6} && 0%{?suse_version} < 1600
%if 0%{?suse_version} < 1600
# Qt 6 requires a compiler that fully supports c++-17
BuildRequires: gcc13-c++
BuildRequires: gcc13-PIE
@@ -47,13 +46,6 @@ BuildRequires: gcc13-PIE
BuildRequires: ladspa-devel
BuildRequires: pkgconfig
BuildRequires: python-rpm-macros
BuildRequires: cmake(Qt5Core) >= 5.10
BuildRequires: cmake(Qt5Gui)
BuildRequires: cmake(Qt5Network)
BuildRequires: cmake(Qt5Svg)
BuildRequires: cmake(Qt5Widgets)
BuildRequires: cmake(Qt5Xml)
%if %{with Qt6}
BuildRequires: cmake(Qt6Core)
BuildRequires: cmake(Qt6Core5Compat)
BuildRequires: cmake(Qt6Gui)
@@ -61,13 +53,6 @@ BuildRequires: cmake(Qt6Network)
BuildRequires: cmake(Qt6SvgWidgets)
BuildRequires: cmake(Qt6Widgets)
BuildRequires: cmake(Qt6Xml)
%else
BuildRequires: cmake(Qt5Core) >= 5.10
BuildRequires: cmake(Qt5Gui)
BuildRequires: cmake(Qt5Svg)
BuildRequires: cmake(Qt5Widgets)
BuildRequires: cmake(Qt5Xml)
%endif
BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(fftw3)
BuildRequires: pkgconfig(fontconfig)
@@ -180,9 +165,9 @@ transcoders and web streamers.
The functionality of the system is provided via an assortment of
tools, XML authoring components, and an plug-in based API.
%if %{with Qt6}
# Creating a distinct Qt 6 module avoids pulling Qt 6 when installing the
# libmlt modules package
%package -n %{libname}%{sover}-module-qt6
Summary: Qt 6 module for the MLT multimedia framework
Group: Productivity/Multimedia/Video/Editors and Convertors
@@ -197,7 +182,6 @@ The functionality of the system is provided via an assortment of
tools, XML authoring components, and an plug-in based API.
This package provides a Qt 6 module for MLT.
%endif
%package -n %{libname}%{sover}-data
Summary: Architecture-independent data files for the MLT multimedia framework
@@ -227,7 +211,7 @@ This package contains python bindings.
%autosetup -p1 -n %{_name}-%{version}
%build
%if %{with Qt6} && 0%{?sle_version}
%if 0%{?sle_version}
export CC=gcc-13 CXX=g++-13
%endif
@@ -245,9 +229,6 @@ export CC=gcc-13 CXX=g++-13
-DMOD_GLAXNIMATE=ON \
-DMOD_GLAXNIMATE_QT6=ON \
-DMOD_QT=ON \
%if %{without Qt6}
-DMOD_QT6=OFF
%endif
%cmake_build
@@ -311,7 +292,6 @@ popd
%exclude %{_libdir}/%{_name}-%{sover}/libmltglaxnimate-qt6.so
%exclude %{_libdir}/%{_name}-%{sover}/libmltqt6.so
%if %{with Qt6}
%files -n %{libname}%{sover}-module-qt6
%dir %{_datadir}/%{_name}-%{sover}
%{_datadir}/%{_name}-%{sover}/glaxnimate-qt6/
@@ -319,7 +299,6 @@ popd
%dir %{_libdir}/%{_name}-%{sover}
%{_libdir}/%{_name}-%{sover}/libmltglaxnimate-qt6.so
%{_libdir}/%{_name}-%{sover}/libmltqt6.so
%endif
%files -n %{libname}%{sover}-data
%dir %{_datadir}/%{_name}-%{sover}/

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4104b87db3e14389f81666938c131f723564773fec9aa18b6bff008761cc838b
size 1817867

3
mlt-7.36.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0d2b956864ba2ff58bb4e2b2779aa36870bd2a3a835e2dbfda33faa5fc6f4d3a
size 1832413