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