diff options
author | David Robillard <d@drobilla.net> | 2012-03-15 21:59:27 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-03-15 21:59:27 +0000 |
commit | e5657ab8d82a6b40c535526b29c4c0fe40b828a6 (patch) | |
tree | 98996863e0efbd243bedd22031c364a811692a3d /wscript | |
parent | 441de5ce4490b85b9b5b329e3dcfc5f3b275077e (diff) | |
download | lilv-e5657ab8d82a6b40c535526b29c4c0fe40b828a6.tar.gz lilv-e5657ab8d82a6b40c535526b29c4c0fe40b828a6.tar.bz2 lilv-e5657ab8d82a6b40c535526b29c4c0fe40b828a6.zip |
Implement new LV2 discovery API.
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4062 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -77,6 +77,8 @@ def configure(conf): conf.env['BASH_COMPLETION'] = not Options.options.no_bash_completion autowaf.check_pkg(conf, 'lv2core', uselib_store='LV2CORE', mandatory=True) + autowaf.check_pkg(conf, 'lv2core', uselib_store='NEW_LV2CORE', + atleast_version='6.7', mandatory=False) autowaf.check_pkg(conf, 'serd-0', uselib_store='SERD', atleast_version='0.11.0', mandatory=True) autowaf.check_pkg(conf, 'sord-0', uselib_store='SORD', @@ -88,6 +90,9 @@ def configure(conf): autowaf.check_pkg(conf, 'lv2-lv2plug.in-ns-ext-urid', uselib_store='LV2_URID', mandatory=False) + if conf.is_defined('HAVE_NEW_LV2CORE'): + autowaf.define(conf, 'LILV_NEW_LV2', 1) + defines = ['_POSIX_C_SOURCE', '_BSD_SOURCE'] if Options.platform == 'darwin': defines += ['_DARWIN_C_SOURCE'] @@ -159,6 +164,8 @@ def configure(conf): bool(conf.env['LILV_DYN_MANIFEST'])) autowaf.display_msg(conf, "State/Preset support", conf.is_defined('HAVE_LV2_STATE')) + autowaf.display_msg(conf, "New LV2 discovery API support", + bool(conf.env['LILV_NEW_LV2'])) autowaf.display_msg(conf, "Python bindings", conf.is_defined('LILV_PYTHON')) @@ -187,6 +194,7 @@ sord-0 lib_source = ''' src/collections.c src/instance.c + src/lib.c src/node.c src/plugin.c src/pluginclass.c |