Changeset badb525


Ignore:
Timestamp:
Mar 23, 2017, 7:12:07 PM (7 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, sampler
Children:
da1a83f
Parents:
91fa88d
Message:

wscript: update for waf 1.9.6

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wscript

    r91fa88d rbadb525  
    260260        # one of fftwf or fftw3f
    261261        if (ctx.options.enable_fftw3f != False):
    262             ctx.check_cfg(package = 'fftw3f', atleast_version = '3.0.0',
    263                     args = '--cflags --libs',
     262            ctx.check_cfg(package = 'fftw3f',
     263                    args = '--cflags --libs fftw3f >= 3.0.0',
    264264                    mandatory = ctx.options.enable_fftw3f)
    265265            if (ctx.options.enable_double == True):
     
    270270            # enable_double
    271271            if (ctx.options.enable_double == True):
    272                 ctx.check_cfg(package = 'fftw3', atleast_version = '3.0.0',
    273                         args = '--cflags --libs', mandatory =
    274                         ctx.options.enable_fftw3)
     272                ctx.check_cfg(package = 'fftw3',
     273                        args = '--cflags --libs fftw3 >= 3.0.0.',
     274                        mandatory = ctx.options.enable_fftw3)
    275275            else:
    276                 ctx.check_cfg(package = 'fftw3f', atleast_version = '3.0.0',
    277                         args = '--cflags --libs',
     276                ctx.check_cfg(package = 'fftw3f',
     277                        args = '--cflags --libs fftw3f >= 3.0.0',
    278278                        mandatory = ctx.options.enable_fftw3)
    279279        ctx.define('HAVE_FFTW3', 1)
     
    291291    # check for libsndfile
    292292    if (ctx.options.enable_sndfile != False):
    293         ctx.check_cfg(package = 'sndfile', atleast_version = '1.0.4',
    294                 args = '--cflags --libs',
     293        ctx.check_cfg(package = 'sndfile',
     294                args = '--cflags --libs sndfile >= 1.0.4',
    295295                mandatory = ctx.options.enable_sndfile)
    296296
     
    304304                    color = 'YELLOW')
    305305    if (ctx.options.enable_samplerate != False):
    306         ctx.check_cfg(package = 'samplerate', atleast_version = '0.0.15',
    307                 args = '--cflags --libs',
     306        ctx.check_cfg(package = 'samplerate',
     307                args = '--cflags --libs samplerate >= 0.0.15',
    308308                mandatory = ctx.options.enable_samplerate)
    309309
     
    316316    # check for libav
    317317    if (ctx.options.enable_avcodec != False):
    318         ctx.check_cfg(package = 'libavcodec', atleast_version = '54.35.0',
    319                 args = '--cflags --libs', uselib_store = 'AVCODEC',
     318        ctx.check_cfg(package = 'libavcodec',
     319                args = '--cflags --libs libavcodec >= 54.35.0',
     320                uselib_store = 'AVCODEC',
    320321                mandatory = ctx.options.enable_avcodec)
    321         ctx.check_cfg(package = 'libavformat', atleast_version = '52.3.0',
    322                 args = '--cflags --libs', uselib_store = 'AVFORMAT',
     322        ctx.check_cfg(package = 'libavformat',
     323                args = '--cflags --libs libavformat >= 52.3.0',
     324                uselib_store = 'AVFORMAT',
    323325                mandatory = ctx.options.enable_avcodec)
    324         ctx.check_cfg(package = 'libavutil', atleast_version = '52.3.0',
    325                 args = '--cflags --libs', uselib_store = 'AVUTIL',
     326        ctx.check_cfg(package = 'libavutil',
     327                args = '--cflags --libs libavutil >= 52.3.0',
     328                uselib_store = 'AVUTIL',
    326329                mandatory = ctx.options.enable_avcodec)
    327         ctx.check_cfg(package = 'libswresample', atleast_version = '2.3.0',
    328                 args = '--cflags --libs', uselib_store = 'SWRESAMPLE',
     330        ctx.check_cfg(package = 'libswresample',
     331                args = '--cflags --libs libswresample >= 2.3.0',
     332                uselib_store = 'SWRESAMPLE',
    329333                mandatory = False)
    330334        if 'HAVE_SWRESAMPLE' not in ctx.env:
    331             ctx.check_cfg(package = 'libavresample', atleast_version = '1.0.1',
    332                     args = '--cflags --libs', uselib_store = 'AVRESAMPLE',
     335            ctx.check_cfg(package = 'libavresample',
     336                    args = '--cflags --libs libavresample >= 1.0.1',
     337                    uselib_store = 'AVRESAMPLE',
    333338                    mandatory = False)
    334339
Note: See TracChangeset for help on using the changeset viewer.