diff --git a/mlt.spec b/mlt.spec index 1e8aa30..983c1a6 100644 --- a/mlt.spec +++ b/mlt.spec @@ -1,6 +1,6 @@ %define apiver %(echo %version | cut -d. -f1) Name: mlt -Version: 7.14.0 +Version: 7.16.0 Release: 1mamba Summary: An open source multimedia framework, designed and developed for television broadcasting Group: Development/Tools @@ -19,6 +19,7 @@ BuildRequires: libQt5Svg-devel BuildRequires: libSDL-devel BuildRequires: libSDL2-devel BuildRequires: libX11-devel +BuildRequires: libarchive-devel BuildRequires: libavcodec-ffmpeg-devel BuildRequires: libavdevice-ffmpeg-devel BuildRequires: libavfilter-ffmpeg-devel @@ -32,9 +33,12 @@ BuildRequires: libfreetype-devel BuildRequires: libgcc BuildRequires: libgdk-pixbuf-devel BuildRequires: libglib-devel +BuildRequires: libglvnd-devel BuildRequires: libharfbuzz-devel BuildRequires: libjack-devel +BuildRequires: libopencv-devel BuildRequires: libpango-devel +BuildRequires: libpython310-devel BuildRequires: librtaudio-devel BuildRequires: librubberband-devel BuildRequires: libsamplerate-devel @@ -43,7 +47,11 @@ BuildRequires: libswresample-ffmpeg-devel BuildRequires: libswscale-ffmpeg-devel BuildRequires: libvorbis-devel BuildRequires: libxml2-devel +BuildRequires: libz-devel BuildRequires: qt5-qtbase-devel +BuildRequires: qt6-qt5compat-devel +BuildRequires: qt6-qtbase-devel +BuildRequires: qt6-qtsvg-devel BuildRequires: sox-devel ## AUTOBUILDREQ-END BuildRequires: librtaudio-devel >= 5.0.0-1mamba @@ -68,8 +76,8 @@ This package contains static files and headers used for development. %package -n lib%{name}-devel Summary: An open source multimedia framework, designed and developed for television broadcasting Group: Development/Libraries -Requires: %{name} = %{version}-%{release} -Requires: lib%{name} = %{version}-%{release} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} Provides: libmlt++-devel Obsoletes: libmlt++-devel < 7.0.0 Provides: mlt-devel @@ -79,6 +87,15 @@ Obsoletes: mlt-devel < 7.0.0 MLT is an open source multimedia framework, designed and developed for television broadcasting. It provides a toolkit for broadcasters, video editors, media players, 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. This package contains static files and headers used for development. +%package -n python-mlt +Summary: Python binding for %{name} +Group: System/Libraries +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description -n python-mlt +MLT is an open source multimedia framework, designed and developed for television broadcasting. It provides a toolkit for broadcasters, video editors, media players, 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. +This package contains the Python binding for %{name}. + %debug_package %prep @@ -86,23 +103,14 @@ This package contains static files and headers used for development. #%patch2 -p1 %build -%cmake -d build +%cmake -d build \ + -DMOD_OPENCV=ON \ + -DMOD_GLAXNIMATE=ON \ + -DMOD_QT6=ON \ + -DSWIG_PYTHON=ON %make -:<< __OLD -export KDEDIR=%{kdedir} -%configure \ - --enable-gpl \ - --enable-motion-est \ - --avformat-swscale \ - --qt-includedir=%{_qt5_headerdir} \ - --qt-libdir=%{_qt5_libdir} \ - --qimage-libdir=%{_qt5_libdir} \ - --qimage-includedir=%{_qt5_headerdir} - -CFLAGS="-I%{_includedir}/ffmpeg" %make - %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -C build @@ -142,7 +150,18 @@ CFLAGS="-I%{_includedir}/ffmpeg" %make %dir %{_libdir}/cmake/Mlt7 %{_libdir}/cmake/Mlt7/Mlt7*.cmake +%files -n python-mlt +%defattr(-,root,root) +%{python310_sitearch}/_mlt7.so +%{python310_sitearch}/mlt7.py + %changelog +* Mon May 08 2023 Automatic Build System 7.16.0-1mamba +- automatic version update by autodist + +* Sat May 06 2023 Silvan Calarco 7.14.0-2mamba +- rebuilt with glaxnimate (required by kdenlive) and other options + * Tue Mar 07 2023 Automatic Build System 7.14.0-1mamba - automatic version update by autodist