1 |
%define oname ardour2 |
2 |
|
3 |
Summary: Professional multitrack audio recording application |
4 |
Name: ardour |
5 |
Version: 2.8.11 |
6 |
Release: %mkrel 2 |
7 |
Epoch: 1 |
8 |
Group: Sound |
9 |
License: GPLv2+ |
10 |
URL: http://ardour.org/ |
11 |
# since 2.8.2 there is no direct link :( |
12 |
Source0: http://releases.ardour.org/%{name}-%{version}.tar.bz2 |
13 |
Source1: wiimote.tar.gz |
14 |
Patch1: ardour-2.0.5-fix_compile.patch |
15 |
Patch3: ardour-session.cc-no_stomp.patch |
16 |
Patch4: ardour-2.8.4-gcc43.patch |
17 |
Patch6: ardour-2.8.2-disable-fdo-actions.patch |
18 |
Patch7: ardour-2.8.4-wiimote-scons.patch |
19 |
Patch8: ardour-safe-env-vars.patch |
20 |
BuildRequires: curl-devel |
21 |
BuildRequires: fftw3-devel |
22 |
BuildRequires: gettext >= 0.11.5 |
23 |
BuildRequires: gtk2-devel >= 2.8 |
24 |
BuildRequires: gtkmm2.4-devel >= 2.10.8 |
25 |
BuildRequires: jackit-devel >= 0.100 |
26 |
BuildRequires: libalsa-devel |
27 |
BuildRequires: libart_lgpl-devel >= 2.3.16 |
28 |
BuildRequires: libboost-devel |
29 |
BuildRequires: libflac-devel |
30 |
BuildRequires: libglib2.0-devel >= 2.10 |
31 |
BuildRequires: libgnomecanvas2-devel |
32 |
BuildRequires: libgnomecanvasmm2.6-devel |
33 |
BuildRequires: liblo-devel |
34 |
BuildRequires: liblrdf-devel >= 0.3.1 |
35 |
BuildRequires: libsamplerate-devel >= 0.0.13 |
36 |
BuildRequires: libsndfile-devel >= 1.0.16 |
37 |
BuildRequires: libtool |
38 |
BuildRequires: libusb-devel |
39 |
BuildRequires: libxml2-devel >= 2.5.0 |
40 |
BuildRequires: libxslt-devel |
41 |
BuildRequires: pkgconfig |
42 |
BuildRequires: raptor-devel |
43 |
BuildRequires: scons >= 0.96 |
44 |
BuildRequires: slv2-devel >= 0.6.0 |
45 |
BuildRequires: soundtouch-devel >= 1.3.1 |
46 |
BuildRequires: sqlite3-devel |
47 |
BuildRequires: lv2core-devel |
48 |
#BuildRequires: vamp-plugin-sdk-devel |
49 |
BuildRequires: rubberband-devel |
50 |
BuildRequires: aubio-devel |
51 |
BuildRequires: xdg-utils |
52 |
BuildRequires: shared-mime-info |
53 |
BuildRequires: cwiid-devel |
54 |
BuildRequires: libredland-devel |
55 |
BuildRequires: desktop-file-utils |
56 |
Requires: jackit >= 0.100 |
57 |
Requires(pre): xdg-utils |
58 |
Requires(pre): shared-mime-info |
59 |
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot |
60 |
|
61 |
%description |
62 |
Ardour is a digital audio workstation.You can use it to record, edit and mix |
63 |
multi-track audio. You can produce your own CDs, mix video soundtracks, or just |
64 |
experiment with new ideas about music and sound. |
65 |
|
66 |
Ardour capabilities include: multichannel recording, non-destructive editing |
67 |
with unlimited undo/redo, full automation support, a powerful mixer, unlimited |
68 |
tracks/busses/plugins, timecode synchronization, and hardware control from |
69 |
surfaces like the Mackie Control Universal. If you've been looking for a tool |
70 |
similar to ProTools, Nuendo, Pyramix, or Sequoia, you might have found it. |
71 |
|
72 |
You must have jackd running and an ALSA sound driver to use ardour. If you are |
73 |
new to jackd, try qjackctl. |
74 |
|
75 |
See the online user manual at http://ardour.org/files/manual/index.html |
76 |
|
77 |
Important notice: This package is built against the system libraries in |
78 |
Mandriva, and in the SConstruct file there is a text that seems to invalidate |
79 |
support from upstream authors "USE AT YOUR OWN RISK: CANCELS ALL SUPPORT FROM |
80 |
ARDOUR AUTHORS". |
81 |
|
82 |
%prep |
83 |
|
84 |
%setup -q -a1 |
85 |
%patch1 -p1 |
86 |
%patch3 -p0 |
87 |
%patch4 -p0 |
88 |
%patch6 -p0 |
89 |
%patch7 -p0 |
90 |
%patch8 -p1 |
91 |
|
92 |
%build |
93 |
#(tpg) disable strange optimisations, like SSE |
94 |
%ifarch %{ix86} |
95 |
TARGETCPU="i686" |
96 |
ARCHFLAGS="-DARCH_X86" |
97 |
%endif |
98 |
%ifarch x86_64 |
99 |
TARGETCPU="x86_64" |
100 |
ARCHFLAGS="-DARCH_X86 -DBUILD_SSE_OPTIMIZATIONS -DUSE_X86_64_ASM" |
101 |
%endif |
102 |
|
103 |
# ardour want to link against old library |
104 |
sed -i -e 's/soundtouch-1.0/soundtouch-1.4/g' SConstruct |
105 |
|
106 |
%scons \ |
107 |
PREFIX=%{_prefix} \ |
108 |
DIST_TARGET="${TARGETCPU}" \ |
109 |
ARCH="%{optflags} -ffast-math ${ARCHFLAGS}" \ |
110 |
FFT_ANALYSIS="1" \ |
111 |
LIBDIR="%{_libdir}" \ |
112 |
%if %mdkversion > 200900 |
113 |
SYSLIBS="1" \ |
114 |
%else |
115 |
SYSLIBS="0" \ |
116 |
%endif |
117 |
SURFACES="1" \ |
118 |
LIBLO="1" \ |
119 |
LV2="1" \ |
120 |
TRANZPORT="1" \ |
121 |
NLS="1" \ |
122 |
FREEDESKTOP="1" \ |
123 |
AUBIO="1" \ |
124 |
FPU_OPTIMIZATION="1" \ |
125 |
WIIMOTE="1" \ |
126 |
FREESOUND="1" \ |
127 |
AUSTATE="1" |
128 |
|
129 |
%install |
130 |
rm -rf %{buildroot} |
131 |
mkdir -p %{buildroot} |
132 |
scons DESTDIR=%{buildroot} install |
133 |
|
134 |
%find_lang %{name} --all-name |
135 |
|
136 |
%clean |
137 |
rm -rf %{buildroot} |
138 |
|
139 |
%files -f %{name}.lang |
140 |
%defattr(-,root,root) |
141 |
%doc README PACKAGER_README |
142 |
%dir %{_sysconfdir}/%{oname} |
143 |
%dir %{_libdir}/%{oname} |
144 |
%dir %{_datadir}/%{oname} |
145 |
%dir %{_datadir}/%{oname}/icons |
146 |
%dir %{_datadir}/%{oname}/pixmaps |
147 |
%dir %{_datadir}/%{oname}/templates |
148 |
%config(noreplace) %{_sysconfdir}/%{oname}/ardour2_ui_dark.rc |
149 |
%config(noreplace) %{_sysconfdir}/%{oname}/ardour2_ui_default.conf |
150 |
%config(noreplace) %{_sysconfdir}/%{oname}/ardour2_ui_light.rc |
151 |
%config(noreplace) %{_sysconfdir}/%{oname}/ardour.menus |
152 |
%config(noreplace) %{_sysconfdir}/%{oname}/ardour_system.rc |
153 |
%config(noreplace) %{_sysconfdir}/%{oname}/ergonomic-us.bindings |
154 |
%config(noreplace) %{_sysconfdir}/%{oname}/mnemonic-us.bindings |
155 |
%config(noreplace) %{_sysconfdir}/%{oname}/ardour-sae.menus |
156 |
%config(noreplace) %{_sysconfdir}/%{oname}/SAE-de-keypad.bindings |
157 |
%config(noreplace) %{_sysconfdir}/%{oname}/SAE-de-nokeypad.bindings |
158 |
%config(noreplace) %{_sysconfdir}/%{oname}/SAE-us-keypad.bindings |
159 |
%config(noreplace) %{_sysconfdir}/%{oname}/SAE-us-nokeypad.bindings |
160 |
%config(noreplace) %{_sysconfdir}/%{oname}/ardour2_ui_dark_sae.rc |
161 |
%config(noreplace) %{_sysconfdir}/%{oname}/ardour2_ui_light_sae.rc |
162 |
%{_bindir}/%{oname} |
163 |
%{_libdir}/%{oname}/*.so |
164 |
%{_libdir}/%{oname}/ardour-* |
165 |
%{_libdir}/%{oname}/surfaces/*.so |
166 |
%{_libdir}/%{oname}/engines/*.so |
167 |
%{_libdir}/%{oname}/vamp/*.so |
168 |
%{_datadir}/applications/*.desktop |
169 |
%{_datadir}/%{oname}/icons/*.png |
170 |
%{_datadir}/%{oname}/pixmaps/*.xpm |
171 |
%{_datadir}/%{oname}/*.png |
172 |
%{_datadir}/%{oname}/templates/*.template |
173 |
%{_iconsdir}/hicolor/*/*/*.png |
174 |
%{_datadir}/mime/packages/*.xml |
175 |
|
176 |
|