summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2014-01-04 19:28:15 +0100
committerRobin Gareus <robin@gareus.org>2014-01-04 19:28:15 +0100
commitf3d858f9dfa8e708cefb445c3825bca8304e897b (patch)
tree4bcde34d0c0df41b0cbea34860a72b57b0a1b540
parent8c7cae0d8f98c17ac082da580a8467e436d9dd5a (diff)
fix detection of aubio library - aubio-0.4 breaks API and ABI.
ideally we'll want atleast_version='0.3.2', max_version='0.3.9' (or anything before 0.4.0) for the time being. but waf/autowaf don't seem to allow that. aubio-0.3.2 was the previous minimum requirement and is also the last release of audio-0.3.X, so we're good with exact_version for now.
-rw-r--r--libs/ardour/wscript2
-rw-r--r--libs/vamp-plugins/wscript3
2 files changed, 3 insertions, 2 deletions
diff --git a/libs/ardour/wscript b/libs/ardour/wscript
index 2a3c998ca1..dbc0335ecd 100644
--- a/libs/ardour/wscript
+++ b/libs/ardour/wscript
@@ -244,7 +244,7 @@ def configure(conf):
'libardour3', conf.env['MAJOR'], conf.env['MINOR'], 0)
autowaf.configure(conf)
autowaf.check_pkg(conf, 'aubio', uselib_store='AUBIO',
- atleast_version='0.3.2')
+ exact_version='0.3.2')
autowaf.check_pkg(conf, 'libxml-2.0', uselib_store='XML')
autowaf.check_pkg(conf, 'lrdf', uselib_store='LRDF',
atleast_version='0.4.0')
diff --git a/libs/vamp-plugins/wscript b/libs/vamp-plugins/wscript
index 46198cc18e..9568e96367 100644
--- a/libs/vamp-plugins/wscript
+++ b/libs/vamp-plugins/wscript
@@ -26,7 +26,8 @@ def configure(conf):
conf.load('compiler_cxx')
autowaf.configure(conf)
autowaf.check_pkg(conf, 'fftw3f', uselib_store='FFTW3F', mandatory=True)
- autowaf.check_pkg(conf, 'aubio', uselib_store='AUBIO', mandatory=False)
+ autowaf.check_pkg(conf, 'aubio', uselib_store='AUBIO', mandatory=False,
+ exact_version='0.3.2')
conf.write_config_header('libvampplugins-config.h', remove=False)
def build(bld):