]> git.pld-linux.org Git - packages/mlt.git/blobdiff - mlt.spec
- Strict -devel R. TODO added.
[packages/mlt.git] / mlt.spec
index c845efdaa20106623dbc7efa60cb92f66ea210d7..f6d419653f266522c1e9ca6a6cb646e46158325f 100644 (file)
--- a/mlt.spec
+++ b/mlt.spec
@@ -2,26 +2,35 @@
 # TODO:
 # - bconds
 # - currently avformat support is broken, the hell knows why
-#
-Summary:       MLT
-Summary(pl):   MLT
+# - seems to link/auto-require installed older version of lib instead of own new
+# - still fails to work with kdenlive:
+#     Failed to load plugin: /usr/share/mlt/modules/libmltavformat.so: undefined symbol: img_convert
+Summary:       MLT - open source multimedia framework
+Summary(pl.UTF-8):     MLT - szkielet multimedialny o otwartych źródłach
 Name:          mlt
-Version:       0.2.2
-Release:       0.1
+Version:       0.2.4
+Release:       1.1
 License:       GPL
 Group:         X11/Applications/Multimedia
 Source0:       http://dl.sourceforge.net/mlt/%{name}-%{version}.tar.gz
-# Source0-md5: 9d4a3d308b1314a117f692766fb15e90
+# Source0-md5: 6606d8be848a10efef929e2b6de3cf61
 URL:           http://www.dennedy.org/mlt/twiki/bin/view/MLT/WebHome
+Patch1:                mlt-linuxppc.patch
 BuildRequires: SDL-devel
-BuildRequires: bluefish
 #BuildRequires:        ffmpeg-devel
+BuildRequires: gtk+2-devel
+BuildRequires: ladspa-devel
+BuildRequires: lame-libs-devel
 BuildRequires: libdv-devel >= 0.102
+BuildRequires: libmad-devel
 BuildRequires: libquicktime-devel
 BuildRequires: libsamplerate-devel
-BuildRequires: libvorbis-devel >= 1.0.1
+BuildRequires: libvorbis-devel >= 1:1.0.1
 BuildRequires: libxml2-devel >= 2.5
+BuildRequires: pkgconfig
+BuildRequires: qt-devel
 BuildRequires: sox-devel
+BuildRequires: which
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -32,29 +41,53 @@ 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.
 
-#%description -l pl
+%description -l pl.UTF-8
+MLT to szkielet multimedialny o otwartych źródłach zaprojektowany i
+rozwijany do nadawania telewizji. Udostępnia zestaw narzędzi dla
+nadawców, edytory obrazu, odtwarzacze mediów, transkodery, narzędzia
+do udostępniania strumieni przez WWW i wiele innych rodzajów
+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 devel
 Summary:       Header files for MLT
-Summary(pl):   Pliki nag³ówkowe dla MLT
-Requires:      mlt
+Summary(pl.UTF-8):     Pliki nagłówkowe dla MLT
 Group:         Development/Libraries
+Requires:      %{name} = %{version}-%{release}
 
 %description devel
 This package contains header files for MLT.
 
-%description devel -l pl
-Ten pakiet zawiera pliki nag³ówkowe dla MLT.
+%description devel -l pl.UTF-8
+Ten pakiet zawiera pliki nagłówkowe dla MLT.
 
 %prep
 %setup -q
 
+%ifarch ppc ppc64
+%patch1 -p1
+%endif
+
 %build
 %configure \
-       --disable-avformat
-%{__make}
-       CFLAGS="%{rpmcflags}" \
-       LDFLAGS="%{rpmldflags}"
+       --enable-gpl \
+%ifarch %{x8664}
+       --disable-motion-est \
+%else
+       --enable-motion-est \
+%endif
+       --disable-debug \
+%ifarch i586 i686 %{x8664}
+       --disable-mmx \
+%else
+       --enable-mmx \
+%endif
+       --qimage-includedir=%{_includedir}/qt \
+       --qimage-libdir=%{_libdir}
+       
+%{__make} \
+       CC="%{__cc}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -76,5 +109,6 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/mlt*
 
 %files devel
-%{_libdir}/pkgconfig/*.pc
+%defattr(644,root,root,755)
+%{_pkgconfigdir}/*.pc
 %{_includedir}/mlt*
This page took 0.052671 seconds and 4 git commands to generate.