2 from waflib.extras import autowaf as autowaf
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 conf.load('compiler_cxx')
28 autowaf.configure(conf)
32 obj = bld(features = 'cxx cxxshlib')
33 prefix = 'libs/rubberband/'
34 sources = glob.glob(prefix + 'src/*.cpp')
37 obj.source += [ i.replace(prefix, '') ]
38 obj.export_includes = ['.']
39 obj.includes = ['.', 'rubberband']
40 obj.name = 'librubberband'
41 obj.target = 'rubberband'
42 obj.uselib = 'FFTW3 FFTW3F SAMPLERATE SNDFILE'
43 obj.use = 'libvamphost'
44 obj.vnum = LIBRUBBERBAND_LIB_VERSION
45 obj.install_path = os.path.join(bld.env['LIBDIR'], 'ardour3')
46 obj.cxxflags = '-DPACKAGE="librubberband"'