David Robillard
1d516ac95a
Use rubberband over soundtouch with waf for the time being. git-svn-id: svn://localhost/ardour2/branches/3.0@4669 d708f5d6-7413-0410-9779-e7cbd77b26cf
34 lines
897 B
Python
34 lines
897 B
Python
# -*- python -*-
|
|
|
|
import os
|
|
import os.path
|
|
import glob
|
|
|
|
rubberband_files = glob.glob ('src/*.cpp')
|
|
|
|
Import('env install_prefix libraries')
|
|
rb = env.Clone()
|
|
|
|
rb.Merge ([libraries['fftw3f'],
|
|
libraries['fftw3'],
|
|
libraries['vamp'],
|
|
libraries['samplerate'],
|
|
libraries['sndfile']
|
|
])
|
|
|
|
rb.Append (CPPATH='#libs/rubberband/rubberband', CXXFLAGS="-Ilibs/rubberband/rubberband")
|
|
|
|
librb = rb.SharedLibrary('rubberband', rubberband_files)
|
|
|
|
Default(librb)
|
|
|
|
env.Alias('install', env.Install(os.path.join(install_prefix, env['LIBDIR'], 'ardour3'), librb))
|
|
|
|
env.Alias('tarball', env.Distribute (env['DISTTREE'],
|
|
[ 'SConscript'] +
|
|
rubberband_files +
|
|
glob.glob('rubberband/*.h') +
|
|
glob.glob('src/*.h')))
|
|
|
|
|