Changeset e8c4de2 for wscript


Ignore:
Timestamp:
Dec 6, 2013, 8:39:41 PM (10 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
Children:
cc6b221
Parents:
9ec63a0 (diff), 7816f2b (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 'avcodec' into develop

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wscript

    r9ec63a0 re8c4de2  
    5757  add_option_enable_disable(ctx, 'sndfile', default = None,
    5858          help_str = 'compile with sndfile (auto)', help_disable_str = 'disable sndfile')
     59  add_option_enable_disable(ctx, 'avcodec', default = None,
     60          help_str = 'compile with libavcodec (auto)', help_disable_str = 'disable libavcodec')
    5961  add_option_enable_disable(ctx, 'samplerate', default = None,
    6062          help_str = 'compile with samplerate (auto)', help_disable_str = 'disable samplerate')
     
    200202    args = '--cflags --libs', uselib_store = 'LASH', mandatory = False)
    201203
     204  if (ctx.options.enable_avcodec != False):
     205    ctx.check_cfg(package = 'libavcodec', atleast_version = '54.35.0',
     206    args = '--cflags --libs', uselib_store = 'AVCODEC', mandatory = False)
     207    ctx.check_cfg(package = 'libavformat', atleast_version = '52.3.0',
     208    args = '--cflags --libs', uselib_store = 'AVFORMAT', mandatory = False)
     209    ctx.check_cfg(package = 'libavutil', atleast_version = '52.3.0',
     210    args = '--cflags --libs', uselib_store = 'AVUTIL', mandatory = False)
     211    ctx.check_cfg(package = 'libavresample', atleast_version = '1.0.1',
     212    args = '--cflags --libs', uselib_store = 'AVRESAMPLE', mandatory = False)
     213
    202214  # write configuration header
    203215  ctx.write_config_header('src/config.h')
Note: See TracChangeset for help on using the changeset viewer.