summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-03-26 03:58:21 +0000
committerDavid Robillard <d@drobilla.net>2012-03-26 03:58:21 +0000
commit15c291b3dd247dd30141b40a3d204f47aa7bc1af (patch)
tree2b12389ad4009c82c9e8820fc5cf07104f820aee /wscript
parent6d02219044cbafc072c0eed93ce65eddc17b0961 (diff)
downloadsuil-15c291b3dd247dd30141b40a3d204f47aa7bc1af.tar.gz
suil-15c291b3dd247dd30141b40a3d204f47aa7bc1af.tar.bz2
suil-15c291b3dd247dd30141b40a3d204f47aa7bc1af.zip
Update for latest LV2.
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@4106 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r--wscript9
1 files changed, 2 insertions, 7 deletions
diff --git a/wscript b/wscript
index 75f52ec..c41aacd 100644
--- a/wscript
+++ b/wscript
@@ -42,12 +42,7 @@ def configure(conf):
conf.env.append_unique('CFLAGS', '-std=c99')
- autowaf.check_pkg(conf, 'lv2-lv2plug.in-ns-extensions-ui', uselib_store='LV2_UI')
- autowaf.check_pkg(conf, 'lv2-lv2plug.in-ns-ext-ui-resize',
- uselib_store='LV2_UI_RESIZE', mandatory=False)
-
- if conf.env['HAVE_LV2_UI_RESIZE']:
- autowaf.define(conf, 'HAVE_LV2_UI_RESIZE', 1)
+ autowaf.check_pkg(conf, 'lv2', atleast_version='0.1.0', uselib_store='LV2')
autowaf.check_pkg(conf, 'gtk+-2.0', uselib_store='GTK2',
atleast_version='2.18.0', mandatory=False)
@@ -108,7 +103,7 @@ def build(bld):
install_path = '${LIBDIR}',
cflags = cflags,
lib = lib,
- uselib = 'LV2_UI')
+ uselib = 'LV2')
if bld.is_defined('HAVE_GTK2') and bld.is_defined('HAVE_QT4'):
obj = bld(features = 'cxx cxxshlib',