diff options
author | David Robillard <d@drobilla.net> | 2011-05-26 18:31:38 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-05-26 18:31:38 +0000 |
commit | c5fbe4f325056f3bc0c7b673ea52e9f18c1a1d13 (patch) | |
tree | 2a6798cd72b71b78c71332ab3d7d4fd7a497d0e2 | |
parent | 8a06913a03df9a37712be34899eb0012aec4b9dd (diff) | |
download | lv2-c5fbe4f325056f3bc0c7b673ea52e9f18c1a1d13.tar.xz |
Add build stuff
l--------- | ext/event.lv2/waf | 1 | ||||
-rw-r--r-- | ext/event.lv2/wscript | 33 |
2 files changed, 34 insertions, 0 deletions
diff --git a/ext/event.lv2/waf b/ext/event.lv2/waf new file mode 120000 index 0000000..59a1ac9 --- /dev/null +++ b/ext/event.lv2/waf @@ -0,0 +1 @@ +../../waf
\ No newline at end of file diff --git a/ext/event.lv2/wscript b/ext/event.lv2/wscript new file mode 100644 index 0000000..22d4cbe --- /dev/null +++ b/ext/event.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', + 'event.ttl event.h event-helpers.h manifest.ttl') + + 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 +''') |