feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change
on this file since 8a22fc4 was
1b25a70,
checked in by Paul Brossier <piem@piem.org>, 11 years ago
|
examples/: move parse_args to parse_args.h, clean up, remove lash and old frames_delay
|
-
Property mode set to
100644
|
File size:
1013 bytes
|
Rev | Line | |
---|
[0e355f6] | 1 | # vim:set syntax=python: |
---|
| 2 | |
---|
[eae5898] | 3 | source = ctx.path.ant_glob('*.c **/*.c') |
---|
| 4 | uselib = [] |
---|
[0318cc1] | 5 | uselib += ['FFTW3', 'FFTW3F'] |
---|
| 6 | uselib += ['SAMPLERATE'] |
---|
| 7 | uselib += ['SNDFILE'] |
---|
[ba0ba10] | 8 | uselib += ['AVCODEC'] |
---|
| 9 | uselib += ['AVFORMAT'] |
---|
| 10 | uselib += ['AVRESAMPLE'] |
---|
| 11 | uselib += ['AVUTIL'] |
---|
[0318cc1] | 12 | uselib += ['JACK'] |
---|
[eae5898] | 13 | |
---|
[985a5d1] | 14 | ctx(features = 'c', |
---|
| 15 | source = source, |
---|
| 16 | includes = ['.'], |
---|
| 17 | uselib = uselib, |
---|
| 18 | lib = 'm', |
---|
| 19 | target = 'lib_objects') |
---|
[afbd7e7] | 20 | |
---|
[985a5d1] | 21 | # build libaubio.so (cshlib) and/or libaubio.a (cstlib) |
---|
[19ddbf3] | 22 | if ctx.env['DEST_OS'] in ['ios', 'iosimulator']: |
---|
[7fd1831] | 23 | build_features = ['cstlib'] |
---|
[cdfc394] | 24 | else: #linux, darwin, android, mingw, ... |
---|
[7fd1831] | 25 | build_features = ['cshlib', 'cstlib'] |
---|
[b712146] | 26 | |
---|
[7fd1831] | 27 | for target in build_features: |
---|
| 28 | ctx(features = 'c ' + target, |
---|
| 29 | use = ['lib_objects'], #source = source, |
---|
| 30 | target = 'aubio', |
---|
| 31 | install_path = '${PREFIX}/lib', |
---|
| 32 | vnum = ctx.env['LIB_VERSION']) |
---|
[000b090] | 33 | |
---|
| 34 | # install headers, except _priv.h ones |
---|
[d41bc4d] | 35 | ctx.install_files('${PREFIX}/include/aubio/', |
---|
[6ed0f4e] | 36 | ctx.path.ant_glob('**/*.h', excl = ['**_priv.h', 'config.h']), |
---|
| 37 | relative_trick=True) |
---|
Note: See
TracBrowser
for help on using the repository browser.