diff options
author | David Robillard <d@drobilla.net> | 2012-01-28 01:37:28 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-01-28 01:37:28 +0000 |
commit | ce2c5cc2036154c2b3ce8850c35e34c0bffeef1f (patch) | |
tree | 4dea45a4376110c75fdb8d1c6b9bf3b87b002635 /wscript | |
parent | e4d3f6140cc167580ec43de6fc3ea4562aaba63e (diff) | |
download | lilv-ce2c5cc2036154c2b3ce8850c35e34c0bffeef1f.tar.gz lilv-ce2c5cc2036154c2b3ce8850c35e34c0bffeef1f.tar.bz2 lilv-ce2c5cc2036154c2b3ce8850c35e34c0bffeef1f.zip |
Update state interface to support multiple state snapshots with shared files.
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3967 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 16 |
1 files changed, 0 insertions, 16 deletions
@@ -46,9 +46,6 @@ def options(opt): opt.add_option('--default-lv2-path', type='string', default='', dest='default_lv2_path', help="Default LV2 path to use if $LV2_PATH is unset (globs and ~ supported)") - opt.add_option('--default-state-bundle', type='string', default='', - dest='default_state_bundle', - help="Default path to use for user-writable state/preset bundle") opt.add_option('--static', action='store_true', default=False, dest='static', help="Build static library") @@ -135,17 +132,6 @@ def configure(conf): '/usr/local/%s/lv2' % libdirname]) autowaf.define(conf, 'LILV_DEFAULT_LV2_PATH', lv2_path) - # Set default state bundle - state_bundle = Options.options.default_state_bundle - if state_bundle == '': - if Options.platform == 'darwin': - state_bundle = '~/Library/Audio/Plug-Ins/LV2/presets.lv2' - elif Options.platform == 'win32': - state_bundle = '%APPDATA%\\\\LV2\\\\presets.lv2' - else: - state_bundle = '~/.lv2/presets.lv2' - autowaf.define(conf, 'LILV_DEFAULT_STATE_BUNDLE', state_bundle) - conf.env['BUILD_TESTS'] = Options.options.build_tests conf.env['BUILD_UTILS'] = not Options.options.no_utils conf.env['BUILD_STATIC'] = Options.options.static @@ -157,8 +143,6 @@ def configure(conf): autowaf.display_msg(conf, "Default LV2_PATH", conf.env['LILV_DEFAULT_LV2_PATH']) - autowaf.display_msg(conf, "Default state/preset bundle", - conf.env['LILV_DEFAULT_STATE_BUNDLE']) autowaf.display_msg(conf, "Utilities", bool(conf.env['BUILD_UTILS'])) autowaf.display_msg(conf, "Unit tests", |