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