shithub: aubio

Download patch

ref: b83449d39ed09ec3defae3e0743da1a4b3f2a156
parent: d9d10104a71c63f3a404fd69f5b29b198c28edea
author: Paul Brossier <piem@piem.org>
date: Fri Sep 16 21:04:53 EDT 2016

python/lib/moresetuptools.py: check if rubberband can be found

--- a/python/lib/moresetuptools.py
+++ b/python/lib/moresetuptools.py
@@ -73,6 +73,7 @@
     packages = ['libavcodec', 'libavformat', 'libavutil', 'libavresample',
                 'jack',
                 'sndfile', 'samplerate',
+                'rubberband',
                 #'fftw3f',
                ]
     add_packages(packages, ext=ext)
@@ -87,6 +88,8 @@
         ext.define_macros += [('HAVE_SNDFILE', 1)]
     if 'samplerate' in ext.libraries:
         ext.define_macros += [('HAVE_SAMPLERATE', 1)]
+    if 'rubberband' in ext.libraries:
+        ext.define_macros += [('HAVE_RUBBERBAND', 1)]
     if 'fftw3f' in ext.libraries:
         ext.define_macros += [('HAVE_FFTW3F', 1)]
         ext.define_macros += [('HAVE_FFTW3', 1)]
--