From 9949dd84be2c4defeb9397d1e7198cd9cc49f4d5 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 11 Mar 2012 01:13:05 +0000 Subject: Don't pretend state, atom, and urid are optional. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4044 a436a847-0d15-0410-975c-d299462d15a1 --- wscript | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'wscript') diff --git a/wscript b/wscript index d676a71..489032e 100644 --- a/wscript +++ b/wscript @@ -81,10 +81,12 @@ def configure(conf): atleast_version='0.11.0', mandatory=True) autowaf.check_pkg(conf, 'sord-0', uselib_store='SORD', atleast_version='0.6.0', mandatory=True) - autowaf.check_pkg(conf, 'lv2-lv2plug.in-ns-ext-urid', - uselib_store='LV2_URID', mandatory=True) + autowaf.check_pkg(conf, 'lv2-lv2plug.in-ns-ext-atom', + uselib_store='LV2_ATOM', mandatory=False) autowaf.check_pkg(conf, 'lv2-lv2plug.in-ns-ext-state', uselib_store='LV2_STATE', mandatory=False) + autowaf.check_pkg(conf, 'lv2-lv2plug.in-ns-ext-urid', + uselib_store='LV2_URID', mandatory=False) defines = ['_POSIX_C_SOURCE', '_BSD_SOURCE'] if Options.platform == 'darwin': @@ -170,9 +172,14 @@ def build(bld): bld.install_files(includedir, bld.path.ant_glob('lilv/*.hpp')) # Pkgconfig file - pkg_deps = 'serd-0 sord-0 lv2-lv2plug.in-ns-ext-urid' - if bld.is_defined('HAVE_LV2_STATE'): - pkg_deps += ' lv2-lv2plug.in-ns-ext-state' + pkg_deps = ''' +lv2-lv2plug.in-ns-ext-atom +lv2-lv2plug.in-ns-ext-state +lv2-lv2plug.in-ns-ext-urid +lv2core +serd-0 +sord-0 +''' autowaf.build_pc(bld, 'LILV', LILV_VERSION, LILV_MAJOR_VERSION, [], {'LILV_MAJOR_VERSION' : LILV_MAJOR_VERSION, 'LILV_PKG_DEPS' : pkg_deps}) -- cgit v1.2.1