]> git.pld-linux.org Git - packages/cinelerra.git/blame - cinelerra.spec
- updated
[packages/cinelerra.git] / cinelerra.spec
CommitLineData
90df7d5d 1#
2# TODO:
3# - build guicast as separate, shared library to use in xmovie,
4# mix2005 and cinelerra
5# - get rid of bootstrap stuff:
6# https://init.linpro.no/pipermail/skolelinux.no/cinelerra/2004-April/001413.html
7#
a601b4a3 8Summary: Cinelerra - capturing, editing and production of audio/video material
70bef79d 9Summary(pl.UTF-8): Cinelerra - nagrywanie, obróbka i produkcja materiału audio/video
584c94b3 10Name: cinelerra
f4712342 11Version: 4
92ff1529 12Release: 3
f4712342 13License: GPL v2+
584c94b3
JB
14Group: X11/Applications
15Source0: http://dl.sourceforge.net/heroines/%{name}-%{version}-src.tar.bz2
ba16c461 16# Source0-md5: 0faf7158859646c5ea6181283594b19a
6c08bb5e 17Patch0: %{name}-system-libs.patch
eba9969c
JB
18Patch1: %{name}-strip.patch
19Patch2: %{name}-fontsdir.patch
20Patch3: %{name}-locale_h.patch
21Patch4: %{name}-guicast_bootstrap.patch
d4f97576 22Patch5: %{name}-fix.patch
f4712342 23Patch6: %{name}-plugindir.patch
92ff1529 24Patch7: %{name}-ffmpeg.patch
25Patch8: %{name}-fade_error.patch
ba16c461 26URL: http://www.heroinewarrior.com/cinelerra.php
f4712342
JB
27BuildRequires: OpenEXR-devel >= 1.6.1
28BuildRequires: OpenGL-devel >= 2.0
eba9969c 29BuildRequires: alsa-lib-devel >= 1.0.8
584c94b3 30BuildRequires: esound-devel
f4712342 31BuildRequires: flac-devel >= 1.1.4
3e6a57e8 32BuildRequires: freetype-devel >= 2.1.4
a601b4a3 33BuildRequires: lame-libs-devel >= 3.93.1
eba9969c
JB
34BuildRequires: libavc1394-devel >= 0.5.1
35BuildRequires: libiec61883-devel >= 1.0.0
f4712342 36BuildRequires: libmpeg3-devel >= 1.8
eba9969c
JB
37BuildRequires: libraw1394-devel >= 1.2.0
38BuildRequires: libsndfile-devel >= 1.0.11
6864ee86 39BuildRequires: libstdc++-devel >= 5:3.2.2
eba9969c 40BuildRequires: libtheora-devel >= 1.0-0.alpha4
6864ee86 41BuildRequires: libtiff-devel >= 3.5.7
3e6a57e8 42BuildRequires: libuuid-devel
3b1ebd11
JB
43%ifarch %{ix86}
44BuildRequires: nasm
45%endif
f4712342 46BuildRequires: quicktime4linux-devel >= 2.3
05a1efcf
JB
47BuildRequires: xorg-lib-libX11-devel
48BuildRequires: xorg-lib-libXext-devel
49BuildRequires: xorg-lib-libXv-devel
50BuildRequires: xorg-lib-libXxf86vm-devel
f4712342 51Requires: OpenEXR >= 1.6.1
eba9969c 52Requires: alsa-lib >= 1.0.8
3b1ebd11 53Requires: freetype >= 2.1.4
eba9969c
JB
54Requires: libavc1394 >= 0.5.1
55Requires: libiec61883 >= 1.0.0
f4712342 56Requires: libmpeg3 >= 1.8
eba9969c
JB
57Requires: libraw1394 >= 1.2.0
58Requires: libsndfile >= 1.0.11
59Requires: libtheora >= 1.0-0.alpha4
f4712342 60Requires: quicktime4linux >= 2.3
f295b5f3 61Obsoletes: bcast
584c94b3
JB
62BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
63
1fb4583f 64%define _noautostrip .*/microtheme.plugin
a601b4a3 65
584c94b3 66%description
a601b4a3
JB
67There are two types of moviegoers: producers who create new content,
68going back over their content at future points for further refinement,
69and consumers who want to acquire the content and watch it. Cinelerra
70is not intended for consumers. Cinelerra has many features for
71uncompressed content, high resolution processing, and compositing,
72with very few shortcuts. Producers need these features because of the
73need to retouch many generations of footage with alterations to the
74format, which makes Cinelerra very complex.
75
76Cinelerra was meant to be a Broadcast 2000 replacement.
584c94b3 77
418c6d3a
JR
78%description -l pl.UTF-8
79Są dwa rodzaje użytkowników zajmujących się filmami: producenci
80tworzący nowe filmy, wracający do nich w przyszłości w celu dalszego
81wygładzenia, oraz konsumenci, którzy chcą tylko zdobyć film i go
82obejrzeć. Cinelerra nie jest dla konsumentów. Program ma wiele
83możliwości do edycji nieskompresowanej zawartości, obróbki w wysokiej
84rozdzielczości oraz montażu, z bardzo małą liczbą skrótów. Producenci
541dda61
ER
85potrzebują tych możliwości ze względu na konieczność retuszowania oraz
86modyfikacji formatu, co czyni program bardzo złożonym.
a601b4a3 87
418c6d3a 88Cinelerra była tworzona z myślą o zastąpieniu programu Broadcast 2000.
584c94b3
JB
89
90%prep
91%setup -q
92%patch0 -p1
93%patch1 -p1
94%patch2 -p1
95%patch3 -p1
3e6a57e8 96%patch4 -p1
d4f97576 97%patch5 -p1
f4712342 98%patch6 -p1
92ff1529 99%patch7 -p1
100%patch8 -p1
584c94b3 101
05a1efcf 102# assume we have <linux/videodev2.h> and <linux/dvb/*> (present in llh)
05a1efcf
JB
103cat > hvirtual_config.h <<EOF
104#define HAVE_VIDEO4LINUX2
105#define HAVE_DVB
f4712342 106#define HAVE_GL
05a1efcf
JB
107#define PACKAGE_STRING "cinelerra"
108EOF
6864ee86 109
f4712342
JB
110%{__rm} -r libmpeg3 quicktime \
111 thirdparty/{audiofile,esound,fftw-*,flac-*,freetype-*,ilmbase-*,libavc1394-*,libiec61883-*,libraw1394-*,libsndfile-*,libtheora-*,mjpegtools-*,openexr-*,tiff-*,uuid}
1fb4583f 112
584c94b3 113%build
f4712342
JB
114export CFLAGS="%{rpmcflags}"
115%{__make} -f build/Makefile.toolame \
116 GCC="%{__cc}"
117%{__make} -C mpeg2enc \
118 CC="%{__cc}"
119%{__make} -C mplexlo \
120 CC="%{__cc}"
121%{__make} -C guicast \
122 GCC="%{__cc}" \
123 CC="%{__cxx}"
3b1ebd11
JB
124# cinelerra, defaulttheme and microtheme are stripped before running "bootstrap"
125%{__make} -C cinelerra \
f4712342
JB
126 GCC="%{__cc}" \
127 CC="%{__cxx}" \
128 LINKER='%{__cxx} -o $(OUTPUT)' \
3b1ebd11 129 STRIP="%{?debug:true}%{!?debug:strip -R.note -R.comment}"
a601b4a3 130%{__make} -C plugins \
f4712342 131 CC="%{__cxx}" \
a601b4a3 132 STRIP="%{?debug:true}%{!?debug:strip -R.note -R.comment}"
584c94b3
JB
133
134%install
135rm -rf $RPM_BUILD_ROOT
ccb0dca0 136install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/cinelerra}
584c94b3 137
ccb0dca0
JB
138install cinelerra/*/cinelerra $RPM_BUILD_ROOT%{_bindir}
139install plugins/`uname -m`/*.plugin $RPM_BUILD_ROOT%{_libdir}/cinelerra
584c94b3
JB
140
141%clean
142rm -rf $RPM_BUILD_ROOT
143
144%files
145%defattr(644,root,root,755)
3b1ebd11 146%doc doc/{*.png,*.html,press} cinelerra/{CHANGELOG*,TODO}
584c94b3 147%attr(755,root,root) %{_bindir}/*
ccb0dca0 148%attr(755,root,root) %{_libdir}/cinelerra
This page took 0.092565 seconds and 4 git commands to generate.