diff options
author | David Robillard <d@drobilla.net> | 2011-10-19 01:27:41 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-10-19 01:27:41 +0000 |
commit | fbe2a2bc8380db54c2315d50475a643a00f9213f (patch) | |
tree | 68181198fc66b8f0241273524e228d9fcd71cc46 /wscript | |
parent | 5658bd0a87930161ec90292a1d5f84900ccff791 (diff) | |
download | jalv-fbe2a2bc8380db54c2315d50475a643a00f9213f.tar.gz jalv-fbe2a2bc8380db54c2315d50475a643a00f9213f.tar.bz2 jalv-fbe2a2bc8380db54c2315d50475a643a00f9213f.zip |
Check for LV2 extensions via pkg-config (new style in LV2 SVN).
git-svn-id: http://svn.drobilla.net/lad/trunk/jalv@3547 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 16 |
1 files changed, 9 insertions, 7 deletions
@@ -30,7 +30,7 @@ def options(opt): def configure(conf): conf.load('compiler_c') conf.load('compiler_cxx') - conf.line_just = 63 + conf.line_just = 44 autowaf.configure(conf) autowaf.display_header('Jalv Configuration') @@ -48,11 +48,13 @@ def configure(conf): autowaf.check_pkg(conf, 'QtGui', uselib_store='QT4', atleast_version='4.0.0', mandatory=False) - autowaf.check_header(conf, 'c', 'lv2/lv2plug.in/ns/lv2core/lv2.h') - autowaf.check_header(conf, 'c', 'lv2/lv2plug.in/ns/ext/event/event.h') - autowaf.check_header(conf, 'c', 'lv2/lv2plug.in/ns/ext/event/event-helpers.h') - autowaf.check_header(conf, 'c', 'lv2/lv2plug.in/ns/ext/uri-map/uri-map.h') - autowaf.check_header(conf, 'c', 'lv2/lv2plug.in/ns/ext/persist/persist.h') + autowaf.check_pkg(conf, 'lv2core', uselib_store='LV2CORE') + autowaf.check_pkg(conf, 'lv2-lv2plug.in-ns-ext-event', + uselib_store='LV2_EVENT') + autowaf.check_pkg(conf, 'lv2-lv2plug.in-ns-ext-uri-map', + uselib_store='LV2_URI_MAP') + autowaf.check_pkg(conf, 'lv2-lv2plug.in-ns-ext-persist', + uselib_store='LV2_PERSIST') if not Options.options.no_jack_session: autowaf.define(conf, 'JALV_JACK_SESSION', 1) @@ -69,7 +71,7 @@ def configure(conf): print('') def build(bld): - libs = 'LILV SUIL JACK SERD' + libs = 'LILV SUIL JACK SERD LV2CORE LV2_EVENT LV2_URI_MAP LV2_PERSIST' source = 'src/jalv.c src/symap.c src/persist.c' |