# TODO: build guicast as separate, shared library to use in # xmovie, mix2000 and cinelerra 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.2.1 Release: 4 License: GPL Group: X11/Applications Source0: http://dl.sourceforge.net/heroines/%{name}-%{version}-src.tar.bz2 # Source0-md5: ee230582f2bc7e1e35fc36f92469a78e Patch0: %{name}-system-libs.patch Patch1: %{name}-libsndfile1.patch Patch2: %{name}-strip.patch Patch3: %{name}-fontsdir.patch Patch4: %{name}-alpha.patch Patch5: %{name}-locale_h.patch Patch6: %{name}-guicast_bootstrap.patch URL: http://heroinewarrior.com/cinelerra.php3 BuildRequires: OpenEXR-devel >= 1.2.1 BuildRequires: XFree86-devel BuildRequires: esound-devel BuildRequires: freetype-devel >= 2.1.4 BuildRequires: lame-libs-devel >= 3.93.1 BuildRequires: libavc1394-devel >= 0.4.1 BuildRequires: libmpeg3-devel >= 1.5.3 BuildRequires: libsndfile-devel >= 1.0.5 BuildRequires: libstdc++-devel >= 5:3.2.2 BuildRequires: libtiff-devel >= 3.5.7 BuildRequires: libuuid-devel %ifarch %{ix86} BuildRequires: nasm %endif BuildRequires: quicktime4linux-devel >= 2.0.4 Requires: OpenEXR-devel >= 1.2.1 Requires: freetype >= 2.1.4 Requires: libavc1394 >= 0.4.1 Requires: libmpeg3 >= 1.5.3 Requires: libsndfile >= 1.0.5 Requires: quicktime4linux >= 2.0.4 Obsoletes: bcast # build system seems to be x86-oriented; anybody to fix it ? ExclusiveArch: %{ix86} %{x8664} BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define _noautostrip .*/microtheme.plugin %description There are two types of moviegoers: producers who create new content, going back over their content at future points for further refinement, and consumers who want to acquire the content and watch it. Cinelerra is not intended for consumers. Cinelerra has many features for uncompressed content, high resolution processing, and compositing, with very few shortcuts. Producers need these features because of the need to retouch many generations of footage with alterations to the format, which makes Cinelerra very complex. Cinelerra was meant to be a Broadcast 2000 replacement. %description -l pl Są dwa rodzaje użytkowników zajmujących się filmami: producenci tworzący nowe filmy, wracający do nich w przyszłości w celu dalszego wygładzenia, oraz konsumenci, którzy chcą tylko zdobyć film i go obejrzeć. Cinelerra nie jest dla konsumentów. Program ma wiele możliwości do edycji nieskompresowanej zawartości, obróbki w wysokiej rozdzielczości oraz montażu, z bardzo małą liczbą skrótów. Producenci potrzebują tych możliwości ze względu na konieczność retuszowania oraz modyfikacji formatu, co czyni program bardzo złożonym. Cinelerra była tworzona z myślą o zastąpieniu programu Broadcast 2000. %prep %setup -q %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %patch6 -p1 # assume we have (it's in llh) echo '#define HAVE_V4L2' > hvirtual_config.h # Linux ieee1394 ioctls description - no longer provided by libdv ln -sf ../$(echo quicktime/libdv-*/libdv/dv1394.h) cinelerra %build CFLAGS="%{rpmcflags} -fno-rtti"; export CFLAGS %{__make} -f build/Makefile.toolame %{__make} -C mpeg2enc %{__make} -C mplexhi %{__make} -C mplexlo %{__make} -C guicast # cinelerra, defaulttheme and microtheme are stripped before running "bootstrap" %{__make} -C cinelerra \ STRIP="%{?debug:true}%{!?debug:strip -R.note -R.comment}" %{__make} -C plugins \ STRIP="%{?debug:true}%{!?debug:strip -R.note -R.comment}" %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/cinelerra} install cinelerra/*/cinelerra $RPM_BUILD_ROOT%{_bindir} install plugins/`uname -m`/*.plugin $RPM_BUILD_ROOT%{_libdir}/cinelerra %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc doc/{*.png,*.html,press} cinelerra/{CHANGELOG*,TODO} %attr(755,root,root) %{_bindir}/* %attr(755,root,root) %{_libdir}/cinelerra