aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'wscript')
-rw-r--r--wscript29
1 files changed, 0 insertions, 29 deletions
diff --git a/wscript b/wscript
index f213d1a..a54db0c 100644
--- a/wscript
+++ b/wscript
@@ -22,7 +22,6 @@ def options(opt):
opt.tool_options('compiler_cxx')
opt.sub_options('core.lv2')
-
def configure(conf):
autowaf.set_recursive()
autowaf.configure(conf)
@@ -34,34 +33,6 @@ def configure(conf):
ext = pat[pat.rfind('.'):]
conf.env.append_value('cshlib_EXTENSION', ext)
-def build_plugin(bld, lang, name):
- ext = bld.env['cshlib_EXTENSION'][0]
-
- penv = bld.env.copy()
- penv['cshlib_PATTERN'] = '%s' + ext
-
- # Library
- ext = 'c'
- if lang != 'cc':
- ext = 'cpp'
-
- obj = bld.new_task_gen(lang, 'shlib')
- obj.env = penv
- obj.source = [ 'plugins/%s.lv2/%s.%s' % (name, name, ext) ]
- obj.includes = ['.', './ext']
- obj.name = name
- obj.target = name
- obj.install_path = '${LV2DIR}/' + name + '.lv2'
-
- if lang == 'cxx':
- obj.source += [ 'ext/lv2plugin.cpp' ]
-
- # Data
- data_file = 'plugins/%s.lv2/%s.ttl' % (name, name)
- manifest_file = 'plugins/%s.lv2/manifest.ttl' % (name)
- bld.install_files('${LV2DIR}/' + name + '.lv2', bld.path.ant_glob(data_file))
- bld.install_files('${LV2DIR}/' + name + '.lv2', bld.path.ant_glob(manifest_file))
-
def build_extension(bld, name, dir):
data_file = '%s/%s.lv2/%s.ttl' % (dir, name, name)
manifest_file = '%s/%s.lv2/manifest.ttl' % (dir, name)