summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2009-11-09 20:05:18 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2009-11-09 20:05:18 +0000
commit498dfebcca3b97cdd7b83444040042fe06626241 (patch)
tree09b397ba40679e67a1a265e6d227e39ee0b4b4da /wscript
parent8f508460903ef628a3f34ee60611b75ed4e1a734 (diff)
90% done with external sync design changes (GUI now has toggle switch for ext/int sync; source chosen separately, currently in ardour prefs dialog ; fix libmidi++ and compilation scripts to correctly build JACK+ALSA support; minor contiuing tweaks on transport stuff
git-svn-id: svn://localhost/ardour2/branches/3.0@6048 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'wscript')
-rw-r--r--wscript21
1 files changed, 16 insertions, 5 deletions
diff --git a/wscript b/wscript
index fec8a11d05..41976d9627 100644
--- a/wscript
+++ b/wscript
@@ -529,12 +529,23 @@ def build(bld):
bld.add_subdirs('libs/appleutility')
for i in children:
bld.add_subdirs(i)
+
+ # ideally, we'd like to use the OS-provided MIDI API
+ # for default ports. that doesn't work on at least
+ # Fedora (Nov 9th, 2009) so use JACK MIDI on linux.
- rc_subst_dict = {
- 'MIDITAG' : 'control',
- 'MIDITYPE' : 'jack',
- 'JACK_INPUT' : 'auditioner'
- }
+ if sys.platform == 'darwin':
+ rc_subst_dict = {
+ 'MIDITAG' : 'control',
+ 'MIDITYPE' : 'coremidi',
+ 'JACK_INPUT' : 'auditioner'
+ }
+ else:
+ rc_subst_dict = {
+ 'MIDITAG' : 'control',
+ 'MIDITYPE' : 'jack',
+ 'JACK_INPUT' : 'auditioner'
+ }
obj = bld.new_task_gen('subst')
obj.source = 'ardour.rc.in'