+# TODO: build guicast as separate, shared library to use in
+# xmovie, mix2000, cinelerra and bcast
Summary: Cinelerra - capturing, editing and production of audio/video material
Summary(pl): Cinelerra - nagrywanie, obróbka i produkcja materia³u audio/video
Name: cinelerra
-Version: 1.1.5
-Release: 1
+Version: 1.1.7
+Release: 2
License: GPL
Group: X11/Applications
Source0: http://dl.sourceforge.net/heroines/%{name}-%{version}-src.tar.bz2
-# yes, it's the same source
-# TODO: build guicast as separate, shared library to use in
-# xmovie, mix2000, cinelerra and bcast
-Patch0: xmovie-c++.patch
-Patch1: %{name}-system-libs.patch
-Patch2: %{name}-libsndfile1.patch
-Patch3: %{name}-c++.patch
-Patch4: %{name}-lame.patch
-Patch5: %{name}-strip.patch
-Patch6: %{name}-fontsdir.patch
+# Source0-md5: efdd895b6706da3a450d0bcf92fd5c11
+Patch0: %{name}-system-libs.patch
+Patch1: %{name}-libsndfile1.patch
+Patch2: %{name}-strip.patch
+Patch3: %{name}-fontsdir.patch
+Patch4: %{name}-freetype.patch
URL: http://heroinewarrior.com/cinelerra.php3
BuildRequires: XFree86-devel
-# it's sick, but it's true - it uses libuuid functions
-BuildRequires: e2fsprogs-devel
BuildRequires: esound-devel
+BuildRequires: freetype-devel >= 2.1.4
BuildRequires: lame-libs-devel >= 3.93.1
BuildRequires: libavc1394-devel >= 0.4.0
BuildRequires: libmpeg3-devel >= 1.5.0-2
BuildRequires: libsndfile-devel >= 1.0.0
BuildRequires: libstdc++-devel
BuildRequires: libtiff-devel
-BuildRequires: quicktime4linux-devel >= 1.6.1-2
+BuildRequires: libuuid-devel
+BuildRequires: quicktime4linux-devel >= 2.0.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
# defaulttheme and microtheme cannot be stripped
%patch2 -p1
%patch3 -p1
%patch4 -p1
-%patch5 -p1
-%patch6 -p1
%build
CFLAGS="%{rpmcflags} -fno-rtti"; export CFLAGS
+%{__make} -f build/Makefile.toolame
+%{__make} -C mpeg2enc
%{__make} -C mplexhi
%{__make} -C mplexlo
%{__make} -C guicast