summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-02-04 02:44:07 +0000
committerDavid Robillard <d@drobilla.net>2011-02-04 02:44:07 +0000
commitcc61578f0f1417aba3c6d147d164bc644541372b (patch)
treedae833664026ff4de6e158ce4b4f038cbd8d18cd /wscript
parentb0c49632a5ee21d4ea35d0ae6160910fd35d68f3 (diff)
downloadlilv-cc61578f0f1417aba3c6d147d164bc644541372b.tar.gz
lilv-cc61578f0f1417aba3c6d147d164bc644541372b.tar.bz2
lilv-cc61578f0f1417aba3c6d147d164bc644541372b.zip
Replace use of raptor (for raptor_sequence) with glib.
SLV2 now depends only on serd, sord, and glib. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2903 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r--wscript9
1 files changed, 5 insertions, 4 deletions
diff --git a/wscript b/wscript
index 19904ae..9adf0aa 100644
--- a/wscript
+++ b/wscript
@@ -59,7 +59,8 @@ def configure(conf):
autowaf.display_header('SLV2 Configuration')
conf.check_tool('compiler_cc')
autowaf.check_pkg(conf, 'lv2core', uselib_store='LV2CORE', mandatory=True)
- autowaf.check_pkg(conf, 'raptor', uselib_store='RAPTOR', mandatory=True)
+ autowaf.check_pkg(conf, 'glib-2.0', uselib_store='GLIB',
+ atleast_version='2.0.0', mandatory=True)
autowaf.check_pkg(conf, 'serd', uselib_store='SERD',
atleast_version='0.1.0', mandatory=True)
autowaf.check_pkg(conf, 'sord', uselib_store='SORD',
@@ -109,7 +110,7 @@ def build(bld):
bld.install_files('${INCLUDEDIR}/slv2', bld.path.ant_glob('slv2/*.h'))
# Pkgconfig file
- autowaf.build_pc(bld, 'SLV2', SLV2_VERSION, ['SORD','RAPTOR'])
+ autowaf.build_pc(bld, 'SLV2', SLV2_VERSION, ['SORD','GLIB'])
lib_source = '''
src/collections.c
@@ -138,7 +139,7 @@ def build(bld):
obj.install_path = '${LIBDIR}'
obj.cflags = [ '-fvisibility=hidden', '-DSLV2_SHARED', '-DSLV2_INTERNAL' ]
obj.linkflags = [ '-ldl' ]
- autowaf.use_lib(bld, obj, 'SORD SERD LV2CORE RAPTOR')
+ autowaf.use_lib(bld, obj, 'SORD SERD LV2CORE GLIB')
if bld.env['BUILD_TESTS']:
# Static library (for unit test code coverage)
@@ -149,7 +150,7 @@ def build(bld):
obj.target = 'slv2_static'
obj.install_path = ''
obj.cflags = [ '-fprofile-arcs', '-ftest-coverage' ]
- autowaf.use_lib(bld, obj, 'SORD SERD LV2CORE RAPTOR')
+ autowaf.use_lib(bld, obj, 'SORD SERD LV2CORE GLIB')
# Unit tests
for i in tests.split():