- Timestamp:
- Mar 25, 2017, 12:12:38 PM (8 years ago)
- Branches:
- sampler
- Children:
- b201912
- Parents:
- f8d96f1 (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
rf8d96f1 rfbafd2c 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 = '.' … … 268 259 # one of fftwf or fftw3f 269 260 if (ctx.options.enable_fftw3f != False): 270 ctx.check_cfg(package = 'fftw3f', atleast_version = '3.0.0',271 args = '--cflags --libs ',261 ctx.check_cfg(package = 'fftw3f', 262 args = '--cflags --libs fftw3f >= 3.0.0', 272 263 mandatory = ctx.options.enable_fftw3f) 273 264 if (ctx.options.enable_double == True): … … 278 269 # enable_double 279 270 if (ctx.options.enable_double == True): 280 ctx.check_cfg(package = 'fftw3', atleast_version = '3.0.0',281 args = '--cflags --libs ', mandatory =282 ctx.options.enable_fftw3)271 ctx.check_cfg(package = 'fftw3', 272 args = '--cflags --libs fftw3 >= 3.0.0.', 273 mandatory = ctx.options.enable_fftw3) 283 274 else: 284 ctx.check_cfg(package = 'fftw3f', atleast_version = '3.0.0',285 args = '--cflags --libs ',275 ctx.check_cfg(package = 'fftw3f', 276 args = '--cflags --libs fftw3f >= 3.0.0', 286 277 mandatory = ctx.options.enable_fftw3) 287 278 ctx.define('HAVE_FFTW3', 1) … … 299 290 # check for libsndfile 300 291 if (ctx.options.enable_sndfile != False): 301 ctx.check_cfg(package = 'sndfile', atleast_version = '1.0.4',302 args = '--cflags --libs ',292 ctx.check_cfg(package = 'sndfile', 293 args = '--cflags --libs sndfile >= 1.0.4', 303 294 mandatory = ctx.options.enable_sndfile) 304 295 … … 312 303 color = 'YELLOW') 313 304 if (ctx.options.enable_samplerate != False): 314 ctx.check_cfg(package = 'samplerate', atleast_version = '0.0.15',315 args = '--cflags --libs ',305 ctx.check_cfg(package = 'samplerate', 306 args = '--cflags --libs samplerate >= 0.0.15', 316 307 mandatory = ctx.options.enable_samplerate) 317 308 … … 330 321 # check for libav 331 322 if (ctx.options.enable_avcodec != False): 332 ctx.check_cfg(package = 'libavcodec', atleast_version = '54.35.0', 333 args = '--cflags --libs', uselib_store = 'AVCODEC', 323 ctx.check_cfg(package = 'libavcodec', 324 args = '--cflags --libs libavcodec >= 54.35.0', 325 uselib_store = 'AVCODEC', 334 326 mandatory = ctx.options.enable_avcodec) 335 ctx.check_cfg(package = 'libavformat', atleast_version = '52.3.0', 336 args = '--cflags --libs', uselib_store = 'AVFORMAT', 327 ctx.check_cfg(package = 'libavformat', 328 args = '--cflags --libs libavformat >= 52.3.0', 329 uselib_store = 'AVFORMAT', 337 330 mandatory = ctx.options.enable_avcodec) 338 ctx.check_cfg(package = 'libavutil', atleast_version = '52.3.0', 339 args = '--cflags --libs', uselib_store = 'AVUTIL', 331 ctx.check_cfg(package = 'libavutil', 332 args = '--cflags --libs libavutil >= 52.3.0', 333 uselib_store = 'AVUTIL', 340 334 mandatory = ctx.options.enable_avcodec) 341 ctx.check_cfg(package = 'libswresample', atleast_version = '2.3.0', 342 args = '--cflags --libs', uselib_store = 'SWRESAMPLE', 335 ctx.check_cfg(package = 'libswresample', 336 args = '--cflags --libs libswresample >= 2.3.0', 337 uselib_store = 'SWRESAMPLE', 343 338 mandatory = False) 344 339 if 'HAVE_SWRESAMPLE' not in ctx.env: 345 ctx.check_cfg(package = 'libavresample', atleast_version = '1.0.1', 346 args = '--cflags --libs', uselib_store = 'AVRESAMPLE', 340 ctx.check_cfg(package = 'libavresample', 341 args = '--cflags --libs libavresample >= 1.0.1', 342 uselib_store = 'AVRESAMPLE', 347 343 mandatory = False) 348 344
Note: See TracChangeset
for help on using the changeset viewer.