Changes in wscript [1ba359c:2d64a24]
Legend:
- Unmodified
- Added
- Removed
-
wscript
r1ba359c r2d64a24 67 67 help_str = 'compile with libavcodec (auto)', 68 68 help_disable_str = 'disable libavcodec') 69 add_option_enable_disable(ctx, 'vorbis', default = None,70 help_str = 'compile with libvorbis (auto)',71 help_disable_str = 'disable libvorbis')72 add_option_enable_disable(ctx, 'flac', default = None,73 help_str = 'compile with libFLAC (auto)',74 help_disable_str = 'disable libflac')75 69 add_option_enable_disable(ctx, 'samplerate', default = None, 76 70 help_str = 'compile with samplerate (auto)', … … 436 430 ctx.define('HAVE_LIBAV', 1) 437 431 438 # check for vorbisenc439 if (ctx.options.enable_vorbis != False):440 ctx.check_cfg(package = 'vorbisenc',441 args = '--cflags --libs',442 uselib_store = 'VORBISENC',443 mandatory = ctx.options.enable_vorbis)444 445 # check for flac446 if (ctx.options.enable_flac != False):447 ctx.check_cfg(package = 'flac',448 args = '--cflags --libs',449 uselib_store = 'FLAC',450 mandatory = ctx.options.enable_flac)451 452 432 if (ctx.options.enable_wavread != False): 453 433 ctx.define('HAVE_WAVREAD', 1) … … 576 556 target = bld.path.find_or_declare('api/index.html'), 577 557 cwd = bld.path.find_dir('doc')) 558 # evaluate nodes lazily to prevent build directory traversal warnings 578 559 bld.install_files('${DATAROOTDIR}/doc/libaubio-doc/api', 579 bld.path.find_or_declare('api').ant_glob('**/*' ),580 cwd=bld.path.find_or_declare('api'),560 bld.path.find_or_declare('api').ant_glob('**/*', 561 generator=True), cwd=bld.path.find_or_declare('api'), 581 562 relative_trick=True) 582 563 … … 600 581 source = bld.path.find_dir('doc').ant_glob('*.rst'), 601 582 target = bld.path.find_or_declare('manual/index.html')) 583 # evaluate nodes lazily to prevent build directory traversal warnings 602 584 bld.install_files('${DATAROOTDIR}/doc/libaubio-doc/manual', 603 bld.path.find_or_declare('manual').ant_glob('**/*' ),604 cwd=bld.path.find_or_declare('manual'),585 bld.path.find_or_declare('manual').ant_glob('**/*', 586 generator=True), cwd=bld.path.find_or_declare('manual'), 605 587 relative_trick=True) 606 588
Note: See TracChangeset
for help on using the changeset viewer.