Accepting request 893433 from home:alois:branches:multimedia:libs

- Update to version 7.0.1
  * Fixed a system-installed build cannot finds its modules and
    data.
  * Fixed the python installation path for binaries.
  * Added support for the `DESTDIR` environment variable when
    creating melt symlink.
  * Increased the build constant for the maximum size of a line
    of a properties file.
  * Fixed the vid.stab metadata install path.
- Drop mlt-7.0.0-python_install_dir.patch (merged upstream)
- Update to version 7.0.0
  Framework:
  * Added `mlt_chain` and `Mlt::Chain` classes.
  * Added `mlt_link` and `Mlt::Link` classes.
  * Added a `link` value to service `type` in the service
    metadata schema.
  * Added a boolean `animation` parameter attribute to the
    service metadata schema.
  * Added `mlt_animation_shift_frame()` and
    `Mlt::Animation::shift_frames()`.
  * Added `mlt_animation_get_string()`.
  * Fixed using a stale cached property animation string.
  * Added `mlt_image` and `Mlt::Image` classes.
  * Remove legacy "height + 1" workaround in image allocation.
  * Fixed a crash on setting `timewarp` speed higher than 23x.
  * Added `mlt_audio_silence()`.
  * Removed `mlt_image_opengl`.
  * Replaced variadic arguments in `mlt_events` with new
    `mlt_event_data` APIs.
  * Removed `mlt_geometry` APIs.
  * Renamed `mlt_image_rgb24a` as `mlt_image_rgba`.
  * Renamed `mlt_image_rgb24` to `mlt_image_rgb`.
  * Renamed `mlt_image_glsl` to `mlt_image_movit`.
  * Renamed `mlt_image_glsl_texture` to
    `mlt_image_opengl_texture`.
  * Removed virtual function `mlt_frame::get_alpha_mask()`.
  * Removed `mlt_frame_get_alpha_mask()`.
  * Removed deprecated functions:
    + `mlt_sample_calculator`
    + `mlt_sample_calculator_to_now`
    + `mlt_channel_layout_name`
    + `mlt_channel_layout_id`
    + `mlt_channel_layout_channels`
    + `mlt_channel_layout_default`
    + `mlt_slices_init`
    + `mlt_slices_close`
    + `mlt_slices_run`
    + `mlt_playlist_move_region`
    + `Mlt::Playlist::move_region`
  * Fixed a rounding error calculating display aspect ratio in
    `mlt_profile_from_producer()`.
  Modules:
  * Added a `timeremap` link to the core module with animatable
    `map` property. (Speed can increase or decrease between
    keyframes including reverse.)
  * Added `chain` and `link` XML elements to `xml` module.
  * Added "meta.media.has_b_frames" property to `avformat`
    producer.
  * Removed deprecated modules:
    + `dv`
    + `gtk2` (not gdk)
    + `kino`
    + `linsys`
    + `lumas`
    + `motion_est`
    + `swfdec`
    + `videostab`
  * Removed the following services:
    + `data_feed` filter
    + `data_show` filter
    + `region` filter and transition
    + `sdl_image`
  * Converted filters to use new `mlt_image` class:
    + `brightness`
    + `imageconver`
    + `mirror`
    + `spot_remover`
  * Deprecated the `audiowave` filter.
  * Added the ability to build the `jackrack` module without
    JACK to get only LADSPA producers and filters.
  * Deprecated `start` and `end` properties for the following
    filters:
    + `brightness`
    + `panner`
    + `boxblur`
    + `wave`
    + `volume`
  * Removed deprecated `font` property from `pango` producer.
  * Improved album art (attached pic) detection in `avformat`
    producer.
  * Improved the `resample` filter to have less artifacts and
    use less memory.
  Other:
  * CMake: nearly complete rewrite.
  * Removed the old configure bash scripts and Makefiles.
  * Added `-chain` and `-link` options to `melt` command line.
- Switch build to cmake
- Drop libmlt-fixluma.patch (no longer useful)
- Add mlt-7.0.0-python_install_dir.patch
- Create single devel subpackage as cmake scripts are
  undifferentiated
- Rename melt subpackage and add update-alternatives
- Spec cleanup

OBS-URL: https://build.opensuse.org/request/show/893433
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libmlt?expand=0&rev=123
This commit is contained in:
Dave Plater 2021-05-16 10:22:27 +00:00 committed by Git OBS Bridge
parent 6d73b4654d
commit a9742e5675
5 changed files with 217 additions and 166 deletions

View File

@ -1,12 +0,0 @@
Index: mlt-6.20.0/src/modules/lumas/create_lumas
===================================================================
--- mlt-6.20.0.orig/src/modules/lumas/create_lumas
+++ mlt-6.20.0/src/modules/lumas/create_lumas
@@ -1,5 +1,7 @@
#!/bin/sh
+export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:../../framework
+
[ \( -d PAL \) -a \( ! $0 -nt .executed \) ] && exit 0
if [ "$(uname -s)" = "Darwin" ]; then

View File

@ -1,3 +1,114 @@
-------------------------------------------------------------------
Sun May 16 08:02:34 UTC 2021 - Luigi Baldoni <aloisio@gmx.com>
- Update to version 7.0.1
* Fixed a system-installed build cannot finds its modules and
data.
* Fixed the python installation path for binaries.
* Added support for the `DESTDIR` environment variable when
creating melt symlink.
* Increased the build constant for the maximum size of a line
of a properties file.
* Fixed the vid.stab metadata install path.
- Drop mlt-7.0.0-python_install_dir.patch (merged upstream)
-------------------------------------------------------------------
Mon May 3 07:57:51 UTC 2021 - Luigi Baldoni <aloisio@gmx.com>
- Update to version 7.0.0
Framework:
* Added `mlt_chain` and `Mlt::Chain` classes.
* Added `mlt_link` and `Mlt::Link` classes.
* Added a `link` value to service `type` in the service
metadata schema.
* Added a boolean `animation` parameter attribute to the
service metadata schema.
* Added `mlt_animation_shift_frame()` and
`Mlt::Animation::shift_frames()`.
* Added `mlt_animation_get_string()`.
* Fixed using a stale cached property animation string.
* Added `mlt_image` and `Mlt::Image` classes.
* Remove legacy "height + 1" workaround in image allocation.
* Fixed a crash on setting `timewarp` speed higher than 23x.
* Added `mlt_audio_silence()`.
* Removed `mlt_image_opengl`.
* Replaced variadic arguments in `mlt_events` with new
`mlt_event_data` APIs.
* Removed `mlt_geometry` APIs.
* Renamed `mlt_image_rgb24a` as `mlt_image_rgba`.
* Renamed `mlt_image_rgb24` to `mlt_image_rgb`.
* Renamed `mlt_image_glsl` to `mlt_image_movit`.
* Renamed `mlt_image_glsl_texture` to
`mlt_image_opengl_texture`.
* Removed virtual function `mlt_frame::get_alpha_mask()`.
* Removed `mlt_frame_get_alpha_mask()`.
* Removed deprecated functions:
+ `mlt_sample_calculator`
+ `mlt_sample_calculator_to_now`
+ `mlt_channel_layout_name`
+ `mlt_channel_layout_id`
+ `mlt_channel_layout_channels`
+ `mlt_channel_layout_default`
+ `mlt_slices_init`
+ `mlt_slices_close`
+ `mlt_slices_run`
+ `mlt_playlist_move_region`
+ `Mlt::Playlist::move_region`
* Fixed a rounding error calculating display aspect ratio in
`mlt_profile_from_producer()`.
Modules:
* Added a `timeremap` link to the core module with animatable
`map` property. (Speed can increase or decrease between
keyframes including reverse.)
* Added `chain` and `link` XML elements to `xml` module.
* Added "meta.media.has_b_frames" property to `avformat`
producer.
* Removed deprecated modules:
+ `dv`
+ `gtk2` (not gdk)
+ `kino`
+ `linsys`
+ `lumas`
+ `motion_est`
+ `swfdec`
+ `videostab`
* Removed the following services:
+ `data_feed` filter
+ `data_show` filter
+ `region` filter and transition
+ `sdl_image`
* Converted filters to use new `mlt_image` class:
+ `brightness`
+ `imageconver`
+ `mirror`
+ `spot_remover`
* Deprecated the `audiowave` filter.
* Added the ability to build the `jackrack` module without
JACK to get only LADSPA producers and filters.
* Deprecated `start` and `end` properties for the following
filters:
+ `brightness`
+ `panner`
+ `boxblur`
+ `wave`
+ `volume`
* Removed deprecated `font` property from `pango` producer.
* Improved album art (attached pic) detection in `avformat`
producer.
* Improved the `resample` filter to have less artifacts and
use less memory.
Other:
* CMake: nearly complete rewrite.
* Removed the old configure bash scripts and Makefiles.
* Added `-chain` and `-link` options to `melt` command line.
- Switch build to cmake
- Drop libmlt-fixluma.patch (no longer useful)
- Add mlt-7.0.0-python_install_dir.patch
- Create single devel subpackage as cmake scripts are
undifferentiated
- Rename melt subpackage and add update-alternatives
- Spec cleanup
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Apr 13 19:10:53 UTC 2021 - Luigi Baldoni <aloisio@gmx.com> Tue Apr 13 19:10:53 UTC 2021 - Luigi Baldoni <aloisio@gmx.com>

View File

@ -18,66 +18,56 @@
%define _name mlt %define _name mlt
%define libname lib%{_name} %define libname lib%{_name}
%define lversion 6.26.1 %define lversion 7.0.1
%define soname 6 %define sover 7
%define lib_pkgname %{libname}-%{sover}-%{sover}
%define _name_pp %{_name}++ %define _name_pp %{_name}++
%define libname_pp lib%{_name_pp} %define libname_pp lib%{_name_pp}
%define soname_pp 3 %define sover_pp 7
%define lversion_pp 7.0.1
%define libpp_pkgname %{libname_pp}-%{sover_pp}-%{sover_pp}
Name: %{libname} Name: %{libname}
Version: 6.26.1 Version: 7.0.1
Release: 0 Release: 0
Summary: Multimedia framework for television broadcasting Summary: Multimedia framework for television broadcasting
License: GPL-3.0-or-later License: GPL-3.0-or-later
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
URL: http://www.mltframework.org URL: https://www.mltframework.org
Source0: https://github.com/mltframework/mlt/archive/v%{version}.tar.gz#/%{_name}-%{version}.tar.gz Source0: https://github.com/mltframework/mlt/archive/v%{version}.tar.gz#/%{_name}-%{version}.tar.gz
# PATCH-FIX-UPSTREAM libmlt-fixluma.patch aloisio@gmx.com -- add LD_LIBRARY_PATH so that luma can run BuildRequires: cmake
Patch2: libmlt-fixluma.patch
BuildRequires: fdupes BuildRequires: fdupes
%if 0%{?suse_version} >= 1500
BuildRequires: gcc-c++ BuildRequires: gcc-c++
%else
BuildRequires: gcc7
BuildRequires: gcc7-c++
#!Buildignore: libgcc_s1
%endif
BuildRequires: ladspa-devel BuildRequires: ladspa-devel
BuildRequires: pkg-config BuildRequires: pkgconfig
BuildRequires: python3-devel BuildRequires: cmake(Qt5Core) >= 5.10
BuildRequires: pkgconfig(Qt5Core) >= 5.10 BuildRequires: cmake(Qt5Gui)
BuildRequires: pkgconfig(Qt5Gui) BuildRequires: cmake(Qt5Svg)
BuildRequires: pkgconfig(Qt5OpenGL) BuildRequires: cmake(Qt5Widgets)
BuildRequires: pkgconfig(Qt5Svg) BuildRequires: cmake(Qt5Xml)
BuildRequires: pkgconfig(Qt5Xml)
BuildRequires: pkgconfig(alsa) BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(fftw3) BuildRequires: pkgconfig(fftw3)
BuildRequires: pkgconfig(frei0r) BuildRequires: pkgconfig(frei0r)
BuildRequires: pkgconfig(gdk-2.0)
BuildRequires: pkgconfig(gdk-pixbuf-2.0) BuildRequires: pkgconfig(gdk-pixbuf-2.0)
BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gobject-2.0)
BuildRequires: pkgconfig(jack) BuildRequires: pkgconfig(jack)
BuildRequires: pkgconfig(libdv)
BuildRequires: pkgconfig(libebur128)
BuildRequires: pkgconfig(libexif)
BuildRequires: pkgconfig(libpulse)
BuildRequires: pkgconfig(libquicktime)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(movit)
#!BuildIgnore: opencv-qt5-devel
BuildRequires: pkgconfig(libavcodec) >= 58 BuildRequires: pkgconfig(libavcodec) >= 58
BuildRequires: pkgconfig(libavdevice) >= 58 BuildRequires: pkgconfig(libavdevice) >= 58
BuildRequires: pkgconfig(libavformat) >= 58 BuildRequires: pkgconfig(libavformat) >= 58
BuildRequires: pkgconfig(libavutil) >= 56 BuildRequires: pkgconfig(libavutil) >= 56
BuildRequires: pkgconfig(libpostproc) >= 55 BuildRequires: pkgconfig(libebur128)
BuildRequires: pkgconfig(libexif)
BuildRequires: pkgconfig(libpulse-simple)
BuildRequires: pkgconfig(libswscale) >= 5 BuildRequires: pkgconfig(libswscale) >= 5
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(movit)
BuildRequires: pkgconfig(pango) BuildRequires: pkgconfig(pango)
BuildRequires: pkgconfig(pangoft2) BuildRequires: pkgconfig(pangoft2)
BuildRequires: pkgconfig(python3)
BuildRequires: pkgconfig(samplerate) BuildRequires: pkgconfig(samplerate)
BuildRequires: pkgconfig(sdl2) BuildRequires: pkgconfig(sdl2)
BuildRequires: pkgconfig(sox) BuildRequires: pkgconfig(sox)
BuildRequires: pkgconfig(vidstab) BuildRequires: pkgconfig(vidstab)
BuildRequires: pkgconfig(vorbis)
BuildRequires: pkgconfig(vorbisfile) BuildRequires: pkgconfig(vorbisfile)
%description %description
@ -87,62 +77,53 @@ transcoders and web streamers. The functionality of the system is
provided via an assortment of tools, XML authoring components, and an provided via an assortment of tools, XML authoring components, and an
plug-in based API. plug-in based API.
%package -n %{libname}%{soname} %package -n %{lib_pkgname}
Summary: C library API for the MLT multimedia framework Summary: C library API for the MLT multimedia framework
Group: System/Libraries Group: System/Libraries
%description -n %{libname}%{soname} %description -n %{lib_pkgname}
MLT is a multimedia framework for television broadcasting. It MLT is a multimedia framework for television broadcasting. It
provides a toolkit for broadcasters, video editors, media players, provides a toolkit for broadcasters, video editors, media players,
transcoders and web streamers. transcoders and web streamers.
This subpackage contains the C library API for MLT. This subpackage contains the C library API for MLT.
%package devel %package -n %{libpp_pkgname}
Summary: Development files for MLT's C language API
Group: Development/Libraries/C and C++
Requires: %{libname}%{soname} = %{version}
%description devel
MLT is a multimedia framework for television broadcasting. It
provides a toolkit for broadcasters, video editors, media players,
transcoders and web streamers.
This subpackage contains the headers to make use of the MLT C API.
%package -n %{libname_pp}%{soname_pp}
Summary: C++ library API for the MLT multimedia framework Summary: C++ library API for the MLT multimedia framework
Group: System/Libraries Group: System/Libraries
%description -n %{libname_pp}%{soname_pp} %description -n %{libpp_pkgname}
MLT is a multimedia framework for television broadcasting. It MLT is a multimedia framework for television broadcasting. It
provides a toolkit for broadcasters, video editors, media players, provides a toolkit for broadcasters, video editors, media players,
transcoders and web streamers. transcoders and web streamers.
This subpackage contains the C++ library API for MLT. This subpackage contains the C++ library API for MLT.
%package -n %{libname_pp}-devel %package devel
Summary: Development files for MLT's C++ language API Summary: Development files for MLT's C and C++ language API
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: %{libname_pp}%{soname_pp} = %{version} Requires: %{lib_pkgname} = %{version}
Requires: %{libname}-devel = %{version} Requires: %{libpp_pkgname} = %{version}
%description -n %{libname_pp}-devel %description devel
MLT is a multimedia framework for television broadcasting. It MLT is a multimedia framework for television broadcasting. It
provides a toolkit for broadcasters, video editors, media players, provides a toolkit for broadcasters, video editors, media players,
transcoders and web streamers. transcoders and web streamers.
This subpackage contains the headers to make use of the MLT C++ API. This subpackage contains the headers to make use of the MLT C and
C++ API.
%package -n melt %package -n melt%{sover}
Summary: Multimedia framework for television broadcasting Summary: Multimedia framework for television broadcasting
Group: Productivity/Multimedia/Video/Editors and Convertors Group: Productivity/Multimedia/Video/Editors and Convertors
Provides: melt%{soname} = %{version} Provides: melt%{soname} = %{version}
Obsoletes: melt%{soname} < %{version} Obsoletes: melt%{soname} < %{version}
Requires: %{libname}%{soname}-data = %{version} Requires: %{libname}%{sover}-data = %{version}
Requires: %{libname}%{soname}-modules = %{version} Requires: %{libname}%{sover}-modules = %{version}
Requires(post): update-alternatives
Requires(postun):update-alternatives
%description -n melt %description -n melt%{sover}
MLT is a multimedia framework for television broadcasting. It MLT is a multimedia framework for television broadcasting. It
provides a toolkit for broadcasters, video editors, media players, provides a toolkit for broadcasters, video editors, media players,
transcoders and web streamers. transcoders and web streamers.
@ -150,13 +131,13 @@ transcoders and web streamers.
The functionality of the system is provided via an assortment of The functionality of the system is provided via an assortment of
tools, XML authoring components, and an plug-in based API. tools, XML authoring components, and an plug-in based API.
%package -n %{libname}%{soname}-modules %package -n %{libname}%{sover}-modules
Summary: Modules for the MLT multimedia framework Summary: Modules for the MLT multimedia framework
Group: Productivity/Multimedia/Video/Editors and Convertors Group: Productivity/Multimedia/Video/Editors and Convertors
Recommends: frei0r-plugins Recommends: frei0r-plugins
Provides: mlt(%{soname})(avformat) Provides: mlt(%{sover})(avformat)
%description -n %{libname}%{soname}-modules %description -n %{libname}%{sover}-modules
MLT is a multimedia framework for television broadcasting. It MLT is a multimedia framework for television broadcasting. It
provides a toolkit for broadcasters, video editors, media players, provides a toolkit for broadcasters, video editors, media players,
transcoders and web streamers. transcoders and web streamers.
@ -164,12 +145,12 @@ transcoders and web streamers.
The functionality of the system is provided via an assortment of The functionality of the system is provided via an assortment of
tools, XML authoring components, and an plug-in based API. tools, XML authoring components, and an plug-in based API.
%package -n %{libname}%{soname}-data %package -n %{libname}%{sover}-data
Summary: Architecture-independent data files for the MLT multimedia framework Summary: Architecture-independent data files for the MLT multimedia framework
Group: Productivity/Multimedia/Video/Editors and Convertors Group: Productivity/Multimedia/Video/Editors and Convertors
BuildArch: noarch BuildArch: noarch
%description -n %{libname}%{soname}-data %description -n %{libname}%{sover}-data
MLT is a multimedia framework for television broadcasting. It MLT is a multimedia framework for television broadcasting. It
provides a toolkit for broadcasters, video editors, media players, provides a toolkit for broadcasters, video editors, media players,
transcoders and web streamers. transcoders and web streamers.
@ -177,11 +158,9 @@ transcoders and web streamers.
%package -n python3-%{_name} %package -n python3-%{_name}
Summary: Python bindings for the MLT multimedia framework Summary: Python bindings for the MLT multimedia framework
Group: Development/Languages/Python Group: Development/Languages/Python
BuildRequires: python3-devel
BuildRequires: swig BuildRequires: swig
Requires: %{libname_pp}%{soname_pp} >= %{version} BuildRequires: pkgconfig(python3)
Requires: %{libname}%{soname} >= %{version} Provides: python3-%{_name}%{sover}
Provides: python3-%{_name}%{soname}
%description -n python3-%{_name} %description -n python3-%{_name}
MLT is a multimedia framework for television broadcasting. It MLT is a multimedia framework for television broadcasting. It
@ -194,43 +173,26 @@ This package contains python bindings.
%autopatch -p1 %autopatch -p1
%build %build
test -x "$(type -p gcc-7)" && export CC=gcc-7
test -x "$(type -p g++-7)" && export CXX=g++-7
# Until boo#1179650 is fixed
%ifarch ppc64le
export CFLAGS="-I%{_includedir}/eigen3"
%endif
# WARNING: building opencv module causes multicore issues - boo#1068792 # WARNING: building opencv module causes multicore issues - boo#1068792
%configure --disable-opencv \ %cmake \
--enable-sdl2 \ -DMOD_OPENCV=OFF \
%ifnarch %{ix86} x86_64 -DGPL=ON \
--disable-mmx \ -DGPL3=ON \
--disable-sse \ -DSWIG_PYTHON=ON
--disable-sse2 \ %cmake_build
%endif
--enable-debug \
--enable-gpl --enable-gpl3 \
--enable-lumas \
%ifarch i586
--disable-mmx \
%endif
--enable-extra-versioning \
--swig-languages=python
make %{?_smp_mflags}
%install %install
%make_install %cmake_install
install -Dpm 0644 docs/melt.1 %{buildroot}%{_mandir}/man1/melt%{soname}.1
ln -s melt%{soname}.1 %{buildroot}%{_mandir}/man1/melt.1 # update-alternatives
install -Dpm 0644 src/swig/python/_%{_name}.so '%{buildroot}%{python3_sitearch}/_%{_name}.so' mkdir -pv %{buildroot}%{_sysconfdir}/alternatives
install -Dpm 0644 src/swig/python/%{_name}.py '%{buildroot}%{python3_sitearch}/%{_name}.py' ln -sf %{_sysconfdir}/alternatives/melt %{buildroot}%{_bindir}/melt
ln -sf %{_sysconfdir}/alternatives/melt.1%{?ext_man} %{buildroot}%{_mandir}/man1/melt.1%{?ext_man}
# Get the modules that need data # Get the modules that need data
for MODULE in %{buildroot}%{_libdir}/mlt-%{soname}/libmlt*.so; do for MODULE in %{buildroot}%{_libdir}/mlt-%{sover}/libmlt*.so; do
echo $MODULE echo $MODULE
MODULEDIR=%{_datadir}/mlt-%{soname}/$(echo $MODULE | sed 's|%{buildroot}%{_libdir}/mlt-%{soname}/libmlt\(.*\).so|\1|') MODULEDIR=%{_datadir}/mlt-%{sover}/$(echo $MODULE | sed 's|%{buildroot}%{_libdir}/mlt-%{sover}/libmlt\(.*\).so|\1|')
echo $MODULEDIR echo $MODULEDIR
if [ -e %{buildroot}$MODULEDIR ]; then if [ -e %{buildroot}$MODULEDIR ]; then
echo Done $MODULEDIR echo Done $MODULEDIR
@ -238,73 +200,63 @@ for MODULE in %{buildroot}%{_libdir}/mlt-%{soname}/libmlt*.so; do
fi; fi;
done done
# Pure data modules
for MODULE in feeds lumas; do
echo %{_datadir}/mlt-%{soname}/$MODULE >> module_data.dirs
done
# Remove the unversioned symbolic links
rm -f %{buildroot}%{_libdir}/mlt
rm -f %{buildroot}%{_datadir}/mlt
# remove dupes # remove dupes
%fdupes -s %{buildroot}%{_datadir}/mlt-6 %fdupes %{buildroot}%{_datadir}/mlt-%{sover}
%post -n %{libname}%{soname} -p /sbin/ldconfig %post -n melt%{sover}
update-alternatives \
--install %{_bindir}/melt melt %{_bindir}/melt-%{sover} 20 \
--slave %{_mandir}/man1/melt.1%{?ext_man} melt.1%{?ext_man} %{_mandir}/man1/melt-%{sover}.1%{?ext_man}
%postun -n %{libname}%{soname} -p /sbin/ldconfig %postun -n melt%{sover}
if [ $1 -eq 0 ] ; then
update-alternatives --remove melt %{_bindir}/melt-%{sover}
fi
%post -n %{libname_pp}%{soname_pp} -p /sbin/ldconfig %post -n %{lib_pkgname} -p /sbin/ldconfig
%postun -n %{lib_pkgname} -p /sbin/ldconfig
%post -n %{libpp_pkgname} -p /sbin/ldconfig
%postun -n %{libpp_pkgname} -p /sbin/ldconfig
%postun -n %{libname_pp}%{soname_pp} -p /sbin/ldconfig %files -n %{lib_pkgname}
%{_libdir}/lib%{_name}-%{sover}.so.%{sover}
%files -n %{libname}%{soname} %{_libdir}/lib%{_name}-%{sover}.so.%{lversion}
%defattr(0644, root, root, 0755)
%{_libdir}/lib%{_name}.so.%{soname}
%{_libdir}/lib%{_name}.so.%{lversion}
%files devel %files devel
%defattr(0644, root, root, 0755) %{_includedir}/%{_name}-%{sover}
%{_libdir}/lib%{_name}.so %{_libdir}/cmake/Mlt%{sover}
%{_includedir}/%{_name} %{_libdir}/lib%{_name}-%{sover}.so
%{_libdir}/pkgconfig/%{_name}-framework.pc %{_libdir}/lib%{_name_pp}-%{sover_pp}.so
%{_libdir}/pkgconfig/%{_name}-framework-%{sover}.pc
%{_libdir}/pkgconfig/%{_name_pp}-%{sover_pp}.pc
%files -n %{libname_pp}%{soname_pp} %files -n %{libpp_pkgname}
%defattr(0644, root, root, 0755) %{_libdir}/lib%{_name_pp}-%{sover_pp}.so.%{sover_pp}
%{_libdir}/lib%{_name_pp}.so.%{soname_pp} %{_libdir}/lib%{_name_pp}-%{sover_pp}.so.%{lversion_pp}
%{_libdir}/lib%{_name_pp}.so.%{lversion}
%files -n %{libname_pp}-devel %files -n melt%{sover}
%defattr(0644, root, root, 0755)
%{_libdir}/lib%{_name_pp}.so
%{_includedir}/%{_name_pp}
%{_libdir}/pkgconfig/%{_name_pp}.pc
%files -n melt
%defattr(0644, root, root, 0755)
%attr(0755, root, root) %{_bindir}/melt%{soname}
%{_mandir}/man1/melt%{soname}.1%{ext_man}
%{_bindir}/melt %{_bindir}/melt
%{_mandir}/man1/melt.1%{ext_man} %{_bindir}/melt-%{sover}
%{_mandir}/man1/melt.1%{?ext_man}
%{_mandir}/man1/melt-%{sover}.1%{?ext_man}
%ghost %{_sysconfdir}/alternatives/melt
%ghost %{_sysconfdir}/alternatives/melt.1%{?ext_man}
%files -n %{libname}%{soname}-modules -f module_data.dirs %files -n %{libname}%{sover}-modules -f module_data.dirs
%defattr(0644, root, root, 0755) %doc AUTHORS NEWS README.md
%doc AUTHORS NEWS README
%license GPLv3 COPYING GPL %license GPLv3 COPYING GPL
%{_libdir}/%{_name}-%{soname}/ %{_libdir}/%{_name}-%{sover}
%dir %{_datadir}/%{_name}-%{soname}/ %dir %{_datadir}/%{_name}-%{sover}/
%files -n %{libname}%{soname}-data %files -n %{libname}%{sover}-data
%defattr(0644, root, root, 0755) %dir %{_datadir}/%{_name}-%{sover}/
%dir %{_datadir}/%{_name}-%{soname}/ %{_datadir}/%{_name}-%{sover}/metaschema.yaml
%{_datadir}/%{_name}-%{soname}/metaschema.yaml %{_datadir}/%{_name}-%{sover}/profiles/
%{_datadir}/%{_name}-%{soname}/profiles/ %{_datadir}/%{_name}-%{sover}/presets/
%{_datadir}/%{_name}-%{soname}/presets/ %{_datadir}/%{_name}-%{sover}/vid.stab/
%{_datadir}/%{_name}-%{soname}/vid.stab/
%files -n python3-%{_name} %files -n python3-%{_name}
%defattr(0644, root, root, 0755) %{python3_sitearch}/_%{_name}%{sover}.so
%{python3_sitearch}/_%{_name}.so %{python3_sitearch}/%{_name}%{sover}.py
%{python3_sitearch}/%{_name}.py
%changelog %changelog

View File

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

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

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