Changes in wscript [2d64a24:1ba359c]
Legend:
- Unmodified
- Added
- Removed
-
wscript
r2d64a24 r1ba359c 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') 69 75 add_option_enable_disable(ctx, 'samplerate', default = None, 70 76 help_str = 'compile with samplerate (auto)', … … 430 436 ctx.define('HAVE_LIBAV', 1) 431 437 438 # check for vorbisenc 439 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 flac 446 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 432 452 if (ctx.options.enable_wavread != False): 433 453 ctx.define('HAVE_WAVREAD', 1) … … 556 576 target = bld.path.find_or_declare('api/index.html'), 557 577 cwd = bld.path.find_dir('doc')) 558 # evaluate nodes lazily to prevent build directory traversal warnings559 578 bld.install_files('${DATAROOTDIR}/doc/libaubio-doc/api', 560 bld.path.find_or_declare('api').ant_glob('**/*' ,561 generator=True),cwd=bld.path.find_or_declare('api'),579 bld.path.find_or_declare('api').ant_glob('**/*'), 580 cwd=bld.path.find_or_declare('api'), 562 581 relative_trick=True) 563 582 … … 581 600 source = bld.path.find_dir('doc').ant_glob('*.rst'), 582 601 target = bld.path.find_or_declare('manual/index.html')) 583 # evaluate nodes lazily to prevent build directory traversal warnings584 602 bld.install_files('${DATAROOTDIR}/doc/libaubio-doc/manual', 585 bld.path.find_or_declare('manual').ant_glob('**/*' ,586 generator=True),cwd=bld.path.find_or_declare('manual'),603 bld.path.find_or_declare('manual').ant_glob('**/*'), 604 cwd=bld.path.find_or_declare('manual'), 587 605 relative_trick=True) 588 606
Note: See TracChangeset
for help on using the changeset viewer.