diff options
author | David Robillard <d@drobilla.net> | 2012-03-23 01:26:47 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-03-23 01:26:47 +0000 |
commit | 5ef77d9bd9b102c76dbef24fbcd006c4534e9fc1 (patch) | |
tree | 37c43c211e7ba050535f2c6e4130685fdbff2bc2 /plugins/eg-sampler.lv2/wscript | |
parent | f161f400ce62326142f7ea5f613032f230d0d795 (diff) | |
download | lv2-5ef77d9bd9b102c76dbef24fbcd006c4534e9fc1.tar.xz |
Add worker extension to remove thread stuff from plugins.
Diffstat (limited to 'plugins/eg-sampler.lv2/wscript')
-rw-r--r-- | plugins/eg-sampler.lv2/wscript | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/plugins/eg-sampler.lv2/wscript b/plugins/eg-sampler.lv2/wscript index c25b28d..1f3ec04 100644 --- a/plugins/eg-sampler.lv2/wscript +++ b/plugins/eg-sampler.lv2/wscript @@ -31,6 +31,8 @@ def configure(conf): uselib_store='LV2_PATCH') autowaf.check_pkg(conf, 'lv2-lv2plug.in-ns-ext-state', uselib_store='LV2_STATE') + autowaf.check_pkg(conf, 'lv2-lv2plug.in-ns-ext-worker', + uselib_store='LV2_WORKER') conf.check(function_name='mlock', header_name='sys/mman.h', @@ -85,11 +87,11 @@ def build(bld): # Build plugin library obj = bld(features = 'c cshlib', env = penv, - source = ['sampler.c', 'zix/ring.c'], + source = ['sampler.c'], name = 'sampler', target = '%s/sampler' % bundle, install_path = '${LV2DIR}/%s' % bundle, - use = 'SNDFILE LV2CORE LV2_URID LV2_ATOM LV2_STATE LV2_MESSAGE', + use = 'SNDFILE LV2CORE LV2_URID LV2_ATOM LV2_STATE LV2_PATCH LV2_WORKER', includes = includes) # Build UI library @@ -100,6 +102,6 @@ def build(bld): name = 'sampler_ui', target = '%s/sampler_ui' % bundle, install_path = '${LV2DIR}/%s' % bundle, - use = 'GTK2 LV2CORE LV2_URID LV2_ATOM LV2_STATE LV2_MESSAGE', + use = 'GTK2 LV2CORE LV2_URID LV2_ATOM LV2_PATCH', includes = includes) |