/[packages]/cauldron/ardour/current/SPECS/ardour.spec
ViewVC logotype

Contents of /cauldron/ardour/current/SPECS/ardour.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 142706 - (show annotations) (download)
Mon Sep 12 12:51:50 2011 UTC (8 years, 11 months ago) by fwang
File size: 5268 byte(s)
rebuild for new libpng
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 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
58 %description
59 Ardour is a digital audio workstation.You can use it to record, edit and mix
60 multi-track audio. You can produce your own CDs, mix video soundtracks, or just
61 experiment with new ideas about music and sound.
62
63 Ardour capabilities include: multichannel recording, non-destructive editing
64 with unlimited undo/redo, full automation support, a powerful mixer, unlimited
65 tracks/busses/plugins, timecode synchronization, and hardware control from
66 surfaces like the Mackie Control Universal. If you've been looking for a tool
67 similar to ProTools, Nuendo, Pyramix, or Sequoia, you might have found it.
68
69 You must have jackd running and an ALSA sound driver to use ardour. If you are
70 new to jackd, try qjackctl.
71
72 See the online user manual at http://ardour.org/files/manual/index.html
73
74 Important notice: This package is built against the system libraries in
75 Mageia, and in the SConstruct file there is a text that seems to invalidate
76 support from upstream authors "USE AT YOUR OWN RISK: CANCELS ALL SUPPORT FROM
77 ARDOUR AUTHORS".
78
79 %prep
80
81 %setup -q -a1
82 %patch1 -p1
83 %patch3 -p0
84 %patch4 -p0
85 %patch6 -p0
86 %patch7 -p0
87 %patch8 -p1
88
89 %build
90 #(tpg) disable strange optimisations, like SSE
91 %ifarch %{ix86}
92 TARGETCPU="i686"
93 ARCHFLAGS="-DARCH_X86"
94 %endif
95 %ifarch x86_64
96 TARGETCPU="x86_64"
97 ARCHFLAGS="-DARCH_X86 -DBUILD_SSE_OPTIMIZATIONS -DUSE_X86_64_ASM"
98 %endif
99
100 # ardour want to link against old library
101 sed -i -e 's/soundtouch-1.0/soundtouch-1.4/g' SConstruct
102
103 %scons \
104 PREFIX=%{_prefix} \
105 DIST_TARGET="${TARGETCPU}" \
106 ARCH="%{optflags} -ffast-math ${ARCHFLAGS}" \
107 FFT_ANALYSIS="1" \
108 LIBDIR="%{_libdir}" \
109 SYSLIBS="1" \
110 SURFACES="1" \
111 LIBLO="1" \
112 LV2="1" \
113 TRANZPORT="1" \
114 NLS="1" \
115 FREEDESKTOP="1" \
116 AUBIO="1" \
117 FPU_OPTIMIZATION="1" \
118 WIIMOTE="1" \
119 FREESOUND="1" \
120 AUSTATE="1"
121
122 %install
123 rm -rf %{buildroot}
124 mkdir -p %{buildroot}
125 scons DESTDIR=%{buildroot} install
126
127 %find_lang %{name} --all-name
128
129 %clean
130 rm -rf %{buildroot}
131
132 %files -f %{name}.lang
133 %defattr(-,root,root)
134 %doc README PACKAGER_README
135 %dir %{_sysconfdir}/%{oname}
136 %dir %{_libdir}/%{oname}
137 %dir %{_datadir}/%{oname}
138 %dir %{_datadir}/%{oname}/icons
139 %dir %{_datadir}/%{oname}/pixmaps
140 %dir %{_datadir}/%{oname}/templates
141 %config(noreplace) %{_sysconfdir}/%{oname}/ardour2_ui_dark.rc
142 %config(noreplace) %{_sysconfdir}/%{oname}/ardour2_ui_default.conf
143 %config(noreplace) %{_sysconfdir}/%{oname}/ardour2_ui_light.rc
144 %config(noreplace) %{_sysconfdir}/%{oname}/ardour.menus
145 %config(noreplace) %{_sysconfdir}/%{oname}/ardour_system.rc
146 %config(noreplace) %{_sysconfdir}/%{oname}/ergonomic-us.bindings
147 %config(noreplace) %{_sysconfdir}/%{oname}/mnemonic-us.bindings
148 %config(noreplace) %{_sysconfdir}/%{oname}/ardour-sae.menus
149 %config(noreplace) %{_sysconfdir}/%{oname}/SAE-de-keypad.bindings
150 %config(noreplace) %{_sysconfdir}/%{oname}/SAE-de-nokeypad.bindings
151 %config(noreplace) %{_sysconfdir}/%{oname}/SAE-us-keypad.bindings
152 %config(noreplace) %{_sysconfdir}/%{oname}/SAE-us-nokeypad.bindings
153 %config(noreplace) %{_sysconfdir}/%{oname}/ardour2_ui_dark_sae.rc
154 %config(noreplace) %{_sysconfdir}/%{oname}/ardour2_ui_light_sae.rc
155 %{_bindir}/%{oname}
156 %{_libdir}/%{oname}/*.so
157 %{_libdir}/%{oname}/ardour-*
158 %{_libdir}/%{oname}/surfaces/*.so
159 %{_libdir}/%{oname}/engines/*.so
160 %{_libdir}/%{oname}/vamp/*.so
161 %{_datadir}/applications/*.desktop
162 %{_datadir}/%{oname}/icons/*.png
163 %{_datadir}/%{oname}/pixmaps/*.xpm
164 %{_datadir}/%{oname}/*.png
165 %{_datadir}/%{oname}/templates/*.template
166 %{_iconsdir}/hicolor/*/*/*.png
167 %{_datadir}/mime/packages/*.xml
168
169

  ViewVC Help
Powered by ViewVC 1.1.28