From a52bcd1cacb32a997627193cfeff8ba190f02d4a Mon Sep 17 00:00:00 2001 From: Raven Date: Mon, 6 May 2024 11:53:38 +0600 Subject: [PATCH] mlt: upgrade to 7.22.0 --- base/mlt/mlt.spec | 44 +++++++++++++++++++++----------------------- 1 file changed, 21 insertions(+), 23 deletions(-) diff --git a/base/mlt/mlt.spec b/base/mlt/mlt.spec index 9e38200..8cfb1d3 100644 --- a/base/mlt/mlt.spec +++ b/base/mlt/mlt.spec @@ -8,8 +8,6 @@ %bcond_without opencv %endif -%bcond_with freeworld - # needs nonfree/ndi-sdk %bcond_with ndi @@ -20,7 +18,7 @@ #global gver .%%{gitdate}git%%{shortcommit} Name: mlt -Version: 7.10.0 +Version: 7.22.0 Release: 1%{?dist} Summary: Toolkit for broadcasters, video editors, media players, transcoders @@ -40,7 +38,7 @@ BuildRequires: qt5-qtsvg-devel BuildRequires: qt5-qt3d-devel BuildRequires: SDL-devel BuildRequires: SDL2-devel -%if ! (0%{?rhel} >= 8) +%if 0%{?rhel} >= 8 BuildRequires: SDL_image-devel BuildRequires: SDL2_image-devel %endif @@ -69,19 +67,17 @@ BuildRequires: movit-devel BuildRequires: eigen3-devel BuildRequires: libebur128-devel BuildRequires: rubberband-devel -%if %{with freeworld} BuildRequires: ffmpeg-devel BuildRequires: xine-lib-devel -Provides: mlt-freeworld = %{version}-%{release} -Obsoletes:mlt-freeworld < %{version}-%{release} %if %{with ndi} BuildRequires: libndi-devel BuildRequires: ndi-sdk-devel %endif -%endif + %if %{with opencv} BuildRequires: opencv-devel %endif +BuildRequires: pkgconfig(libarchive) %if %{with ruby} BuildRequires: ruby-devel @@ -95,6 +91,9 @@ BuildRequires: php-devel %global __provides_exclude_from %{?__provides_exclude_from:%__provides_exclude_from|}%{php_extdir}/.*\\.so$ %endif +Provides: mlt-freeworld = %{version}-%{release} +Obsoletes: mlt-freeworld < %{version}-%{release} + %description MLT is an open source multimedia framework, designed and developed for @@ -105,12 +104,6 @@ transcoders, web streamers and many more types of applications. The functionality of the system is provided via an assortment of ready to use tools, xml authoring components, and an extendible plug-in based API. -%package freeworld -Summary: ffmpeg support for MLT -%description freeworld -MLT was packaged in Fedora without ffmpeg support, this package give us -the ffmpeg support. - %package devel Summary: Libraries, includes to develop applications with %{name} License: LGPLv2+ @@ -162,6 +155,12 @@ rm -r src/win32/ -DCMAKE_SKIP_INSTALL_RPATH:BOOL=ON \ %{?with_php: -DSWIG_PHP:BOOL=ON} \ -DSWIG_PYTHON:BOOL=ON \ +%if 0%{?rhel} == 8 + -DPython3_INCLUDE_DIRS=%{_includedir}/python3.6m -DPython3_EXECUTABLE=%{_bindir}/python3.6 \ +%endif +%if 0%{?rhel} > 8 + -DMOD_GLAXNIMATE:BOOL=ON \ +%endif %{?with_ruby: -DSWIG_RUBY:BOOL=ON} \ %{!?with_freeworld: -DMOD_XINE:BOOL=OFF} \ %{?with_opencv: -DMOD_OPENCV:BOOL=ON} \ @@ -196,7 +195,7 @@ test "$(pkg-config --modversion mlt++-7)" = "%{version}" %files %doc AUTHORS NEWS README* -%doc docs/*txt demo/ +%doc demo/ %license COPYING GPL %{_bindir}/mlt-melt %{_bindir}/melt-7 @@ -205,15 +204,11 @@ test "$(pkg-config --modversion mlt++-7)" = "%{version}" %{_libdir}/libmlt-7.so.* %{_datadir}/mlt-7/ %{_mandir}/man1/melt-7.1* -%if %{with freeworld} -%exclude %{_libdir}/mlt-7/libmltavformat.so -%exclude %{_libdir}/mlt-7/libmltxine.so -%exclude %{_datadir}/mlt-7/avformat +%if %{with ndi} +%exclude %{_libdir}/mlt-7/libmltndi.so -%files freeworld -%{_libdir}/mlt-7/libmltavformat.so -%{_libdir}/mlt-7/libmltxine.so -%{_datadir}/mlt-7/avformat +%files ndi +%{_libdir}/mlt-7/libmltndi.so %endif %files -n python3-mlt @@ -242,6 +237,9 @@ test "$(pkg-config --modversion mlt++-7)" = "%{version}" %changelog +* Mon May 06 2024 Raven - 7.22.0-1 +- Update mlt to 7.22.0 + * Fri Nov 04 2022 Sérgio Basto - 7.10.0-1 - Update mlt to 7.10.0 (#2137811 2139196)