fix detection of aubio library - aubio-0.4 breaks API and ABI.
authorRobin Gareus <robin@gareus.org>
Sat, 4 Jan 2014 18:28:15 +0000 (19:28 +0100)
committerRobin Gareus <robin@gareus.org>
Sat, 4 Jan 2014 18:28:15 +0000 (19:28 +0100)
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.

libs/ardour/wscript
libs/vamp-plugins/wscript

index 2a3c998ca1893ff4009034bce0777d4675ab86e0..dbc0335ecdf491dfc10fea5c7dcca47a976a0a37 100644 (file)
@@ -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')
index 46198cc18e21678fc700ebd10a87fef4768c81d7..9568e963670e9e231c06a753921cbb73e5e1d58a 100644 (file)
@@ -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):