summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-02-22 07:57:57 +0000
committerDavid Robillard <d@drobilla.net>2011-02-22 07:57:57 +0000
commit0963d40dec95931690ed05585443807cae3d630e (patch)
tree3d1f8d27c71afb11eb3a1f77ac2c747cdddcf92d /wscript
parent9a1bee9a46afb11c7c0ec4c70d12d986a81d6021 (diff)
downloadingen-0963d40dec95931690ed05585443807cae3d630e.tar.gz
ingen-0963d40dec95931690ed05585443807cae3d630e.tar.bz2
ingen-0963d40dec95931690ed05585443807cae3d630e.zip
Implement LV2 plugin UIs via Suil.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3011 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r--wscript11
1 files changed, 7 insertions, 4 deletions
diff --git a/wscript b/wscript
index eb9da81a..eda657ce 100644
--- a/wscript
+++ b/wscript
@@ -51,6 +51,8 @@ def configure(conf):
atleast_version='0.120.0', mandatory=False)
autowaf.check_pkg(conf, 'slv2', uselib_store='SLV2',
atleast_version='0.6.0', mandatory=True)
+ autowaf.check_pkg(conf, 'suil', uselib_store='SUIL',
+ atleast_version='0.0.0', mandatory=True)
autowaf.check_pkg(conf, 'raul', uselib_store='RAUL',
atleast_version='0.6.2', mandatory=True)
autowaf.check_pkg(conf, 'flowcanvas', uselib_store='FLOWCANVAS',
@@ -95,10 +97,10 @@ def configure(conf):
else:
autowaf.define(conf, 'INGEN_DATA_DIR', os.path.join(conf.env['DATADIR'], 'ingen'))
autowaf.define(conf, 'INGEN_MODULE_DIR', conf.env['LIBDIR'])
-
+
if Options.options.log_debug:
autowaf.define(conf, 'RAUL_LOG_DEBUG', 1)
-
+
if Options.options.liblo_bundles:
autowaf.define(conf, 'LIBLO_BUNDLES', 1)
@@ -110,6 +112,7 @@ def configure(conf):
autowaf.display_msg(conf, "OSC", str(conf.env['HAVE_LIBLO'] == 1))
autowaf.display_msg(conf, "HTTP", str(conf.env['HAVE_SOUP'] == 1))
autowaf.display_msg(conf, "LV2", str(conf.env['HAVE_SLV2'] == 1))
+ autowaf.display_msg(conf, "LV2 UI", str(conf.env['HAVE_SUIL'] == 1))
autowaf.display_msg(conf, "GUI", str(conf.env['INGEN_BUILD_GUI'] == 1))
print
@@ -117,7 +120,7 @@ def build(bld):
opts = Options.options
opts.datadir = opts.datadir or bld.env['PREFIX'] + 'share'
opts.moduledir = opts.moduledir or bld.env['PREFIX'] + 'lib/ingen'
-
+
# Headers
bld.install_files('${INCLUDEDIR}/ingen/interface',
bld.path.ant_glob('src/common/interface/*.hpp'))
@@ -140,7 +143,7 @@ def build(bld):
obj.defines = 'VERSION="' + bld.env['INGEN_VERSION'] + '"'
obj.use = 'libingen_module libingen_shared'
obj.install_path = '${BINDIR}'
- autowaf.use_lib(bld, obj, 'GTHREAD GLIBMM SORD RAUL LV2CORE SLV2 INGEN LIBLO SOUP')
+ autowaf.use_lib(bld, obj, 'GTHREAD GLIBMM SORD RAUL LV2CORE SLV2 SUIL INGEN LIBLO SOUP')
bld.install_files('${DATADIR}/applications', 'src/ingen/ingen.desktop')