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 | 1bc24c05d0994b1dd07b2b83bfb58bac13b0012b (patch) | |
tree | 7ac322b0a0139144381e257244db0ab1a5eab5cb /wscript | |
parent | 1fbc215b67e1ec4f8a09dee5740304794605fe60 (diff) | |
download | ingen-1bc24c05d0994b1dd07b2b83bfb58bac13b0012b.tar.gz ingen-1bc24c05d0994b1dd07b2b83bfb58bac13b0012b.tar.bz2 ingen-1bc24c05d0994b1dd07b2b83bfb58bac13b0012b.zip |
Check for LV2 extensions via pkg-config (new style in LV2 SVN).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3547 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 29 |
1 files changed, 18 insertions, 11 deletions
@@ -39,7 +39,7 @@ def options(opt): def configure(conf): conf.load('compiler_cxx') autowaf.configure(conf) - conf.line_just = 67 + conf.line_just = 48 autowaf.display_header('Ingen Configuration') autowaf.check_pkg(conf, 'glibmm-2.4', uselib_store='GLIBMM', @@ -83,15 +83,21 @@ def configure(conf): define_name='HAVE_POSIX_MEMALIGN', mandatory=False) - autowaf.check_header(conf, 'c', 'lv2/lv2plug.in/ns/lv2core/lv2.h') - autowaf.check_header(conf, 'c', 'lv2/lv2plug.in/ns/ext/atom/atom.h') - autowaf.check_header(conf, 'c', 'lv2/lv2plug.in/ns/ext/reference/reference.h') - autowaf.check_header(conf, 'c', 'lv2/lv2plug.in/ns/ext/contexts/contexts.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/event/event.h') - autowaf.check_header(conf, 'c', 'lv2/lv2plug.in/ns/ext/resize-port/resize-port.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/uri-unmap/uri-unmap.h') + autowaf.check_pkg(conf, 'lv2core', uselib_store='LV2CORE') + autowaf.check_pkg(conf, 'lv2-lv2plug.in-ns-ext-atom', + uselib_store='LV2_ATOM') + autowaf.check_pkg(conf, 'lv2-lv2plug.in-ns-ext-reference', + uselib_store='LV2_REFERENCE') + autowaf.check_pkg(conf, 'lv2-lv2plug.in-ns-ext-contexts', + uselib_store='LV2_CONTEXTS') + autowaf.check_pkg(conf, 'lv2-lv2plug.in-ns-ext-event', + uselib_store='LV2_EVENT') + autowaf.check_pkg(conf, 'lv2-lv2plug.in-ns-ext-resize-port', + uselib_store='LV2_RESIZE') + 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-uri-unmap', + uselib_store='LV2_URI_UNMAP') autowaf.define(conf, 'INGEN_VERSION', INGEN_VERSION) @@ -150,7 +156,8 @@ def build(bld): obj.defines = 'VERSION="' + bld.env['INGEN_VERSION'] + '"' obj.use = 'libingen_shared' obj.install_path = '${BINDIR}' - autowaf.use_lib(bld, obj, 'GTHREAD GLIBMM SORD RAUL LV2CORE LILV INGEN LIBLO SOUP') + autowaf.use_lib(bld, obj, 'GTHREAD GLIBMM SORD RAUL LILV INGEN LIBLO SOUP' + + ' LV2CORE LV2_EVENT LV2_URI_MAP LV2_PERSIST') bld.install_files('${DATADIR}/applications', 'src/ingen/ingen.desktop') |