Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/lib/moresetuptools.py

    rf131ba8 rc7d444a  
    113113    # loof for additional packages
    114114    print("Info: looking for *optional* additional packages")
    115     packages = ['libavcodec', 'libavformat', 'libavutil', 'libavresample',
    116                 'jack',
    117                 'jack',
     115    packages = ['libavcodec', 'libavformat', 'libavutil',
     116                'libswresample', 'libavresample',
    118117                'sndfile',
    119118                #'fftw3f',
     
    127126    if 'avcodec' in ext.libraries \
    128127            and 'avformat' in ext.libraries \
    129             and 'avutil' in ext.libraries \
    130             and 'avresample' in ext.libraries:
    131         ext.define_macros += [('HAVE_LIBAV', 1)]
    132     if 'jack' in ext.libraries:
    133         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)]
    134135    if 'sndfile' in ext.libraries:
    135136        ext.define_macros += [('HAVE_SNDFILE', 1)]
Note: See TracChangeset for help on using the changeset viewer.