Ignore:
Timestamp:
Dec 27, 2023, 5:44:50 PM (12 months ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
master
Children:
ae9b76b
Parents:
380c529
Message:

[py] remove libavresample from moresetuptools

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/lib/moresetuptools.py

    r380c529 rff622fc  
    7777    # loof for additional packages
    7878    print("Info: looking for *optional* additional packages")
    79     packages = ['libavcodec', 'libavformat', 'libavutil',
    80                 'libswresample', 'libavresample',
     79    packages = ['libavcodec', 'libavformat', 'libavutil', 'libswresample',
    8180                'jack',
    8281                'sndfile',
     
    9291    if 'avcodec' in ext.libraries \
    9392            and 'avformat' in ext.libraries \
    94             and 'avutil' in ext.libraries:
    95         if 'swresample' in ext.libraries:
    96             ext.define_macros += [('HAVE_SWRESAMPLE', 1)]
    97         elif 'avresample' in ext.libraries:
    98             ext.define_macros += [('HAVE_AVRESAMPLE', 1)]
    99         if 'swresample' in ext.libraries or 'avresample' in ext.libraries:
    100             ext.define_macros += [('HAVE_LIBAV', 1)]
     93            and 'avutil' in ext.libraries \
     94            and 'swresample' in ext.libraries:
     95        ext.define_macros += [('HAVE_LIBAV', 1)]
    10196    if 'sndfile' in ext.libraries:
    10297        ext.define_macros += [('HAVE_SNDFILE', 1)]
Note: See TracChangeset for help on using the changeset viewer.