summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-03-01 06:39:57 +0000
committerDavid Robillard <d@drobilla.net>2012-03-01 06:39:57 +0000
commit6408ee7d93ed041a053627e3506c444e215654d4 (patch)
treeda8888efd3d243018e9d56e09a60ef0aecfb5c01 /wscript
parent6e4c4ee8a1fccebedf48b750151a258a559fc50b (diff)
downloadsratom-6408ee7d93ed041a053627e3506c444e215654d4.tar.gz
sratom-6408ee7d93ed041a053627e3506c444e215654d4.tar.bz2
sratom-6408ee7d93ed041a053627e3506c444e215654d4.zip
Implement Turtle reading (except for atom:Vector).
git-svn-id: http://svn.drobilla.net/lad/trunk/sratom@4006 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r--wscript15
1 files changed, 11 insertions, 4 deletions
diff --git a/wscript b/wscript
index 6253af7..b8798f4 100644
--- a/wscript
+++ b/wscript
@@ -37,6 +37,7 @@ def options(opt):
def configure(conf):
conf.load('compiler_c')
+ conf.line_just = 41
autowaf.configure(conf)
autowaf.display_header('Sratom Configuration')
@@ -54,8 +55,14 @@ 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, 'serd-0', uselib_store='SERD',
atleast_version='0.10.0', mandatory=True)
+ autowaf.check_pkg(conf, 'sord-0', uselib_store='SORD',
+ atleast_version='0.5.0', mandatory=True)
autowaf.define(conf, 'SRATOM_VERSION', SRATOM_VERSION)
conf.write_config_header('sratom_config.h', remove=False)
@@ -72,7 +79,7 @@ def build(bld):
# Pkgconfig file
autowaf.build_pc(bld, 'SRATOM', SRATOM_VERSION, SRATOM_MAJOR_VERSION,
- 'SERD',
+ ['SERD', 'SORD'],
{'SRATOM_MAJOR_VERSION' : SRATOM_MAJOR_VERSION})
libflags = [ '-fvisibility=hidden' ]
@@ -93,7 +100,7 @@ def build(bld):
install_path = '${LIBDIR}',
cflags = libflags + [ '-DSRATOM_SHARED',
'-DSRATOM_INTERNAL' ])
- autowaf.use_lib(bld, obj, 'SERD')
+ autowaf.use_lib(bld, obj, 'SERD SORD')
# Static library
if bld.env['BUILD_STATIC']:
@@ -107,7 +114,7 @@ def build(bld):
vnum = SRATOM_LIB_VERSION,
install_path = '${LIBDIR}',
cflags = ['-DSRATOM_INTERNAL'])
- autowaf.use_lib(bld, obj, 'SERD')
+ autowaf.use_lib(bld, obj, 'SERD SORD')
if bld.env['BUILD_TESTS']:
test_libs = libs
@@ -125,7 +132,7 @@ def build(bld):
target = 'sratom_profiled',
install_path = '',
cflags = test_cflags + ['-DSRATOM_INTERNAL'])
- autowaf.use_lib(bld, obj, 'SERD')
+ autowaf.use_lib(bld, obj, 'SERD SORD')
# Unit test program
obj = bld(features = 'c cprogram',