From 409a3d0d0cd2bd5fb5af13ee64a4f138827043b0 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 8 Aug 2012 20:38:32 +0000 Subject: Tidy up wscript files. --- plugins/eg-amp.lv2/wscript | 8 ++++---- plugins/eg-sampler.lv2/wscript | 10 +++++----- plugins/eg-synth.lv2/wscript | 8 ++++---- 3 files changed, 13 insertions(+), 13 deletions(-) (limited to 'plugins') diff --git a/plugins/eg-amp.lv2/wscript b/plugins/eg-amp.lv2/wscript index d077f51..0a634f5 100644 --- a/plugins/eg-amp.lv2/wscript +++ b/plugins/eg-amp.lv2/wscript @@ -19,7 +19,7 @@ def configure(conf): autowaf.configure(conf) autowaf.display_header('Amp Configuration') - if conf.env['MSVC_COMPILER']: + if conf.env.MSVC_COMPILER: conf.env.append_unique('CFLAGS', ['-TP', '-MD']) else: conf.env.append_unique('CFLAGS', '-std=c99') @@ -27,14 +27,14 @@ def configure(conf): if not autowaf.is_child(): autowaf.check_pkg(conf, 'lv2', uselib_store='LV2') - autowaf.display_msg(conf, "LV2 bundle directory", conf.env['LV2DIR']) + autowaf.display_msg(conf, 'LV2 bundle directory', conf.env.LV2DIR) print('') def build(bld): bundle = 'eg-amp.lv2' # Make a pattern for shared objects without the 'lib' prefix - module_pat = re.sub('^lib', '', bld.env['cshlib_PATTERN']) + module_pat = re.sub('^lib', '', bld.env.cshlib_PATTERN) module_ext = module_pat[module_pat.rfind('.'):] # Build manifest.ttl by substitution (for portable lib extension) @@ -65,5 +65,5 @@ def build(bld): install_path = '${LV2DIR}/%s' % bundle, uselib = 'LV2', includes = includes) - obj.env['cshlib_PATTERN'] = module_pat + obj.env.cshlib_PATTERN = module_pat diff --git a/plugins/eg-sampler.lv2/wscript b/plugins/eg-sampler.lv2/wscript index fceeaa8..fefa089 100644 --- a/plugins/eg-sampler.lv2/wscript +++ b/plugins/eg-sampler.lv2/wscript @@ -19,7 +19,7 @@ def configure(conf): autowaf.configure(conf) autowaf.display_header('Sampler Configuration') - if conf.env['MSVC_COMPILER']: + if conf.env.MSVC_COMPILER: conf.env.append_unique('CFLAGS', ['-TP', '-MD']) else: conf.env.append_unique('CFLAGS', '-std=c99') @@ -32,14 +32,14 @@ def configure(conf): autowaf.check_pkg(conf, 'gtk+-2.0', uselib_store='GTK2', atleast_version='2.18.0', mandatory=False) - autowaf.display_msg(conf, "LV2 bundle directory", conf.env['LV2DIR']) + autowaf.display_msg(conf, 'LV2 bundle directory', conf.env.LV2DIR) print('') def build(bld): bundle = 'eg-sampler.lv2' # Make a pattern for shared objects without the 'lib' prefix - module_pat = re.sub('^lib', '', bld.env['cshlib_PATTERN']) + module_pat = re.sub('^lib', '', bld.env.cshlib_PATTERN) module_ext = module_pat[module_pat.rfind('.'):] # Build manifest.ttl by substitution (for portable lib extension) @@ -70,7 +70,7 @@ def build(bld): install_path = '${LV2DIR}/%s' % bundle, use = 'SNDFILE LV2', includes = includes) - obj.env['cshlib_PATTERN'] = module_pat + obj.env.cshlib_PATTERN = module_pat # Build UI library if bld.is_defined('HAVE_GTK2'): @@ -81,4 +81,4 @@ def build(bld): install_path = '${LV2DIR}/%s' % bundle, use = 'GTK2 LV2', includes = includes) - obj.env['cshlib_PATTERN'] = module_pat + obj.env.cshlib_PATTERN = module_pat diff --git a/plugins/eg-synth.lv2/wscript b/plugins/eg-synth.lv2/wscript index 5813fb8..170a77b 100644 --- a/plugins/eg-synth.lv2/wscript +++ b/plugins/eg-synth.lv2/wscript @@ -19,7 +19,7 @@ def configure(conf): autowaf.configure(conf) autowaf.display_header('Synth Configuration') - if conf.env['MSVC_COMPILER']: + if conf.env.MSVC_COMPILER: conf.env.append_unique('CFLAGS', ['-TP', '-MD']) else: conf.env.append_unique('CFLAGS', '-std=c99') @@ -27,14 +27,14 @@ def configure(conf): if not autowaf.is_child(): autowaf.check_pkg(conf, 'lv2', uselib_store='LV2') - autowaf.display_msg(conf, "LV2 bundle directory", conf.env['LV2DIR']) + autowaf.display_msg(conf, 'LV2 bundle directory', conf.env.LV2DIR) print('') def build(bld): bundle = APPNAME # Make a pattern for shared objects without the 'lib' prefix - module_pat = re.sub('^lib', '', bld.env['cshlib_PATTERN']) + module_pat = re.sub('^lib', '', bld.env.cshlib_PATTERN) module_ext = module_pat[module_pat.rfind('.'):] # Build manifest.ttl by substitution (for portable lib extension) @@ -65,4 +65,4 @@ def build(bld): install_path = '${LV2DIR}/%s' % bundle, uselib = 'LV2', includes = includes) - obj.env['cshlib_PATTERN'] = module_pat + obj.env.cshlib_PATTERN = module_pat -- cgit v1.2.1