add 0.5 second sleep after closing JACK connection so that next startup/connect is...
[ardour.git] / libs / surfaces / wiimote / wscript
1 #!/usr/bin/env python
2 from waflib.extras import autowaf as autowaf
3 import os
4
5 # Library version (UNIX style major, minor, micro)
6 # major increment <=> incompatible changes
7 # minor increment <=> compatible changes (additions)
8 # micro increment <=> no interface changes
9 LIBARDOUR_WIIMOTE_LIB_VERSION = '4.1.0'
10
11 # Mandatory variables
12 top = '.'
13 out = 'build'
14
15 def options(opt):
16     autowaf.set_options(opt)
17
18 def configure(conf):
19     autowaf.configure(conf)
20
21 def build(bld):
22     obj = bld(features = 'cxx cxxshlib')
23     obj.source = '''
24             wiimote.cc
25             interface.cc
26     '''
27     obj.export_includes = ['./wiimote']
28     obj.cxxflags     = '-DPACKAGE="ardour_wiimote"'
29     obj.includes     = ['.', '../libs']
30     obj.name         = 'libardour_wiimote'
31     obj.target       = 'ardour_wiimote'
32     obj.uselib       = 'GTKMM CWIID'
33     obj.use          = 'libardour libardour_cp libgtkmm2ext'
34     obj.vnum         = LIBARDOUR_WIIMOTE_LIB_VERSION
35     obj.install_path = os.path.join(bld.env['LIBDIR'], 'ardour3', 'surfaces')
36
37 def shutdown():
38     autowaf.shutdown()