5 # Version of this package (even if built as a child)
6 LIBARDOURVAMPPLUGINS_VERSION
= '0.0.0'
8 # Library version (UNIX style major, minor, micro)
9 # major increment <=> incompatible changes
10 # minor increment <=> compatible changes (additions)
11 # micro increment <=> no interface changes
12 LIBARDOURVAMPPLUGINS_LIB_VERSION
= '0.0.0'
14 # Variables for 'waf dist'
15 APPNAME
= 'libardourvampplugins'
16 VERSION
= LIBARDOURVAMPPLUGINS_VERSION
23 autowaf
.set_options(opt
)
26 autowaf
.configure(conf
)
27 conf
.check_tool('compiler_cxx')
28 autowaf
.check_pkg(conf
, 'fftw3f', uselib_store
='FFTW3F', mandatory
=True)
29 autowaf
.check_pkg(conf
, 'aubio', uselib_store
='AUBIO', mandatory
=False)
30 conf
.write_config_header('libvampplugins-config.h')
34 obj
= bld
.new_task_gen('cxx', 'shlib')
39 PercussionOnsetDetector.cpp
43 obj
.export_incdirs
= ['.']
45 obj
.name
= 'libardourvampplugins'
46 obj
.target
= 'ardourvampplugins'
48 obj
.uselib_local
= 'libvampplugin libqmdsp'
49 if bld
.env
['HAVE_AUBIO']:
50 obj
.source
+= ' Onset.cpp '
51 obj
.uselib
+= ' AUBIO '
52 obj
.vnum
= LIBARDOURVAMPPLUGINS_LIB_VERSION
53 obj
.install_path
= os
.path
.join(bld
.env
['LIBDIR'], 'ardour3', 'vamp')