mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
Fix Python whitespace (follow PEP8 guidelines, reformatted by Python Reindent)
git-svn-id: svn://localhost/ardour2/branches/3.0@9409 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
57bf3cf063
commit
4769db412d
33 changed files with 1700 additions and 1728 deletions
|
|
@ -20,38 +20,37 @@ srcdir = '.'
|
|||
blddir = 'build'
|
||||
|
||||
def set_options(opt):
|
||||
autowaf.set_options(opt)
|
||||
autowaf.set_options(opt)
|
||||
|
||||
def configure(conf):
|
||||
autowaf.configure(conf)
|
||||
conf.check_tool('compiler_cxx')
|
||||
autowaf.check_pkg(conf, 'fftw3f', uselib_store='FFTW3F', mandatory=True)
|
||||
autowaf.check_pkg(conf, 'aubio', uselib_store='AUBIO', mandatory=False)
|
||||
conf.write_config_header('libvampplugins-config.h')
|
||||
autowaf.configure(conf)
|
||||
conf.check_tool('compiler_cxx')
|
||||
autowaf.check_pkg(conf, 'fftw3f', uselib_store='FFTW3F', mandatory=True)
|
||||
autowaf.check_pkg(conf, 'aubio', uselib_store='AUBIO', mandatory=False)
|
||||
conf.write_config_header('libvampplugins-config.h')
|
||||
|
||||
def build(bld):
|
||||
# Library
|
||||
obj = bld.new_task_gen('cxx', 'shlib')
|
||||
obj.source = '''
|
||||
plugins.cpp
|
||||
AmplitudeFollower.cpp
|
||||
OnsetDetect.cpp
|
||||
PercussionOnsetDetector.cpp
|
||||
SpectralCentroid.cpp
|
||||
ZeroCrossing.cpp
|
||||
'''
|
||||
obj.export_incdirs = ['.']
|
||||
obj.includes = ['.']
|
||||
obj.name = 'libardourvampplugins'
|
||||
obj.target = 'ardourvampplugins'
|
||||
obj.uselib = 'FFTW3F'
|
||||
obj.uselib_local = 'libvampplugin libqmdsp'
|
||||
if bld.env['HAVE_AUBIO']:
|
||||
obj.source += ' Onset.cpp '
|
||||
obj.uselib += ' AUBIO '
|
||||
obj.vnum = LIBARDOURVAMPPLUGINS_LIB_VERSION
|
||||
obj.install_path = os.path.join(bld.env['LIBDIR'], 'ardour3', 'vamp')
|
||||
# Library
|
||||
obj = bld.new_task_gen('cxx', 'shlib')
|
||||
obj.source = '''
|
||||
plugins.cpp
|
||||
AmplitudeFollower.cpp
|
||||
OnsetDetect.cpp
|
||||
PercussionOnsetDetector.cpp
|
||||
SpectralCentroid.cpp
|
||||
ZeroCrossing.cpp
|
||||
'''
|
||||
obj.export_incdirs = ['.']
|
||||
obj.includes = ['.']
|
||||
obj.name = 'libardourvampplugins'
|
||||
obj.target = 'ardourvampplugins'
|
||||
obj.uselib = 'FFTW3F'
|
||||
obj.uselib_local = 'libvampplugin libqmdsp'
|
||||
if bld.env['HAVE_AUBIO']:
|
||||
obj.source += ' Onset.cpp '
|
||||
obj.uselib += ' AUBIO '
|
||||
obj.vnum = LIBARDOURVAMPPLUGINS_LIB_VERSION
|
||||
obj.install_path = os.path.join(bld.env['LIBDIR'], 'ardour3', 'vamp')
|
||||
|
||||
def shutdown():
|
||||
autowaf.shutdown()
|
||||
|
||||
autowaf.shutdown()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue