Changeset d9d1010


Ignore:
Timestamp:
Sep 17, 2016, 12:57:17 AM (8 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/cnn, feature/crepe, feature/pitchshift, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch
Children:
b83449d
Parents:
99d8cbb
Message:

wscript: check if rubberband can be foud

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wscript

    r99d8cbb rd9d1010  
    6969            help_str = 'compile with samplerate (auto)',
    7070            help_disable_str = 'disable samplerate')
     71    add_option_enable_disable(ctx, 'rubberband', default = None,
     72            help_str = 'compile with rubberband (auto)',
     73            help_disable_str = 'disable rubberband')
    7174    add_option_enable_disable(ctx, 'memcpy', default = True,
    7275            help_str = 'use memcpy hacks (default)',
     
    260263                mandatory = ctx.options.enable_samplerate)
    261264
     265    # check for librubberband
     266    if (ctx.options.enable_rubberband != False):
     267        ctx.check_cfg(package = 'rubberband', atleast_version = '1.8.1',
     268                args = '--cflags --libs',
     269                mandatory = ctx.options.enable_rubberband)
     270
    262271    # check for jack
    263272    if (ctx.options.enable_jack != False):
Note: See TracChangeset for help on using the changeset viewer.