diff options
author | David Robillard <d@drobilla.net> | 2011-05-20 22:27:44 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-05-20 22:27:44 +0000 |
commit | 5499935ae017305a4b08ef7d0c1dc80739bb5aad (patch) | |
tree | ace1737dd232ae9da337aa1b066c746167a5d3ce /wscript | |
parent | 9139dda70547545f9f36ffe526a5fdcc930b1e2a (diff) | |
download | patchage-5499935ae017305a4b08ef7d0c1dc80739bb5aad.tar.gz patchage-5499935ae017305a4b08ef7d0c1dc80739bb5aad.tar.bz2 patchage-5499935ae017305a4b08ef7d0c1dc80739bb5aad.zip |
Preliminary Jack session support in Patchage (as a session manager).
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3302 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -71,12 +71,15 @@ def configure(conf): autowaf.define(conf, 'HAVE_JACK_DBUS', 1) else: autowaf.check_pkg(conf, 'jack', uselib_store='JACK', - atleast_version='0.107.0', mandatory=False) + atleast_version='0.120.0', mandatory=False) if conf.is_defined('HAVE_JACK'): autowaf.define(conf, 'PATCHAGE_LIBJACK', 1) - - if conf.is_defined('HAVE_JACK') and conf.is_defined('HAVE_JACK_DBUS'): - autowaf.define(conf, 'HAVE_JACK_MIDI', 1) + autowaf.define(conf, 'PATCHAGE_JACK_SESSION', 1) + else: + autowaf.check_pkg(conf, 'jack', uselib_store='JACK', + atleast_version='0.107.0', mandatory=False) + if conf.is_defined('HAVE_JACK'): + autowaf.define(conf, 'PATCHAGE_LIBJACK', 1) # Use Alsa if present unless --no-alsa if not Options.options.no_alsa: @@ -108,6 +111,7 @@ def configure(conf): autowaf.display_msg(conf, "Jack (D-Bus)", conf.is_defined('HAVE_JACK_DBUS')) autowaf.display_msg(conf, "LASH (D-Bus)", conf.is_defined('HAVE_LASH')) autowaf.display_msg(conf, "Jack (libjack)", conf.is_defined('PATCHAGE_LIBJACK')) + autowaf.display_msg(conf, "Jack Session", conf.is_defined('PATCHAGE_JACK_SESSION')) autowaf.display_msg(conf, "Alsa Sequencer", conf.is_defined('HAVE_ALSA')) print('') |