summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-02-24 09:00:54 +0000
committerDavid Robillard <d@drobilla.net>2011-02-24 09:00:54 +0000
commit25bd8988fb82e6132ae6c1b87e6d0b8087d61f1b (patch)
tree63d8b4a0a69c07d012af30b711a0a9cb80a160e6 /wscript
parent5a7ed3f46fa2e0151a0f403824ae3a7df10a6c34 (diff)
downloadlilv-25bd8988fb82e6132ae6c1b87e6d0b8087d61f1b.tar.gz
lilv-25bd8988fb82e6132ae6c1b87e6d0b8087d61f1b.tar.bz2
lilv-25bd8988fb82e6132ae6c1b87e6d0b8087d61f1b.zip
Make Suil exclusively deal with instantiating (not choosing) UIs.
Add slv2_ui_instance_new as a replacement for slv2_ui_instantiate (now deprecated), which supports cross-toolkit embedding by taking an additional widget type pointer. Remove direct Suil dependency from Ingen. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@3022 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r--wscript11
1 files changed, 8 insertions, 3 deletions
diff --git a/wscript b/wscript
index b2073d2..5ca6ec0 100644
--- a/wscript
+++ b/wscript
@@ -89,7 +89,9 @@ def configure(conf):
autowaf.check_pkg(conf, 'jack', uselib_store='JACK',
atleast_version='0.107.0', mandatory=False)
autowaf.check_pkg(conf, 'jack', uselib_store='NEW_JACK',
- atleast_version='0.120.0', mandatory=False)
+ atleast_version='0.120.0', mandatory=False)
+ autowaf.check_pkg(conf, 'suil', uselib_store='SUIL',
+ atleast_version='0.0.0', mandatory=True)
autowaf.check_header(conf, 'lv2/lv2plug.in/ns/lv2core/lv2.h')
autowaf.check_header(conf, 'lv2/lv2plug.in/ns/extensions/ui/ui.h')
@@ -163,6 +165,9 @@ def configure(conf):
bool(conf.env['SLV2_DYN_MANIFEST']))
autowaf.display_msg(conf, "Python bindings",
bool(conf.env['SLV2_SWIG']))
+ autowaf.display_msg(conf, "UI wrapping support (via Suil)",
+ bool(conf.env['HAVE_SUIL']))
+
print
def build(bld):
@@ -200,7 +205,7 @@ def build(bld):
obj.install_path = '${LIBDIR}'
obj.cflags = [ '-fvisibility=hidden', '-DSLV2_SHARED', '-DSLV2_INTERNAL' ]
obj.linkflags = [ '-ldl' ]
- autowaf.use_lib(bld, obj, 'SORD SERD LV2CORE GLIB')
+ autowaf.use_lib(bld, obj, 'SORD SERD LV2CORE GLIB SUIL')
if bld.env['BUILD_TESTS']:
# Static library (for unit test code coverage)
@@ -212,7 +217,7 @@ def build(bld):
obj.install_path = ''
obj.cflags = [ '-fprofile-arcs', '-ftest-coverage' ]
obj.linkflags = [ '-ldl' ]
- autowaf.use_lib(bld, obj, 'SORD SERD LV2CORE GLIB')
+ autowaf.use_lib(bld, obj, 'SORD SERD LV2CORE GLIB SUIL')
# Unit test program
obj = bld(features = 'c cprogram')