feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change
on this file since 8122e54a 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
|
Line | |
---|
1 | # vim:set syntax=python: |
---|
2 | |
---|
3 | source = ctx.path.ant_glob('*.c **/*.c') |
---|
4 | uselib = [] |
---|
5 | uselib += ['FFTW3', 'FFTW3F'] |
---|
6 | uselib += ['SAMPLERATE'] |
---|
7 | uselib += ['SNDFILE'] |
---|
8 | uselib += ['AVCODEC'] |
---|
9 | uselib += ['AVFORMAT'] |
---|
10 | uselib += ['AVRESAMPLE'] |
---|
11 | uselib += ['AVUTIL'] |
---|
12 | uselib += ['JACK'] |
---|
13 | |
---|
14 | ctx(features = 'c', |
---|
15 | source = source, |
---|
16 | includes = ['.'], |
---|
17 | uselib = uselib, |
---|
18 | lib = 'm', |
---|
19 | target = 'lib_objects') |
---|
20 | |
---|
21 | # build libaubio.so (cshlib) and/or libaubio.a (cstlib) |
---|
22 | if ctx.env['DEST_OS'] in ['ios', 'iosimulator']: |
---|
23 | build_features = ['cstlib'] |
---|
24 | else: #linux, darwin, android, mingw, ... |
---|
25 | build_features = ['cshlib', 'cstlib'] |
---|
26 | |
---|
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']) |
---|
33 | |
---|
34 | # install headers, except _priv.h ones |
---|
35 | ctx.install_files('${PREFIX}/include/aubio/', |
---|
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.