From: Paul Brossier Date: Fri, 16 Sep 2016 23:04:53 +0000 (+0200) Subject: python/lib/moresetuptools.py: check if rubberband can be found X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=b83449d39ed09ec3defae3e0743da1a4b3f2a156;p=aubio.git python/lib/moresetuptools.py: check if rubberband can be found --- diff --git a/python/lib/moresetuptools.py b/python/lib/moresetuptools.py index 906b8712..d39897c2 100644 --- a/python/lib/moresetuptools.py +++ b/python/lib/moresetuptools.py @@ -73,6 +73,7 @@ def add_local_aubio_sources(ext): packages = ['libavcodec', 'libavformat', 'libavutil', 'libavresample', 'jack', 'sndfile', 'samplerate', + 'rubberband', #'fftw3f', ] add_packages(packages, ext=ext) @@ -87,6 +88,8 @@ def add_local_aubio_sources(ext): 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)]