6 # Version of this package (even if built as a child)
7 LIBRUBBERBAND_VERSION
= '0.0.0'
9 # Library version (UNIX style major, minor, micro)
10 # major increment <=> incompatible changes
11 # minor increment <=> compatible changes (additions)
12 # micro increment <=> no interface changes
13 LIBRUBBERBAND_LIB_VERSION
= '4.1.0'
15 # Variables for 'waf dist'
16 APPNAME
= 'librubberband'
17 VERSION
= LIBRUBBERBAND_VERSION
24 autowaf
.set_options(opt
)
27 autowaf
.configure(conf
)
28 conf
.check_tool('compiler_cxx')
32 obj
= bld
.new_task_gen('cxx', 'shlib')
33 prefix
= 'libs/rubberband/'
34 sources
= glob
.glob(prefix
+ 'src/*.cpp')
37 obj
.source
+= [ i
.replace(prefix
, '') ]
38 obj
.export_incdirs
= ['.']
39 obj
.includes
= ['.', 'rubberband']
40 obj
.name
= 'librubberband'
41 obj
.target
= 'rubberband'
42 obj
.uselib
= 'FFTW3 FFTW3F SAMPLERATE SNDFILE'
43 obj
.uselib_local
= 'libvamphost'
44 obj
.vnum
= LIBRUBBERBAND_LIB_VERSION
45 obj
.install_path
= os
.path
.join(bld
.env
['LIBDIR'], 'ardour3')
46 obj
.cxxflags
= '-DPACKAGE="librubberband"'