Changeset badb525
- Timestamp:
- Mar 23, 2017, 7:12:07 PM (8 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
wscript
r91fa88d rbadb525 260 260 # one of fftwf or fftw3f 261 261 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', 264 264 mandatory = ctx.options.enable_fftw3f) 265 265 if (ctx.options.enable_double == True): … … 270 270 # enable_double 271 271 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) 275 275 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', 278 278 mandatory = ctx.options.enable_fftw3) 279 279 ctx.define('HAVE_FFTW3', 1) … … 291 291 # check for libsndfile 292 292 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', 295 295 mandatory = ctx.options.enable_sndfile) 296 296 … … 304 304 color = 'YELLOW') 305 305 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', 308 308 mandatory = ctx.options.enable_samplerate) 309 309 … … 316 316 # check for libav 317 317 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', 320 321 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', 323 325 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', 326 329 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', 329 333 mandatory = False) 330 334 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', 333 338 mandatory = False) 334 339
Note: See TracChangeset
for help on using the changeset viewer.