Ignore:
Timestamp:
Mar 17, 2017, 10:59:51 AM (7 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
sampler
Children:
f8bdcb2
Parents:
bff692e (diff), c7d444a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' into sampler

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/lib/moresetuptools.py

    rbff692e rbad88364  
    114114    print("Info: looking for *optional* additional packages")
    115115    packages = ['libavcodec', 'libavformat', 'libavutil', 'libavresample',
    116                 'jack',
    117116                'sndfile',
    118                 'samplerate',
    119117                'rubberband',
    120118                #'fftw3f',
     
    128126    if 'avcodec' in ext.libraries \
    129127            and 'avformat' in ext.libraries \
    130             and 'avutil' in ext.libraries \
    131             and 'avresample' in ext.libraries:
    132         ext.define_macros += [('HAVE_LIBAV', 1)]
    133     if 'jack' in ext.libraries:
    134         ext.define_macros += [('HAVE_JACK', 1)]
     128            and 'avutil' in ext.libraries:
     129        if 'swresample' in ext.libraries:
     130            ext.define_macros += [('HAVE_SWRESAMPLE', 1)]
     131        elif 'avresample' in ext.libraries:
     132            ext.define_macros += [('HAVE_AVRESAMPLE', 1)]
     133        if 'swresample' in ext.libraries or 'avresample' in ext.libraries:
     134            ext.define_macros += [('HAVE_LIBAV', 1)]
    135135    if 'sndfile' in ext.libraries:
    136136        ext.define_macros += [('HAVE_SNDFILE', 1)]
Note: See TracChangeset for help on using the changeset viewer.