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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 162060 by fwang, Thu Nov 3 06:21:10 2011 UTC revision 162061 by fwang, Thu Nov 3 09:58:03 2011 UTC
# Line 12  URL:           http://ardour.org/ Line 12  URL:           http://ardour.org/
12  Source0:        http://releases.ardour.org/%{name}-%{version}.tar.bz2  Source0:        http://releases.ardour.org/%{name}-%{version}.tar.bz2
13  Source1:        wiimote.tar.gz  Source1:        wiimote.tar.gz
14  Patch1:         ardour-2.0.5-fix_compile.patch  Patch1:         ardour-2.0.5-fix_compile.patch
 Patch3:         ardour-session.cc-no_stomp.patch  
15  Patch4:         ardour-2.8.4-gcc43.patch  Patch4:         ardour-2.8.4-gcc43.patch
16  Patch6:         ardour-2.8.2-disable-fdo-actions.patch  Patch6:         ardour-2.8.2-disable-fdo-actions.patch
17  Patch7:         ardour-2.8.4-wiimote-scons.patch  Patch7:         ardour-2.8.4-wiimote-scons.patch
 Patch8:         ardour-safe-env-vars.patch  
 Patch9:         ardour-2.8.11-raptor2.patch  
18  BuildRequires:  curl-devel  BuildRequires:  curl-devel
19  BuildRequires:  fftw3-devel  BuildRequires:  fftw3-devel
20  BuildRequires:  gettext >= 0.11.5  BuildRequires:  gettext >= 0.11.5
# Line 81  ARDOUR AUTHORS". Line 78  ARDOUR AUTHORS".
78    
79  %setup -q -a1  %setup -q -a1
80  %patch1 -p1  %patch1 -p1
 %patch3 -p0  
81  %patch4 -p0  %patch4 -p0
82  %patch6 -p0  %patch6 -p0
83  %patch7 -p0  %patch7 -p0
 %patch8 -p1  
 %patch9 -p0  
84    
85  %build  %build
86  #(tpg) disable strange optimisations, like SSE  #(tpg) disable strange optimisations, like SSE
# Line 102  ARCHFLAGS="-DARCH_X86 -DBUILD_SSE_OPTIMI Line 96  ARCHFLAGS="-DARCH_X86 -DBUILD_SSE_OPTIMI
96  # ardour want to link against old library  # ardour want to link against old library
97  sed -i -e 's/soundtouch-1.0/soundtouch-1.4/g' SConstruct  sed -i -e 's/soundtouch-1.0/soundtouch-1.4/g' SConstruct
98    
99    export LINKFLAGS="%{ldflags}"
100  %scons \  %scons \
101          PREFIX=%{_prefix} \          PREFIX=%{_prefix} \
102          DIST_TARGET="${TARGETCPU}" \          DIST_TARGET="${TARGETCPU}" \
103          ARCH="%{optflags} -ffast-math ${ARCHFLAGS} -I%{_includedir}/raptor2" \          LINKFLAGS="%{ldflags}" \
104            CCFLAGS="%{optflags} -ffast-math" \
105            ARCH="${ARCHFLAGS}" \
106          FFT_ANALYSIS="1" \          FFT_ANALYSIS="1" \
107          LIBDIR="%{_libdir}" \          LIBDIR="%{_libdir}" \
108          SYSLIBS="1" \          SYSLIBS="1" \

Legend:
Removed from v.162060  
changed lines
  Added in v.162061

  ViewVC Help
Powered by ViewVC 1.1.26