/[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 477084 - (show annotations) (download)
Tue Sep 10 05:50:02 2013 UTC (6 years, 2 months ago) by fwang
File size: 5022 byte(s)
use fedora patch to build with recent gcc
1 %define oname ardour2
2
3 Summary: Professional multitrack audio recording application
4 Name: ardour
5 Version: 2.8.16
6 Release: %mkrel 7
7 Epoch: 1
8 Group: Sound/Editors and Converters
9 License: GPLv2+
10 URL: http://ardour.org/
11 # since 2.8.2 there is no direct link :(
12 Source0: ardour-%{version}.tar.bz2
13 Patch0: ardour-2.8.2-disable-fdo-actions.patch
14 Patch1: ardour-lilv016fix.patch
15 BuildRequires: dmalloc
16 BuildRequires: pkgconfig(libcurl) >= 7.0.0
17 BuildRequires: pkgconfig(fftw3)
18 BuildRequires: gettext >= 0.11.5
19 BuildRequires: gtk2-devel >= 2.8
20 BuildRequires: gtkmm2.4-devel >= 2.10.8
21 BuildRequires: jackit-devel >= 0.100
22 BuildRequires: pkgconfig(alsa)
23 BuildRequires: libart_lgpl-devel >= 2.3.16
24 BuildRequires: boost-devel
25 BuildRequires: pkgconfig(flac) >= 1.2.1
26 BuildRequires: pkgconfig(glib-2.0) >= 2.10
27 BuildRequires: pkgconfig(libgnomecanvas-2.0)
28 BuildRequires: pkgconfig(libgnomecanvasmm-2.6)
29 BuildRequires: pkgconfig(liblo) >= 0.24
30 BuildRequires: pkgconfig(lrdf) >= 0.4.0
31 BuildRequires: pkgconfig(samplerate)
32 BuildRequires: pkgconfig(sndfile) >= 1.0.18
33 BuildRequires: libtool
34 BuildRequires: pkgconfig(libusb)
35 BuildRequires: pkgconfig(libusb-1.0)
36 BuildRequires: libxml2-devel >= 2.5.0
37 BuildRequires: pkgconfig(libxslt)
38 BuildRequires: pkgconfig
39 BuildRequires: pkgconfig(raptor2)
40 BuildRequires: scons >= 0.96
41 BuildRequires: pkgconfig(lilv-0) >= 0.14
42 BuildRequires: pkgconfig(sqlite3)
43 BuildRequires: pkgconfig(lv2) >= 1.0.15
44 BuildRequires: pkgconfig(vamp-sdk)
45 BuildRequires: pkgconfig(rubberband)
46 BuildRequires: pkgconfig(aubio) >= 0.3.2
47 BuildRequires: xdg-utils
48 BuildRequires: shared-mime-info
49 BuildRequires: pkgconfig(cwiid)
50 BuildRequires: pkgconfig(redland)
51 BuildRequires: desktop-file-utils
52 BuildRequires: pkgconfig(serd-0) >= 0.14.0
53 BuildRequires: pkgconfig(sord-0) >= 0.8.0
54 BuildRequires: pkgconfig(sratom-0) >= 0.4.0
55 BuildRequires: pkgconfig(suil-0) >= 0.6.0
56
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/buses/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 An ALSA sound driver is preferred when using Ardour.
71
72 See the online user manual at http://en.flossmanuals.net/ardour/
73
74
75 %prep
76 %setup -q
77 %patch0 -p0
78 %patch1 -p1
79
80 %build
81 #(tpg) disable strange optimisations, like SSE
82 %ifarch %{ix86}
83 TARGETCPU="i686"
84 ARCHFLAGS="-DARCH_X86"
85 %endif
86 %ifarch x86_64
87 TARGETCPU="x86_64"
88 ARCHFLAGS="-DARCH_X86 -DBUILD_SSE_OPTIMIZATIONS -DUSE_X86_64_ASM"
89 %endif
90
91
92 export LINKFLAGS="%{ldflags}"
93 %scons \
94 PREFIX=%{_prefix} \
95 %ifarch %ix86 x86_64
96 DIST_TARGET="${TARGETCPU}" \
97 %endif
98 LINKFLAGS="%{ldflags}" \
99 CCFLAGS="%{optflags} -ffast-math" \
100 ARCH="${ARCHFLAGS}" \
101 FFT_ANALYSIS="1" \
102 LIBDIR="%{_libdir}" \
103 SYSLIBS="1" \
104 SURFACES="1" \
105 LIBLO="1" \
106 LV2="1" \
107 TRANZPORT="1" \
108 NLS="1" \
109 FREEDESKTOP="1" \
110 AUBIO="1" \
111 %ifarch %ix86 x86_64
112 FPU_OPTIMIZATION="1" \
113 %endif
114 %ifarch %arm
115 FPU_OPTIMIZATION=no \
116 %endif
117 WIIMOTE="1" \
118 FREESOUND="1" \
119 AUSTATE="1"
120
121 %install
122 mkdir -p %{buildroot}
123 scons DESTDIR=%{buildroot} install
124
125 %find_lang %{name} --all-name
126
127 %files -f %{name}.lang
128 %doc README PACKAGER_README
129 %dir %{_sysconfdir}/%{oname}
130 %dir %{_libdir}/%{oname}
131 %dir %{_datadir}/%{oname}
132 %dir %{_datadir}/%{oname}/icons
133 %dir %{_datadir}/%{oname}/pixmaps
134 %dir %{_datadir}/%{oname}/templates
135 %config(noreplace) %{_sysconfdir}/%{oname}/ardour2_ui_dark.rc
136 %config(noreplace) %{_sysconfdir}/%{oname}/ardour2_ui_default.conf
137 %config(noreplace) %{_sysconfdir}/%{oname}/ardour2_ui_light.rc
138 %config(noreplace) %{_sysconfdir}/%{oname}/ardour.menus
139 %config(noreplace) %{_sysconfdir}/%{oname}/ardour_system.rc
140 %config(noreplace) %{_sysconfdir}/%{oname}/ergonomic-us.bindings
141 %config(noreplace) %{_sysconfdir}/%{oname}/mnemonic-us.bindings
142 %config(noreplace) %{_sysconfdir}/%{oname}/ardour-sae.menus
143 %config(noreplace) %{_sysconfdir}/%{oname}/SAE-de-keypad.bindings
144 %config(noreplace) %{_sysconfdir}/%{oname}/SAE-de-nokeypad.bindings
145 %config(noreplace) %{_sysconfdir}/%{oname}/SAE-us-keypad.bindings
146 %config(noreplace) %{_sysconfdir}/%{oname}/SAE-us-nokeypad.bindings
147 %config(noreplace) %{_sysconfdir}/%{oname}/ardour2_ui_dark_sae.rc
148 %config(noreplace) %{_sysconfdir}/%{oname}/ardour2_ui_light_sae.rc
149 %{_bindir}/%{oname}
150 %{_libdir}/%{oname}/*.so
151 %{_libdir}/%{oname}/ardour-*
152 %{_libdir}/%{oname}/surfaces/*.so
153 %{_libdir}/%{oname}/engines/*.so
154 %{_libdir}/%{oname}/vamp/*.so
155 %{_datadir}/applications/*.desktop
156 %{_datadir}/%{oname}/icons/*.png
157 %{_datadir}/%{oname}/pixmaps/*.xpm
158 %{_datadir}/%{oname}/*.png
159 %{_datadir}/%{oname}/templates/*.template
160 %{_iconsdir}/hicolor/*/*/*.png
161 %{_datadir}/mime/packages/*.xml

  ViewVC Help
Powered by ViewVC 1.1.26