diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/eg-amp.lv2/wscript | 11 | ||||
-rw-r--r-- | plugins/eg-fifths.lv2/wscript | 11 | ||||
-rw-r--r-- | plugins/eg-metro.lv2/wscript | 11 | ||||
-rw-r--r-- | plugins/eg-midigate.lv2/wscript | 11 | ||||
-rw-r--r-- | plugins/eg-params.lv2/wscript | 11 | ||||
-rw-r--r-- | plugins/eg-sampler.lv2/wscript | 15 | ||||
-rw-r--r-- | plugins/eg-scope.lv2/wscript | 15 |
7 files changed, 16 insertions, 69 deletions
diff --git a/plugins/eg-amp.lv2/wscript b/plugins/eg-amp.lv2/wscript index fc01bc1..6e44f08 100644 --- a/plugins/eg-amp.lv2/wscript +++ b/plugins/eg-amp.lv2/wscript @@ -20,8 +20,7 @@ def configure(conf): conf.load('lv2', cache=True) conf.load('autowaf', cache=True) - if not autowaf.is_child(): - autowaf.check_pkg(conf, 'lv2', uselib_store='LV2') + autowaf.check_pkg(conf, 'lv2', uselib_store='LV2') conf.check(features='c cshlib', lib='m', uselib_store='M', mandatory=False) @@ -47,17 +46,11 @@ def build(bld): target = '%s/%s' % (bundle, i), install_path = '${LV2DIR}/%s' % bundle) - # Use LV2 headers from parent directory if building as a sub-project - includes = None - if autowaf.is_child: - includes = '../..' - # Build plugin library obj = bld(features = 'c cshlib', source = 'amp.c', name = 'amp', target = '%s/amp' % bundle, install_path = '${LV2DIR}/%s' % bundle, - uselib = 'M LV2', - includes = includes) + uselib = 'M LV2') obj.env.cshlib_PATTERN = module_pat diff --git a/plugins/eg-fifths.lv2/wscript b/plugins/eg-fifths.lv2/wscript index 9adb174..95ab670 100644 --- a/plugins/eg-fifths.lv2/wscript +++ b/plugins/eg-fifths.lv2/wscript @@ -20,8 +20,7 @@ def configure(conf): conf.load('lv2', cache=True) conf.load('autowaf', cache=True) - if not autowaf.is_child(): - autowaf.check_pkg(conf, 'lv2', atleast_version='1.2.1', uselib_store='LV2') + autowaf.check_pkg(conf, 'lv2', atleast_version='1.2.1', uselib_store='LV2') def build(bld): bundle = 'eg-fifths.lv2' @@ -45,17 +44,11 @@ def build(bld): target = '%s/%s' % (bundle, i), install_path = '${LV2DIR}/%s' % bundle) - # Use LV2 headers from parent directory if building as a sub-project - includes = ['.'] - if autowaf.is_child: - includes += ['../..'] - # Build plugin library obj = bld(features = 'c cshlib', source = 'fifths.c', name = 'fifths', target = '%s/fifths' % bundle, install_path = '${LV2DIR}/%s' % bundle, - use = 'LV2', - includes = includes) + use = 'LV2') obj.env.cshlib_PATTERN = module_pat diff --git a/plugins/eg-metro.lv2/wscript b/plugins/eg-metro.lv2/wscript index e91e21f..13b09aa 100644 --- a/plugins/eg-metro.lv2/wscript +++ b/plugins/eg-metro.lv2/wscript @@ -20,8 +20,7 @@ def configure(conf): conf.load('lv2', cache=True) conf.load('autowaf', cache=True) - if not autowaf.is_child(): - autowaf.check_pkg(conf, 'lv2', atleast_version='0.2.0', uselib_store='LV2') + autowaf.check_pkg(conf, 'lv2', atleast_version='0.2.0', uselib_store='LV2') conf.check(features='c cshlib', lib='m', uselib_store='M', mandatory=False) @@ -46,17 +45,11 @@ def build(bld): target = '%s/metro.ttl' % bundle, install_path = '${LV2DIR}/%s' % bundle) - # Use LV2 headers from parent directory if building as a sub-project - includes = ['.'] - if autowaf.is_child: - includes += ['../..'] - # Build plugin library obj = bld(features = 'c cshlib', source = 'metro.c', name = 'metro', target = '%s/metro' % bundle, install_path = '${LV2DIR}/%s' % bundle, - use = ['M', 'LV2'], - includes = includes) + use = ['M', 'LV2']) obj.env.cshlib_PATTERN = module_pat diff --git a/plugins/eg-midigate.lv2/wscript b/plugins/eg-midigate.lv2/wscript index b6a85bb..5dbc774 100644 --- a/plugins/eg-midigate.lv2/wscript +++ b/plugins/eg-midigate.lv2/wscript @@ -20,8 +20,7 @@ def configure(conf): conf.load('lv2', cache=True) conf.load('autowaf', cache=True) - if not autowaf.is_child(): - autowaf.check_pkg(conf, 'lv2', uselib_store='LV2') + autowaf.check_pkg(conf, 'lv2', uselib_store='LV2') def build(bld): bundle = 'eg-midigate.lv2' @@ -45,17 +44,11 @@ def build(bld): target = '%s/%s' % (bundle, i), install_path = '${LV2DIR}/%s' % bundle) - # Use LV2 headers from parent directory if building as a sub-project - includes = None - if autowaf.is_child: - includes = '../..' - # Build plugin library obj = bld(features = 'c cshlib', source = 'midigate.c', name = 'midigate', target = '%s/midigate' % bundle, install_path = '${LV2DIR}/%s' % bundle, - uselib = 'LV2', - includes = includes) + uselib = 'LV2') obj.env.cshlib_PATTERN = module_pat diff --git a/plugins/eg-params.lv2/wscript b/plugins/eg-params.lv2/wscript index f618898..4a7d7a5 100644 --- a/plugins/eg-params.lv2/wscript +++ b/plugins/eg-params.lv2/wscript @@ -20,8 +20,7 @@ def configure(conf): conf.load('lv2', cache=True) conf.load('autowaf', cache=True) - if not autowaf.is_child(): - autowaf.check_pkg(conf, 'lv2', atleast_version='1.12.1', uselib_store='LV2') + autowaf.check_pkg(conf, 'lv2', atleast_version='1.12.1', uselib_store='LV2') def build(bld): bundle = 'eg-params.lv2' @@ -45,17 +44,11 @@ def build(bld): target = '%s/%s' % (bundle, i), install_path = '${LV2DIR}/%s' % bundle) - # Use LV2 headers from parent directory if building as a sub-project - includes = ['.'] - if autowaf.is_child: - includes += ['../..'] - # Build plugin library obj = bld(features = 'c cshlib', source = 'params.c', name = 'params', target = '%s/params' % bundle, install_path = '${LV2DIR}/%s' % bundle, - use = 'LV2', - includes = includes) + use = 'LV2') obj.env.cshlib_PATTERN = module_pat diff --git a/plugins/eg-sampler.lv2/wscript b/plugins/eg-sampler.lv2/wscript index 5d0e03f..7e33d68 100644 --- a/plugins/eg-sampler.lv2/wscript +++ b/plugins/eg-sampler.lv2/wscript @@ -20,9 +20,7 @@ def configure(conf): conf.load('lv2', cache=True) conf.load('autowaf', cache=True) - if not autowaf.is_child(): - autowaf.check_pkg(conf, 'lv2', atleast_version='1.2.1', uselib_store='LV2') - + autowaf.check_pkg(conf, 'lv2', atleast_version='1.2.1', uselib_store='LV2') autowaf.check_pkg(conf, 'sndfile', uselib_store='SNDFILE', atleast_version='1.0.0', mandatory=True) autowaf.check_pkg(conf, 'gtk+-2.0', uselib_store='GTK2', @@ -51,19 +49,13 @@ def build(bld): target = '%s/%s' % (bundle, i), install_path = '${LV2DIR}/%s' % bundle) - # Use LV2 headers from parent directory if building as a sub-project - includes = ['.'] - if autowaf.is_child: - includes += ['../..'] - # Build plugin library obj = bld(features = 'c cshlib', source = 'sampler.c', name = 'sampler', target = '%s/sampler' % bundle, install_path = '${LV2DIR}/%s' % bundle, - use = ['M', 'SNDFILE', 'LV2'], - includes = includes) + use = ['M', 'SNDFILE', 'LV2']) obj.env.cshlib_PATTERN = module_pat # Build UI library @@ -73,6 +65,5 @@ def build(bld): name = 'sampler_ui', target = '%s/sampler_ui' % bundle, install_path = '${LV2DIR}/%s' % bundle, - use = ['GTK2', 'LV2'], - includes = includes) + use = ['GTK2', 'LV2']) obj.env.cshlib_PATTERN = module_pat diff --git a/plugins/eg-scope.lv2/wscript b/plugins/eg-scope.lv2/wscript index 76fece7..ca3413d 100644 --- a/plugins/eg-scope.lv2/wscript +++ b/plugins/eg-scope.lv2/wscript @@ -20,9 +20,7 @@ def configure(conf): conf.load('lv2', cache=True) conf.load('autowaf', cache=True) - if not autowaf.is_child(): - autowaf.check_pkg(conf, 'lv2', atleast_version='1.2.1', uselib_store='LV2') - + autowaf.check_pkg(conf, 'lv2', atleast_version='1.2.1', uselib_store='LV2') autowaf.check_pkg(conf, 'cairo', uselib_store='CAIRO', atleast_version='1.8.10', mandatory=True) autowaf.check_pkg(conf, 'gtk+-2.0', uselib_store='GTK2', @@ -43,19 +41,13 @@ def build(bld): install_path = '${LV2DIR}/%s' % bundle, LIB_EXT = module_ext) - # Use LV2 headers from parent directory if building as a sub-project - includes = ['.'] - if autowaf.is_child: - includes += ['../..'] - # Build plugin library obj = bld(features = 'c cshlib', source = 'examploscope.c', name = 'examploscope', target = '%s/examploscope' % bundle, install_path = '${LV2DIR}/%s' % bundle, - use = 'LV2', - includes = includes) + use = 'LV2') obj.env.cshlib_PATTERN = module_pat # Build UI library @@ -65,6 +57,5 @@ def build(bld): name = 'examploscope_ui', target = '%s/examploscope_ui' % bundle, install_path = '${LV2DIR}/%s' % bundle, - use = 'GTK2 CAIRO LV2', - includes = includes) + use = 'GTK2 CAIRO LV2') obj.env.cshlib_PATTERN = module_pat |