- Timestamp:
- Mar 26, 2017, 1:31:48 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:
- 7928b3b8
- Parents:
- 1136442 (diff), 2a7bcaa (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
wscript
r1136442 r911b175d 15 15 APPNAME = 'aubio' 16 16 17 # source VERSION 18 for l in open('VERSION').readlines(): exec (l.strip()) 19 20 VERSION = '.'.join ([str(x) for x in [ 21 AUBIO_MAJOR_VERSION, 22 AUBIO_MINOR_VERSION, 23 AUBIO_PATCH_VERSION 24 ]]) + AUBIO_VERSION_STATUS 25 26 LIB_VERSION = '.'.join ([str(x) for x in [ 27 LIBAUBIO_LT_CUR, 28 LIBAUBIO_LT_REV, 29 LIBAUBIO_LT_AGE]]) 17 from this_version import * 18 19 VERSION = get_aubio_version() 20 LIB_VERSION = get_libaubio_version() 30 21 31 22 top = '.' … … 260 251 # one of fftwf or fftw3f 261 252 if (ctx.options.enable_fftw3f != False): 262 ctx.check_cfg(package = 'fftw3f', atleast_version = '3.0.0',263 args = '--cflags --libs ',253 ctx.check_cfg(package = 'fftw3f', 254 args = '--cflags --libs fftw3f >= 3.0.0', 264 255 mandatory = ctx.options.enable_fftw3f) 265 256 if (ctx.options.enable_double == True): … … 270 261 # enable_double 271 262 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)263 ctx.check_cfg(package = 'fftw3', 264 args = '--cflags --libs fftw3 >= 3.0.0.', 265 mandatory = ctx.options.enable_fftw3) 275 266 else: 276 ctx.check_cfg(package = 'fftw3f', atleast_version = '3.0.0',277 args = '--cflags --libs ',267 ctx.check_cfg(package = 'fftw3f', 268 args = '--cflags --libs fftw3f >= 3.0.0', 278 269 mandatory = ctx.options.enable_fftw3) 279 270 ctx.define('HAVE_FFTW3', 1) … … 291 282 # check for libsndfile 292 283 if (ctx.options.enable_sndfile != False): 293 ctx.check_cfg(package = 'sndfile', atleast_version = '1.0.4',294 args = '--cflags --libs ',284 ctx.check_cfg(package = 'sndfile', 285 args = '--cflags --libs sndfile >= 1.0.4', 295 286 mandatory = ctx.options.enable_sndfile) 296 287 … … 304 295 color = 'YELLOW') 305 296 if (ctx.options.enable_samplerate != False): 306 ctx.check_cfg(package = 'samplerate', atleast_version = '0.0.15',307 args = '--cflags --libs ',297 ctx.check_cfg(package = 'samplerate', 298 args = '--cflags --libs samplerate >= 0.0.15', 308 299 mandatory = ctx.options.enable_samplerate) 309 300 … … 316 307 # check for libav 317 308 if (ctx.options.enable_avcodec != False): 318 ctx.check_cfg(package = 'libavcodec', atleast_version = '54.35.0', 319 args = '--cflags --libs', uselib_store = 'AVCODEC', 309 ctx.check_cfg(package = 'libavcodec', 310 args = '--cflags --libs libavcodec >= 54.35.0', 311 uselib_store = 'AVCODEC', 320 312 mandatory = ctx.options.enable_avcodec) 321 ctx.check_cfg(package = 'libavformat', atleast_version = '52.3.0', 322 args = '--cflags --libs', uselib_store = 'AVFORMAT', 313 ctx.check_cfg(package = 'libavformat', 314 args = '--cflags --libs libavformat >= 52.3.0', 315 uselib_store = 'AVFORMAT', 323 316 mandatory = ctx.options.enable_avcodec) 324 ctx.check_cfg(package = 'libavutil', atleast_version = '52.3.0', 325 args = '--cflags --libs', uselib_store = 'AVUTIL', 317 ctx.check_cfg(package = 'libavutil', 318 args = '--cflags --libs libavutil >= 52.3.0', 319 uselib_store = 'AVUTIL', 326 320 mandatory = ctx.options.enable_avcodec) 327 ctx.check_cfg(package = 'libswresample', atleast_version = '2.3.0', 328 args = '--cflags --libs', uselib_store = 'SWRESAMPLE', 321 ctx.check_cfg(package = 'libswresample', 322 args = '--cflags --libs libswresample >= 2.3.0', 323 uselib_store = 'SWRESAMPLE', 329 324 mandatory = False) 330 325 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', 326 ctx.check_cfg(package = 'libavresample', 327 args = '--cflags --libs libavresample >= 1.0.1', 328 uselib_store = 'AVRESAMPLE', 333 329 mandatory = False) 334 330
Note: See TracChangeset
for help on using the changeset viewer.