diff options
author | David Robillard <d@drobilla.net> | 2013-02-23 03:07:31 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2013-02-23 03:07:31 +0000 |
commit | 0fcfb78675cfa596d84f5ca47d9f4d6edb366266 (patch) | |
tree | 44d44b24ce7d8caace3f98ac1b6767d288af2898 /wscript | |
parent | 6d5085640d4fa0648fd8f0d1971f4500570431f8 (diff) | |
download | mda.lv2-0fcfb78675cfa596d84f5ca47d9f4d6edb366266.tar.gz mda.lv2-0fcfb78675cfa596d84f5ca47d9f4d6edb366266.tar.bz2 mda.lv2-0fcfb78675cfa596d84f5ca47d9f4d6edb366266.zip |
Fix tuning of Piano and EPiano at sample rates other than 44.1 kHz.
git-svn-id: http://svn.drobilla.net/lad/trunk/plugins/mda.lv2@5068 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 15 |
1 files changed, 5 insertions, 10 deletions
@@ -4,7 +4,7 @@ import re import shutil import waflib.extras.autowaf as autowaf -MDA_VERSION = '1.0.0' +MDA_VERSION = '1.1.0' # Mandatory waf variables APPNAME = 'MDA' # Package name for waf dist @@ -31,16 +31,11 @@ def configure(conf): def build(bld): bundle = 'mda.lv2' - # Copy data files to build bundle (build/mda.lv2) - def do_copy(task): - src = task.inputs[0].abspath() - tgt = task.outputs[0].abspath() - return shutil.copy(src, tgt) - for i in bld.path.ant_glob('mda.lv2/[A-Z]*.ttl'): - bld(rule = do_copy, - source = i, - target = bld.path.get_bld().make_node('mda.lv2/%s' % i), + bld(features = 'subst', + is_copy = True, + source = i, + target = bld.path.get_bld().make_node('mda.lv2/%s' % i), install_path = '${LV2DIR}/mda.lv2') # Make a pattern for shared objects without the 'lib' prefix |