]> git.pld-linux.org Git - packages/cinelerra.git/blob - cinelerra.spec
- rel. 2 to rebuild with ffmpeg-0.4.9-0.pre1.1
[packages/cinelerra.git] / cinelerra.spec
1 # TODO: build guicast as separate, shared library to use in
2 #       xmovie, mix2000 and cinelerra
3 Summary:        Cinelerra - capturing, editing and production of audio/video material
4 Summary(pl):    Cinelerra - nagrywanie, obróbka i produkcja materia³u audio/video
5 Name:           cinelerra
6 Version:        1.2.1
7 Release:        2
8 License:        GPL
9 Group:          X11/Applications
10 Source0:        http://dl.sourceforge.net/heroines/%{name}-%{version}-src.tar.bz2
11 # Source0-md5:  ee230582f2bc7e1e35fc36f92469a78e
12 Patch0:         %{name}-system-libs.patch
13 Patch1:         %{name}-libsndfile1.patch
14 Patch2:         %{name}-strip.patch
15 Patch3:         %{name}-fontsdir.patch
16 Patch4:         %{name}-alpha.patch
17 Patch5:         %{name}-locale_h.patch
18 Patch6:         %{name}-guicast_bootstrap.patch
19 URL:            http://heroinewarrior.com/cinelerra.php3
20 BuildRequires:  OpenEXR-devel >= 1.2.1
21 BuildRequires:  XFree86-devel
22 BuildRequires:  esound-devel
23 BuildRequires:  freetype-devel >= 2.1.4
24 BuildRequires:  lame-libs-devel >= 3.93.1
25 BuildRequires:  libavc1394-devel >= 0.4.1
26 BuildRequires:  libmpeg3-devel >= 1.5.3
27 BuildRequires:  libsndfile-devel >= 1.0.5
28 BuildRequires:  libstdc++-devel >= 5:3.2.2
29 BuildRequires:  libtiff-devel >= 3.5.7
30 BuildRequires:  libuuid-devel
31 %ifarch %{ix86}
32 BuildRequires:  nasm
33 %endif
34 BuildRequires:  quicktime4linux-devel >= 2.0.4
35 Requires:       OpenEXR-devel >= 1.2.1
36 Requires:       freetype >= 2.1.4
37 Requires:       libavc1394 >= 0.4.1
38 Requires:       libmpeg3 >= 1.5.3
39 Requires:       libsndfile >= 1.0.5
40 Requires:       quicktime4linux >= 2.0.4
41 Obsoletes:      bcast
42 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
43
44 %define         _noautostrip    .*/microtheme.plugin
45
46 %description
47 There are two types of moviegoers: producers who create new content,
48 going back over their content at future points for further refinement,
49 and consumers who want to acquire the content and watch it. Cinelerra
50 is not intended for consumers. Cinelerra has many features for
51 uncompressed content, high resolution processing, and compositing,
52 with very few shortcuts. Producers need these features because of the
53 need to retouch many generations of footage with alterations to the
54 format, which makes Cinelerra very complex.
55
56 Cinelerra was meant to be a Broadcast 2000 replacement.
57
58 %description -l pl
59 S± dwa rodzaje u¿ytkowników zajmuj±cych siê filmami: producenci
60 tworz±cy nowe filmy, wracaj±cy do nich w przysz³o¶ci w celu dalszego
61 wyg³adzenia, oraz konsumenci, którzy chc± tylko zdobyæ film i go
62 obejrzeæ. Cinelerra nie jest dla konsumentów. Program ma wiele
63 mo¿liwo¶ci do edycji nieskompresowanej zawarto¶ci, obróbki w wysokiej
64 rozdzielczo¶ci oraz monta¿u, z bardzo ma³± liczb± skrótów. Producenci
65 potrzebuj± tych mo¿liwo¶ci ze wzglêdu na konieczno¶æ retuszowania
66 oraz modyfikacji formatu, co czyni program bardzo z³o¿onym.
67
68 Cinelerra by³a tworzona z my¶l± o zast±pieniu programu Broadcast 2000.
69
70 %prep
71 %setup -q
72 %patch0 -p1
73 %patch1 -p1
74 %patch2 -p1
75 %patch3 -p1
76 %patch4 -p1
77 %patch5 -p1
78 %patch6 -p1
79
80 # assume we have <linux/videodev2.h> (it's in llh)
81 echo '#define HAVE_V4L2' > hvirtual_config.h
82
83 # Linux ieee1394 ioctls description - no longer provided by libdv
84 ln -sf ../$(echo quicktime/libdv-*/libdv/dv1394.h) cinelerra
85
86 %build
87 CFLAGS="%{rpmcflags} -fno-rtti"; export CFLAGS
88 %{__make} -f build/Makefile.toolame
89 %{__make} -C mpeg2enc
90 %{__make} -C mplexhi
91 %{__make} -C mplexlo
92 %{__make} -C guicast
93 # cinelerra, defaulttheme and microtheme are stripped before running "bootstrap"
94 %{__make} -C cinelerra \
95         STRIP="%{?debug:true}%{!?debug:strip -R.note -R.comment}"
96 %{__make} -C plugins \
97         STRIP="%{?debug:true}%{!?debug:strip -R.note -R.comment}"
98
99 %install
100 rm -rf $RPM_BUILD_ROOT
101 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/cinelerra}
102
103 install cinelerra/*/cinelerra $RPM_BUILD_ROOT%{_bindir}
104 install plugins/`uname -m`/*.plugin $RPM_BUILD_ROOT%{_libdir}/cinelerra
105
106 %clean
107 rm -rf $RPM_BUILD_ROOT
108
109 %files
110 %defattr(644,root,root,755)
111 %doc doc/{*.png,*.html,press} cinelerra/{CHANGELOG*,TODO}
112 %attr(755,root,root) %{_bindir}/*
113 %attr(755,root,root) %{_libdir}/cinelerra
This page took 0.084141 seconds and 3 git commands to generate.