Changes in wscript [e625579:e836160]
Legend:
- Unmodified
- Added
- Removed
-
wscript
re625579 re836160 73 73 help_str = 'compile with libavcodec (auto)', 74 74 help_disable_str = 'disable libavcodec') 75 add_option_enable_disable(ctx, 'vorbis', default = None, 76 help_str = 'compile with libvorbis (auto)', 77 help_disable_str = 'disable libvorbis') 78 add_option_enable_disable(ctx, 'flac', default = None, 79 help_str = 'compile with libFLAC (auto)', 80 help_disable_str = 'disable libflac') 75 81 add_option_enable_disable(ctx, 'samplerate', default = None, 76 82 help_str = 'compile with samplerate (auto)', 77 83 help_disable_str = 'disable samplerate') 78 add_option_enable_disable(ctx, 'rubberband', default = None,79 help_str = 'compile with rubberband (auto)',80 help_disable_str = 'disable rubberband')81 84 add_option_enable_disable(ctx, 'memcpy', default = True, 82 85 help_str = 'use memcpy hacks (default)', … … 138 141 'samplerate', 139 142 'jack', 140 'rubberband',141 143 'avcodec', 142 144 'blas', 143 145 'fftw3', 144 146 'fftw3f', 147 'flac', 148 'vorbis', 145 149 ] 146 150 for d in external_deps: … … 413 417 mandatory = ctx.options.enable_samplerate) 414 418 415 # check for librubberband416 if (ctx.options.enable_rubberband != False):417 ctx.check_cfg(package = 'rubberband', atleast_version = '1.3',418 args = '--cflags --libs',419 mandatory = ctx.options.enable_rubberband)420 421 419 # check for jack 422 420 if (ctx.options.enable_jack != False): … … 467 465 ctx.define('HAVE_AVRESAMPLE', 1) 468 466 ctx.define('HAVE_LIBAV', 1) 467 468 # check for vorbisenc 469 if (ctx.options.enable_vorbis != False): 470 ctx.check_cfg(package = 'vorbisenc vorbis ogg', 471 args = '--cflags --libs', 472 uselib_store = 'VORBISENC', 473 mandatory = ctx.options.enable_vorbis) 474 475 # check for flac 476 if (ctx.options.enable_flac != False): 477 ctx.check_cfg(package = 'flac', 478 args = '--cflags --libs', 479 uselib_store = 'FLAC', 480 mandatory = ctx.options.enable_flac) 469 481 470 482 if (ctx.options.enable_wavread != False):
Note: See TracChangeset
for help on using the changeset viewer.