diff options
author | David Robillard <d@drobilla.net> | 2011-05-23 20:23:59 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-05-23 20:23:59 +0000 |
commit | 860cf313a4707ea72a85c98d968d1f5d6533ad81 (patch) | |
tree | 9fb8c1a77b2359c9487f425e13bb31785a01e5f2 /wscript | |
parent | c9596d2de5cd91468738c32b2f61ed51c4d245db (diff) | |
download | patchage-860cf313a4707ea72a85c98d968d1f5d6533ad81.tar.gz patchage-860cf313a4707ea72a85c98d968d1f5d6533ad81.tar.bz2 patchage-860cf313a4707ea72a85c98d968d1f5d6533ad81.zip |
Apply patch from pgiblox in ticket #693 to add --no-jack-session to patchage wscript.
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3308 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -29,6 +29,9 @@ def options(opt): help="Patchage human name [Default: '" + APP_HUMAN_NAME + "']") opt.add_option('--jack-dbus', action='store_true', default=False, dest='jack_dbus', help="Use Jack via D-Bus [Default: False (use libjack)]") + opt.add_option('--no-jack-session', action='store_true', default=False, + dest='no_jack_session', + help="Do not build JACK session support") opt.add_option('--no-lash', action='store_true', default=False, dest='no_lash', help="Do not build Lash support") opt.add_option('--no-alsa', action='store_true', default=False, dest='no_alsa', @@ -74,7 +77,8 @@ def configure(conf): atleast_version='0.120.0', mandatory=False) if conf.is_defined('HAVE_JACK'): autowaf.define(conf, 'PATCHAGE_LIBJACK', 1) - autowaf.define(conf, 'PATCHAGE_JACK_SESSION', 1) + if not Options.options.no_jack_session: + autowaf.define(conf, 'PATCHAGE_JACK_SESSION', 1) else: autowaf.check_pkg(conf, 'jack', uselib_store='JACK', atleast_version='0.107.0', mandatory=False) |