Copy local state in AudioRegionView copy constructor. Fixes #4047.
[ardour2.git] / templates / wscript
blob62ed37e5a2df8f452a50c6f6323e9c57b31ff9f9
1 #!/usr/bin/python
3 import os
4 import glob
6 srcdir = '.'
7 blddir = 'build'
9 def configure(conf):
10 pass
12 def build(bld):
14 subst_dict = {}
15 if bld.env['COREAUDIO']:
16 subst_dict['%JACK_INPUT%'] = 'coreaudio:Built-in Audio:in'
17 subst_dict['%JACK_OUTPUT%'] = 'coreaudio:Built-in Audio:out'
18 else:
19 subst_dict['%JACK_INPUT%'] = 'alsa_pcm:playback_'
20 subst_dict['%JACK_OUTPUT%'] = 'alsa_pcm:capture_'
22 templates = glob.glob(os.path.join(bld.get_curdir(), '*.template.in'))
23 for t in templates:
24 b = os.path.basename(t)
25 obj = bld.new_task_gen('subst')
26 obj.source = [ b ]
27 obj.target = [ b.replace('.in', '') ]
28 obj.dict = subst_dict
29 obj.install_path = os.path.join(bld.env['DATADIR'], 'ardour3', 'templates')
31 def set_options(opt):
32 pass