Changeset ae9b76b


Ignore:
Timestamp:
Dec 27, 2023, 5:48:10 PM (12 months ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
master
Children:
df2de24
Parents:
ff622fc
Message:

[waf] remove avresample from wscript

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wscript

    rff622fc rae9b76b  
    449449                uselib_store = 'SWRESAMPLE',
    450450                mandatory = False)
    451         if 'HAVE_SWRESAMPLE' not in ctx.env:
    452             ctx.check_cfg(package = 'libavresample',
    453                     args = '--cflags --libs libavresample >= 1.0.1',
    454                     uselib_store = 'AVRESAMPLE',
    455                     mandatory = False)
    456451
    457452        msg_check = 'Checking for all libav libraries'
     
    462457        elif 'HAVE_AVUTIL' not in ctx.env:
    463458            ctx.msg(msg_check, 'not found (missing avutil)', color = 'YELLOW')
    464         elif 'HAVE_SWRESAMPLE' not in ctx.env \
    465                 and 'HAVE_AVRESAMPLE' not in ctx.env:
    466             resample_missing = 'not found (avresample or swresample required)'
     459        elif 'HAVE_SWRESAMPLE' not in ctx.env :
     460            resample_missing = 'not found (missing swresample)'
    467461            ctx.msg(msg_check, resample_missing, color = 'YELLOW')
    468462        else:
    469463            ctx.msg(msg_check, 'yes')
    470             if 'HAVE_SWRESAMPLE' in ctx.env:
    471                 ctx.define('HAVE_SWRESAMPLE', 1)
    472             elif 'HAVE_AVRESAMPLE' in ctx.env:
    473                 ctx.define('HAVE_AVRESAMPLE', 1)
    474464            ctx.define('HAVE_LIBAV', 1)
    475465
Note: See TracChangeset for help on using the changeset viewer.