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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 162061 - (hide annotations) (download)
Thu Nov 3 09:58:03 2011 UTC (12 years, 5 months ago) by fwang
File size: 5236 byte(s)
drop merged patches
1 ennael 67509 %define oname ardour2
2    
3     Summary: Professional multitrack audio recording application
4     Name: ardour
5 fwang 162029 Version: 2.8.12
6     Release: %mkrel 1
7 ennael 67509 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     Patch7: ardour-2.8.4-wiimote-scons.patch
18     BuildRequires: curl-devel
19     BuildRequires: fftw3-devel
20     BuildRequires: gettext >= 0.11.5
21     BuildRequires: gtk2-devel >= 2.8
22     BuildRequires: gtkmm2.4-devel >= 2.10.8
23     BuildRequires: jackit-devel >= 0.100
24     BuildRequires: libalsa-devel
25     BuildRequires: libart_lgpl-devel >= 2.3.16
26     BuildRequires: libboost-devel
27     BuildRequires: libflac-devel
28     BuildRequires: libglib2.0-devel >= 2.10
29     BuildRequires: libgnomecanvas2-devel
30     BuildRequires: libgnomecanvasmm2.6-devel
31     BuildRequires: liblo-devel
32     BuildRequires: liblrdf-devel >= 0.3.1
33     BuildRequires: libsamplerate-devel >= 0.0.13
34     BuildRequires: libsndfile-devel >= 1.0.16
35     BuildRequires: libtool
36     BuildRequires: libusb-devel
37     BuildRequires: libxml2-devel >= 2.5.0
38     BuildRequires: libxslt-devel
39     BuildRequires: pkgconfig
40 fwang 142708 BuildRequires: raptor2-devel
41 ennael 67509 BuildRequires: scons >= 0.96
42     BuildRequires: slv2-devel >= 0.6.0
43     BuildRequires: soundtouch-devel >= 1.3.1
44     BuildRequires: sqlite3-devel
45     BuildRequires: lv2core-devel
46     #BuildRequires: vamp-plugin-sdk-devel
47     BuildRequires: rubberband-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 stewb 78892 Mageia, and in the SConstruct file there is a text that seems to invalidate
74 ennael 67509 support from upstream authors "USE AT YOUR OWN RISK: CANCELS ALL SUPPORT FROM
75     ARDOUR AUTHORS".
76    
77     %prep
78    
79     %setup -q -a1
80     %patch1 -p1
81     %patch4 -p0
82     %patch6 -p0
83     %patch7 -p0
84    
85     %build
86     #(tpg) disable strange optimisations, like SSE
87     %ifarch %{ix86}
88     TARGETCPU="i686"
89     ARCHFLAGS="-DARCH_X86"
90     %endif
91     %ifarch x86_64
92     TARGETCPU="x86_64"
93     ARCHFLAGS="-DARCH_X86 -DBUILD_SSE_OPTIMIZATIONS -DUSE_X86_64_ASM"
94     %endif
95    
96     # ardour want to link against old library
97     sed -i -e 's/soundtouch-1.0/soundtouch-1.4/g' SConstruct
98    
99 fwang 162061 export LINKFLAGS="%{ldflags}"
100 ennael 67509 %scons \
101     PREFIX=%{_prefix} \
102     DIST_TARGET="${TARGETCPU}" \
103 fwang 162061 LINKFLAGS="%{ldflags}" \
104     CCFLAGS="%{optflags} -ffast-math" \
105     ARCH="${ARCHFLAGS}" \
106 ennael 67509 FFT_ANALYSIS="1" \
107     LIBDIR="%{_libdir}" \
108     SYSLIBS="1" \
109     SURFACES="1" \
110     LIBLO="1" \
111     LV2="1" \
112     TRANZPORT="1" \
113     NLS="1" \
114     FREEDESKTOP="1" \
115     AUBIO="1" \
116     FPU_OPTIMIZATION="1" \
117     WIIMOTE="1" \
118     FREESOUND="1" \
119     AUSTATE="1"
120    
121     %install
122     rm -rf %{buildroot}
123     mkdir -p %{buildroot}
124     scons DESTDIR=%{buildroot} install
125    
126     %find_lang %{name} --all-name
127    
128     %clean
129     rm -rf %{buildroot}
130    
131     %files -f %{name}.lang
132     %defattr(-,root,root)
133     %doc README PACKAGER_README
134     %dir %{_sysconfdir}/%{oname}
135     %dir %{_libdir}/%{oname}
136     %dir %{_datadir}/%{oname}
137     %dir %{_datadir}/%{oname}/icons
138     %dir %{_datadir}/%{oname}/pixmaps
139     %dir %{_datadir}/%{oname}/templates
140     %config(noreplace) %{_sysconfdir}/%{oname}/ardour2_ui_dark.rc
141     %config(noreplace) %{_sysconfdir}/%{oname}/ardour2_ui_default.conf
142     %config(noreplace) %{_sysconfdir}/%{oname}/ardour2_ui_light.rc
143     %config(noreplace) %{_sysconfdir}/%{oname}/ardour.menus
144     %config(noreplace) %{_sysconfdir}/%{oname}/ardour_system.rc
145     %config(noreplace) %{_sysconfdir}/%{oname}/ergonomic-us.bindings
146     %config(noreplace) %{_sysconfdir}/%{oname}/mnemonic-us.bindings
147     %config(noreplace) %{_sysconfdir}/%{oname}/ardour-sae.menus
148     %config(noreplace) %{_sysconfdir}/%{oname}/SAE-de-keypad.bindings
149     %config(noreplace) %{_sysconfdir}/%{oname}/SAE-de-nokeypad.bindings
150     %config(noreplace) %{_sysconfdir}/%{oname}/SAE-us-keypad.bindings
151     %config(noreplace) %{_sysconfdir}/%{oname}/SAE-us-nokeypad.bindings
152     %config(noreplace) %{_sysconfdir}/%{oname}/ardour2_ui_dark_sae.rc
153     %config(noreplace) %{_sysconfdir}/%{oname}/ardour2_ui_light_sae.rc
154     %{_bindir}/%{oname}
155     %{_libdir}/%{oname}/*.so
156     %{_libdir}/%{oname}/ardour-*
157     %{_libdir}/%{oname}/surfaces/*.so
158     %{_libdir}/%{oname}/engines/*.so
159     %{_libdir}/%{oname}/vamp/*.so
160     %{_datadir}/applications/*.desktop
161     %{_datadir}/%{oname}/icons/*.png
162     %{_datadir}/%{oname}/pixmaps/*.xpm
163     %{_datadir}/%{oname}/*.png
164     %{_datadir}/%{oname}/templates/*.template
165     %{_iconsdir}/hicolor/*/*/*.png
166     %{_datadir}/mime/packages/*.xml
167    
168    

  ViewVC Help
Powered by ViewVC 1.1.30