aboutsummaryrefslogtreecommitdiffstats
path: root/ext/cv-port.lv2/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-09-25 21:46:02 +0000
committerDavid Robillard <d@drobilla.net>2011-09-25 21:46:02 +0000
commit8de1a3f5e38c7c8bc02f8e1efe59e680d0349ee2 (patch)
treece4a9ffaa8a55605a976f19e218eb0deb3cb11c1 /ext/cv-port.lv2/wscript
parent9a68f8cf57e0bbed4ebbfb28c9bcf72672f64bee (diff)
downloadlv2-8de1a3f5e38c7c8bc02f8e1efe59e680d0349ee2.tar.xz
Add CV Port extension.
Diffstat (limited to 'ext/cv-port.lv2/wscript')
-rw-r--r--ext/cv-port.lv2/wscript33
1 files changed, 33 insertions, 0 deletions
diff --git a/ext/cv-port.lv2/wscript b/ext/cv-port.lv2/wscript
new file mode 100644
index 0000000..9823edd
--- /dev/null
+++ b/ext/cv-port.lv2/wscript
@@ -0,0 +1,33 @@
+#!/usr/bin/env python
+from waflib.extras import autowaf as autowaf
+import waflib.Logs as Logs
+
+# Variables for 'waf dist'
+APPNAME = 'lv2-event'
+VERSION = '1.2'
+
+# Mandatory variables
+top = '.'
+out = 'build'
+
+def options(opt):
+ autowaf.set_options(opt)
+
+def configure(conf):
+ autowaf.configure(conf)
+ autowaf.display_msg(conf, "LV2 bundle directory",
+ conf.env['LV2DIR'])
+ print('')
+
+def build(bld):
+ bld.install_files('${LV2DIR}/event.lv2',
+ bld.path.ant_glob('*.*'))
+
+ bld.add_post_fun(warn_lv2config)
+
+def warn_lv2config(ctx):
+ if ctx.cmd == 'install':
+ Logs.warn('''
+* LV2 Extension Installed
+* You need to run lv2config to update extension headers
+''')