summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-02-24 01:31:49 +0000
committerDavid Robillard <d@drobilla.net>2011-02-24 01:31:49 +0000
commit5a7ed3f46fa2e0151a0f403824ae3a7df10a6c34 (patch)
treee3784b267aabde08776650a50691a43f6290a9c9 /wscript
parent468edb7f7be73505a4a73590443e3c8655ce1b82 (diff)
downloadlilv-5a7ed3f46fa2e0151a0f403824ae3a7df10a6c34.tar.gz
lilv-5a7ed3f46fa2e0151a0f403824ae3a7df10a6c34.tar.bz2
lilv-5a7ed3f46fa2e0151a0f403824ae3a7df10a6c34.zip
Move UI stuff back into slv2.h (avoid breakage).
Deprecate slv2_ui_instance_get_descriptor and slv2_ui_instance_get_handle. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@3020 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r--wscript16
1 files changed, 3 insertions, 13 deletions
diff --git a/wscript b/wscript
index ada28d9..b2073d2 100644
--- a/wscript
+++ b/wscript
@@ -92,11 +92,7 @@ def configure(conf):
atleast_version='0.120.0', mandatory=False)
autowaf.check_header(conf, 'lv2/lv2plug.in/ns/lv2core/lv2.h')
- autowaf.check_header(conf, 'lv2/lv2plug.in/ns/extensions/ui/ui.h',
- 'HAVE_UI_H')
-
- if conf.env['HAVE_UI_H']:
- autowaf.define(conf, 'SLV2_WITH_UI', 1)
+ autowaf.check_header(conf, 'lv2/lv2plug.in/ns/extensions/ui/ui.h')
if not Options.options.no_jack_session:
if conf.env['HAVE_NEW_JACK'] and conf.env['HAVE_GTHREAD']:
@@ -165,8 +161,6 @@ def configure(conf):
bool(conf.env['BUILD_TESTS']))
autowaf.display_msg(conf, "Dynamic manifest support",
bool(conf.env['SLV2_DYN_MANIFEST']))
- autowaf.display_msg(conf, "UI support",
- bool(conf.env['SLV2_WITH_UI']))
autowaf.display_msg(conf, "Python bindings",
bool(conf.env['SLV2_SWIG']))
print
@@ -185,6 +179,8 @@ def build(bld):
src/pluginclass.c
src/plugininstance.c
src/plugins.c
+ src/pluginui.c
+ src/pluginuiinstance.c
src/port.c
src/query.c
src/scalepoint.c
@@ -193,12 +189,6 @@ def build(bld):
src/world.c
'''.split()
- if bld.env['SLV2_WITH_UI']:
- lib_source += '''
- src/pluginui.c
- src/pluginuiinstance.c
- '''.split()
-
# Library
obj = bld(features = 'c cshlib')
obj.export_includes = ['.']