diff options
author | David Robillard <d@drobilla.net> | 2011-03-27 23:32:59 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-03-27 23:32:59 +0000 |
commit | d8eacb15c1afdf870386b51329af8c3544971133 (patch) | |
tree | 0d085672f0583e1d98c36eb20f27e495fd64eb54 | |
parent | dda3a620348fc0b0952f8b541a69f390f9356044 (diff) | |
download | mda.lv2-d8eacb15c1afdf870386b51329af8c3544971133.tar.gz mda.lv2-d8eacb15c1afdf870386b51329af8c3544971133.tar.bz2 mda.lv2-d8eacb15c1afdf870386b51329af8c3544971133.zip |
Fix Windows build
git-svn-id: http://svn.drobilla.net/lad/trunk/plugins/mdala.lv2@3127 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r-- | mdala.lv2/manifest.ttl.in (renamed from mdala.lv2/manifest.ttl) | 72 | ||||
-rw-r--r-- | wscript | 23 |
2 files changed, 55 insertions, 40 deletions
diff --git a/mdala.lv2/manifest.ttl b/mdala.lv2/manifest.ttl.in index 52495ac..aa4b156 100644 --- a/mdala.lv2/manifest.ttl +++ b/mdala.lv2/manifest.ttl.in @@ -5,180 +5,180 @@ <http://drobilla.net/plugins/mdala/Ambience> a lv2:Plugin ; rdfs:seeAlso <Ambience.ttl> ; - lv2:binary <Ambience.so> . + lv2:binary <Ambience@LIB_EXT@> . <http://drobilla.net/plugins/mdala/Bandisto> a lv2:Plugin ; rdfs:seeAlso <Bandisto.ttl> ; - lv2:binary <Bandisto.so> . + lv2:binary <Bandisto@LIB_EXT@> . <http://drobilla.net/plugins/mdala/BeatBox> a lv2:Plugin ; rdfs:seeAlso <BeatBox.ttl> ; - lv2:binary <BeatBox.so> . + lv2:binary <BeatBox@LIB_EXT@> . <http://drobilla.net/plugins/mdala/Combo> a lv2:Plugin ; rdfs:seeAlso <Combo.ttl> ; - lv2:binary <Combo.so> . + lv2:binary <Combo@LIB_EXT@> . #<http://drobilla.net/plugins/mdala/DX10> # a lv2:Plugin ; # rdfs:seeAlso <DX10.ttl> ; -# lv2:binary <DX10.so> . +# lv2:binary <DX10@LIB_EXT@> . <http://drobilla.net/plugins/mdala/DeEss> a lv2:Plugin ; rdfs:seeAlso <DeEss.ttl> ; - lv2:binary <DeEss.so> . + lv2:binary <DeEss@LIB_EXT@> . <http://drobilla.net/plugins/mdala/Degrade> a lv2:Plugin ; rdfs:seeAlso <Degrade.ttl> ; - lv2:binary <Degrade.so> . + lv2:binary <Degrade@LIB_EXT@> . <http://drobilla.net/plugins/mdala/Delay> a lv2:Plugin ; rdfs:seeAlso <Delay.ttl> ; - lv2:binary <Delay.so> . + lv2:binary <Delay@LIB_EXT@> . <http://drobilla.net/plugins/mdala/Detune> a lv2:Plugin ; rdfs:seeAlso <Detune.ttl> ; - lv2:binary <Detune.so> . + lv2:binary <Detune@LIB_EXT@> . <http://drobilla.net/plugins/mdala/Dither> a lv2:Plugin ; rdfs:seeAlso <Dither.ttl> ; - lv2:binary <Dither.so> . + lv2:binary <Dither@LIB_EXT@> . <http://drobilla.net/plugins/mdala/DubDelay> a lv2:Plugin ; rdfs:seeAlso <DubDelay.ttl> ; - lv2:binary <DubDelay.so> . + lv2:binary <DubDelay@LIB_EXT@> . <http://drobilla.net/plugins/mdala/Dynamics> a lv2:Plugin ; rdfs:seeAlso <Dynamics.ttl> ; - lv2:binary <Dynamics.so> . + lv2:binary <Dynamics@LIB_EXT@> . #<http://drobilla.net/plugins/mdala/EPiano> # a lv2:Plugin ; # rdfs:seeAlso <EPiano.ttl> ; -# lv2:binary <EPiano.so> . +# lv2:binary <EPiano@LIB_EXT@> . <http://drobilla.net/plugins/mdala/Image> a lv2:Plugin ; rdfs:seeAlso <Image.ttl> ; - lv2:binary <Image.so> . + lv2:binary <Image@LIB_EXT@> . #<http://drobilla.net/plugins/mdala/JX10> # a lv2:Plugin ; # rdfs:seeAlso <JX10.ttl> ; -# lv2:binary <JX10.so> . +# lv2:binary <JX10@LIB_EXT@> . <http://drobilla.net/plugins/mdala/Leslie> a lv2:Plugin ; rdfs:seeAlso <Leslie.ttl> ; - lv2:binary <Leslie.so> . + lv2:binary <Leslie@LIB_EXT@> . <http://drobilla.net/plugins/mdala/Limiter> a lv2:Plugin ; rdfs:seeAlso <Limiter.ttl> ; - lv2:binary <Limiter.so> . + lv2:binary <Limiter@LIB_EXT@> . <http://drobilla.net/plugins/mdala/Loudness> a lv2:Plugin ; rdfs:seeAlso <Loudness.ttl> ; - lv2:binary <Loudness.so> . + lv2:binary <Loudness@LIB_EXT@> . <http://drobilla.net/plugins/mdala/MultiBand> a lv2:Plugin ; rdfs:seeAlso <MultiBand.ttl> ; - lv2:binary <MultiBand.so> . + lv2:binary <MultiBand@LIB_EXT@> . <http://drobilla.net/plugins/mdala/Overdrive> a lv2:Plugin ; rdfs:seeAlso <Overdrive.ttl> ; - lv2:binary <Overdrive.so> . + lv2:binary <Overdrive@LIB_EXT@> . #<http://drobilla.net/plugins/mdala/Piano> # a lv2:Plugin ; # rdfs:seeAlso <Piano.ttl> ; -# lv2:binary <Piano.so> . +# lv2:binary <Piano@LIB_EXT@> . <http://drobilla.net/plugins/mdala/RePsycho> a lv2:Plugin ; rdfs:seeAlso <RePsycho.ttl> ; - lv2:binary <RePsycho.so> . + lv2:binary <RePsycho@LIB_EXT@> . <http://drobilla.net/plugins/mdala/RezFilter> a lv2:Plugin ; rdfs:seeAlso <RezFilter.ttl> ; - lv2:binary <RezFilter.so> . + lv2:binary <RezFilter@LIB_EXT@> . <http://drobilla.net/plugins/mdala/RingMod> a lv2:Plugin ; rdfs:seeAlso <RingMod.ttl> ; - lv2:binary <RingMod.so> . + lv2:binary <RingMod@LIB_EXT@> . <http://drobilla.net/plugins/mdala/RoundPan> a lv2:Plugin ; rdfs:seeAlso <RoundPan.ttl> ; - lv2:binary <RoundPan.so> . + lv2:binary <RoundPan@LIB_EXT@> . <http://drobilla.net/plugins/mdala/Shepard> a lv2:Plugin ; rdfs:seeAlso <Shepard.ttl> ; - lv2:binary <Shepard.so> . + lv2:binary <Shepard@LIB_EXT@> . <http://drobilla.net/plugins/mdala/Splitter> a lv2:Plugin ; rdfs:seeAlso <Splitter.ttl> ; - lv2:binary <Splitter.so> . + lv2:binary <Splitter@LIB_EXT@> . <http://drobilla.net/plugins/mdala/Stereo> a lv2:Plugin ; rdfs:seeAlso <Stereo.ttl> ; - lv2:binary <Stereo.so> . + lv2:binary <Stereo@LIB_EXT@> . <http://drobilla.net/plugins/mdala/SubSynth> a lv2:Plugin ; rdfs:seeAlso <SubSynth.ttl> ; - lv2:binary <SubSynth.so> . + lv2:binary <SubSynth@LIB_EXT@> . <http://drobilla.net/plugins/mdala/TalkBox> a lv2:Plugin ; rdfs:seeAlso <TalkBox.ttl> ; - lv2:binary <TalkBox.so> . + lv2:binary <TalkBox@LIB_EXT@> . <http://drobilla.net/plugins/mdala/TestTone> a lv2:Plugin ; rdfs:seeAlso <TestTone.ttl> ; - lv2:binary <TestTone.so> . + lv2:binary <TestTone@LIB_EXT@> . <http://drobilla.net/plugins/mdala/ThruZero> a lv2:Plugin ; rdfs:seeAlso <ThruZero.ttl> ; - lv2:binary <ThruZero.so> . + lv2:binary <ThruZero@LIB_EXT@> . <http://drobilla.net/plugins/mdala/Tracker> a lv2:Plugin ; rdfs:seeAlso <Tracker.ttl> ; - lv2:binary <Tracker.so> . + lv2:binary <Tracker@LIB_EXT@> . <http://drobilla.net/plugins/mdala/Transient> a lv2:Plugin ; rdfs:seeAlso <Transient.ttl> ; - lv2:binary <Transient.so> . + lv2:binary <Transient@LIB_EXT@> . <http://drobilla.net/plugins/mdala/VocInput> a lv2:Plugin ; rdfs:seeAlso <VocInput.ttl> ; - lv2:binary <VocInput.so> . + lv2:binary <VocInput@LIB_EXT@> . <http://drobilla.net/plugins/mdala/Vocoder> a lv2:Plugin ; rdfs:seeAlso <Vocoder.ttl> ; - lv2:binary <Vocoder.so> . + lv2:binary <Vocoder@LIB_EXT@> . @@ -1,5 +1,6 @@ #!/usr/bin/env python import os +import shutil from waflib.extras import autowaf as autowaf # Version of this package (even if built as a child) @@ -31,7 +32,10 @@ def configure(conf): if pat[0:3] == 'lib': pat = pat[3:] conf.env['pluginlib_PATTERN'] = pat + conf.env['pluginlib_EXT'] = pat[pat.rfind('.'):] + autowaf.display_msg(conf, "LV2 bundle directory", + conf.env['LV2DIR']) print('') def build_plugin(bld, lang, bundle, name, source, cflags=[], libs=[]): @@ -57,12 +61,25 @@ def build_plugin(bld, lang, bundle, name, source, cflags=[], libs=[]): def build(bld): # Copy data files to build bundle (build/mdala.lv2) - for i in bld.path.ant_glob('mdala.lv2/*.ttl'): - bld(rule = 'cp ${SRC} ${TGT}', + def do_copy(task): + src = task.inputs[0].abspath() + tgt = task.outputs[0].abspath() + return shutil.copy(src, tgt) + #cmd = 'cp %s %s' % (src, tgt) + #return task.exec_command(cmd) + + for i in bld.path.ant_glob('mdala.lv2/[A-Z]*.ttl'): + bld(rule = do_copy, source = i, target = bld.path.get_bld().make_node('mdala.lv2/%s' % i), install_path = '${LV2DIR}/mdala.lv2') + bld(features = 'subst', + source = 'mdala.lv2/manifest.ttl.in', + target = bld.path.get_bld().make_node('mdala.lv2/manifest.ttl'), + LIB_EXT = bld.env['pluginlib_EXT'], + install_path = '${LV2DIR}/mdala.lv2') + plugins = ''' Ambience Bandisto @@ -111,5 +128,3 @@ def build(bld): '-DPLUGIN_URI_SUFFIX="%s"' % i, '-DPLUGIN_HEADER="src/mda%s.h"' % i]) - bld.install_files('${LV2DIR}/mdala.lv2', 'mdala.lv2/manifest.ttl') - |