From 2f153d2ab5fbdc3b936b6074462e26cb4a76cb48 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 7 Oct 2017 12:49:22 +0200 Subject: Clean up waf options --- wscript | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/wscript b/wscript index e33a30c..af00019 100644 --- a/wscript +++ b/wscript @@ -20,25 +20,26 @@ APP_HUMAN_NAME = 'Patchage' top = '.' out = 'build' -def options(opt): - opt.load('compiler_cxx') - autowaf.set_options(opt) +def options(ctx): + ctx.load('compiler_cxx') + autowaf.set_options(ctx) + opt = ctx.get_option_group('Configuration options') opt.add_option('--patchage-install-name', type='string', default=APPNAME, dest='patchage_install_name', - help='Patchage install name. [Default: '' + APPNAME + '']') + help='patchage install name. [Default: '' + APPNAME + '']') opt.add_option('--patchage-human-name', type='string', default=APP_HUMAN_NAME, dest='patchage_human_name', - help='Patchage human name [Default: '' + APP_HUMAN_NAME + '']') + help='patchage human name [Default: '' + APP_HUMAN_NAME + '']') opt.add_option('--jack-dbus', action='store_true', dest='jack_dbus', - help='Use Jack via D-Bus [Default: False (use libjack)]') + help='use Jack via D-Bus [Default: False (use libjack)]') opt.add_option('--jack-session-manage', action='store_true', dest='jack_session_manage', - help='Include experimental JACK session management (save/restore) support') + help='include experimental JACK session management (save/restore) support') opt.add_option('--no-alsa', action='store_true', dest='no_alsa', - help='Do not build Alsa Sequencer support') + help='do not build Alsa Sequencer support') opt.add_option('--no-binloc', action='store_true', dest='no_binloc', - help='Do not try to read files from executable location') + help='do not try to read files from executable location') opt.add_option('--light-theme', action='store_true', dest='light_theme', - help='Use light coloured theme') + help='use light coloured theme') def configure(conf): conf.line_just = 44 -- cgit v1.2.1