summaryrefslogtreecommitdiffstats
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
commit36278669b9525d25e0e721713e20a91e26761d93 (patch)
tree992035b8b0138ca174cb4a2cd35b08260b44c5a7
parentf573bee9b2cee4e15d2fbbfc42ad9672f81749e7 (diff)
downloadsratom-36278669b9525d25e0e721713e20a91e26761d93.tar.gz
sratom-36278669b9525d25e0e721713e20a91e26761d93.tar.bz2
sratom-36278669b9525d25e0e721713e20a91e26761d93.zip
Update for latest LV2.
git-svn-id: http://svn.drobilla.net/lad/trunk/sratom@4106 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--wscript13
1 files changed, 5 insertions, 8 deletions
diff --git a/wscript b/wscript
index 32e1cd1..03a9aee 100644
--- a/wscript
+++ b/wscript
@@ -55,10 +55,7 @@ def configure(conf):
define_name='HAVE_GCOV',
mandatory=False)
- autowaf.check_pkg(conf, 'lv2-lv2plug.in-ns-ext-atom',
- uselib_store='LV2_ATOM', mandatory=True)
- autowaf.check_pkg(conf, 'lv2-lv2plug.in-ns-ext-urid',
- uselib_store='LV2_URID', mandatory=True)
+ autowaf.check_pkg(conf, 'lv2', atleast_version='0.1.0', uselib_store='LV2')
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',
@@ -79,7 +76,7 @@ def build(bld):
# Pkgconfig file
autowaf.build_pc(bld, 'SRATOM', SRATOM_VERSION, SRATOM_MAJOR_VERSION,
- ['SERD', 'SORD', 'LV2_ATOM', 'LV2_URID'],
+ ['SERD', 'SORD', 'LV2'],
{'SRATOM_MAJOR_VERSION' : SRATOM_MAJOR_VERSION})
libflags = [ '-fvisibility=hidden' ]
@@ -100,7 +97,7 @@ def build(bld):
install_path = '${LIBDIR}',
cflags = libflags + [ '-DSRATOM_SHARED',
'-DSRATOM_INTERNAL' ])
- autowaf.use_lib(bld, obj, 'SERD SORD LV2_ATOM LV2_URID')
+ autowaf.use_lib(bld, obj, 'SERD SORD LV2')
# Static library
if bld.env['BUILD_STATIC']:
@@ -114,7 +111,7 @@ def build(bld):
vnum = SRATOM_LIB_VERSION,
install_path = '${LIBDIR}',
cflags = ['-DSRATOM_INTERNAL'])
- autowaf.use_lib(bld, obj, 'SERD SORD LV2_ATOM LV2_URID')
+ autowaf.use_lib(bld, obj, 'SERD SORD LV2')
if bld.env['BUILD_TESTS']:
test_libs = libs
@@ -132,7 +129,7 @@ def build(bld):
target = 'sratom_profiled',
install_path = '',
cflags = test_cflags + ['-DSRATOM_INTERNAL'])
- autowaf.use_lib(bld, obj, 'SERD SORD LV2_ATOM LV2_URID')
+ autowaf.use_lib(bld, obj, 'SERD SORD LV2')
# Unit test program
obj = bld(features = 'c cprogram',