commit bd0cb4d73fd395b3e183819004d70b8eb037e070
Author: Jakub Bogusz <[email protected]>
Date:   Mon Jul 24 16:51:13 2017 +0200

    - more dependencies
    - release 2

 mlt.spec | 106 ++++++++++++++++++++++++++++++++++++++++-----------------------
 1 file changed, 68 insertions(+), 38 deletions(-)
---
diff --git a/mlt.spec b/mlt.spec
index 9acf7ed..34d91d2 100644
--- a/mlt.spec
+++ b/mlt.spec
@@ -1,42 +1,55 @@
 #
 # TODO:
-#      - bconds
-#      - more bindings
-#      - movit library - 
http://libregraphicsworld.org/blog/entry/introducing-movit-free-library-for-gpu-side-video-processing
+#      - Newtek NDI SDK support: https://www.newtek.com/ndi/sdk/
+#      - movit library (for opengl module): 
http://libregraphicsworld.org/blog/entry/introducing-movit-free-library-for-gpu-side-video-processing
+#      - bconds and module subpackages
+#      - more bindings (csharp, java, lua, perl, php, ruby, tcl)
+#
+# Conditional build:
+%bcond_without opencv  # OpenCV module
 #
 Summary:       MLT - open source multimedia framework
 Summary(pl.UTF-8):     MLT - szkielet multimedialny o otwartych źródłach
 Name:          mlt
 Version:       6.4.1
-Release:       1
-License:       GPL
+Release:       2
+License:       GPL v3+ (LGPL v2.1+ code linked with GPL v2/GPL v3 libraries)
 Group:         X11/Applications/Multimedia
 Source0:       http://downloads.sourceforge.net/mlt/%{name}-%{version}.tar.gz
 # Source0-md5: bfa7b4009be616d6f858393a88fbbb32
 Patch0:                %{name}-qt5.patch
 URL:           http://www.mltframework.org/
-BuildRequires: Qt5Gui-devel
-BuildRequires: Qt5Svg-devel
-BuildRequires: Qt5Xml-devel
+BuildRequires: Qt5Core-devel >= 5
+BuildRequires: Qt5Gui-devel >= 5
+BuildRequires: Qt5OpenGL-devel >= 5
+BuildRequires: Qt5Svg-devel >= 5
+BuildRequires: Qt5Widgets-devel >= 5
+BuildRequires: Qt5Xml-devel >= 5
 BuildRequires: SDL-devel
 BuildRequires: SDL_image-devel
-BuildRequires: exiv2-devel
-BuildRequires: ffmpeg-devel
-BuildRequires: gtk+2-devel
-#BuildRequires:        ladspa-devel
-#BuildRequires:        lame-libs-devel
+# libavcodec libavdevice libavfilter >= 4.11.100 libavformat libavutil 
libswscale
+BuildRequires: ffmpeg-devel >= 2.3
+BuildRequires: fftw3-devel >= 3
+BuildRequires: frei0r-devel
+BuildRequires: gdk-pixbuf2-devel >= 2.0
+BuildRequires: gtk+2-devel >= 1:2.0
+BuildRequires: jack-audio-connection-kit-devel
+BuildRequires: ladspa-devel
 BuildRequires: libdv-devel >= 0.102
-#BuildRequires:        libmad-devel
+BuildRequires: libexif-devel
 BuildRequires: libquicktime-devel
 BuildRequires: libsamplerate-devel
 BuildRequires: libvorbis-devel >= 1:1.0.1
-BuildRequires: libxml2-devel >= 2.5
+BuildRequires: libxml2-devel >= 1:2.5
+%{?with_opencv:BuildRequires:  opencv-devel >= 3.1.0}
 BuildRequires: pkgconfig
 BuildRequires: python-devel
 BuildRequires: rpm-pythonprov
+BuildRequires: rtaudio-devel
 BuildRequires: sox-devel
-BuildRequires: swfdec-devel
+BuildRequires: swfdec-devel >= 0.7
 BuildRequires: swig-python
+BuildRequires: vid.stab-devel >= 0.98
 BuildRequires: which
 Obsoletes:     mlt++ < %{version}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -58,15 +71,6 @@ aplikacji. Funkcjonalność systemu jest zapewniona poprzez 
asortyment
 gotowych do użycia narzędzi, komponentów do tworzenia XML-a i
 rozszerzalne API oparte na wtyczkach.
 
-%package -n python-mlt
-Summary:       MLT Python bindings
-Summary(pl.UTF-8):     Wiązania MLT dla Pythona
-Group:         Development/Languages/Python
-Requires:      %{name} = %{version}-%{release}
-
-%description -n python-mlt
-Python bindings for MLT - open source multimedia framework.
-
 %package devel
 Summary:       Header files for MLT
 Summary(pl.UTF-8):     Pliki nagłówkowe dla MLT
@@ -80,6 +84,19 @@ This package contains header files for MLT.
 %description devel -l pl.UTF-8
 Ten pakiet zawiera pliki nagłówkowe dla MLT.
 
+%package -n python-mlt
+Summary:       MLT Python bindings
+Summary(pl.UTF-8):     Wiązania MLT dla Pythona
+Group:         Development/Languages/Python
+Requires:      %{name} = %{version}-%{release}
+
+%description -n python-mlt
+Python bindings for MLT - open source multimedia framework.
+
+%description -n python-mlt -l pl.UTF-8
+Wiązadania Pythona do MLT - szkieletu multimedialnego o otwartych
+źródłach.
+
 %prep
 %setup -q
 %patch0 -p1
@@ -99,6 +116,7 @@ sed -i -e '/ffast-math/d' configure
 %else
        --disable-mmx \
 %endif
+       %{!?with_opencv:--disable-opencv} \
 %ifarch %{x8664}
        --enable-sse \
        --enable-sse2 \
@@ -135,21 +153,33 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc ChangeLog README
-%attr(755,root,root) %{_bindir}/*
-%attr(755,root,root) %ghost %{_libdir}/*.so.?
-%attr(755,root,root) %{_libdir}/*.so.*.*
+%doc AUTHORS ChangeLog NEWS README
+%attr(755,root,root) %{_bindir}/melt
+%attr(755,root,root) %{_libdir}/libmlt.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libmlt.so.6
+%attr(755,root,root) %{_libdir}/libmlt++.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libmlt++.so.3
 %dir %{_libdir}/%{name}
-%attr(755,root,root) %{_libdir}/%{name}/*
-%{_datadir}/mlt*
+%attr(755,root,root) %{_libdir}/%{name}/libmlt*.so
+%{_datadir}/mlt
 
-%files -n python-mlt
+%files devel
 %defattr(644,root,root,755)
-%{py_sitedir}/*.py[co]
-%attr(755,root,root) %{py_sitedir}/*.so
+%attr(755,root,root) %{_libdir}/libmlt.so
+%attr(755,root,root) %{_libdir}/libmlt++.so
+%{_includedir}/mlt
+%{_includedir}/mlt++
+%{_pkgconfigdir}/mlt-framework.pc
+%{_pkgconfigdir}/mlt++.pc
 
-%files devel
+%files -n python-mlt
 %defattr(644,root,root,755)
-%{_pkgconfigdir}/*.pc
-%{_includedir}/mlt*
-%{_libdir}/*.so
+%attr(755,root,root) %{py_sitedir}/_mlt.so
+%{py_sitedir}/codecs.py[co]
+%{py_sitedir}/getimage.py[co]
+%{py_sitedir}/mlt.py[co]
+%{py_sitedir}/play.py[co]
+%{py_sitedir}/switcher.py[co]
+%{py_sitedir}/test_animation.py[co]
+%{py_sitedir}/waveforms.py[co]
+%{py_sitedir}/webvfx_generator.py[co]
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mlt.git/commitdiff/bd0cb4d73fd395b3e183819004d70b8eb037e070

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to