feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change
on this file since d3b9fe4 was
ba0ba10,
checked in by Paul Brossier <piem@piem.org>, 11 years ago
|
src/io/source_avcodec.c: added first draft
|
-
Property mode set to
100644
|
File size:
1.0 KB
|
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 | uselib += ['LASH'] |
---|
14 | |
---|
15 | ctx(features = 'c', |
---|
16 | source = source, |
---|
17 | includes = ['.'], |
---|
18 | uselib = uselib, |
---|
19 | lib = 'm', |
---|
20 | target = 'lib_objects') |
---|
21 | |
---|
22 | # build libaubio.so (cshlib) and/or libaubio.a (cstlib) |
---|
23 | if ctx.env['DEST_OS'] in ['ios', 'iosimulator']: |
---|
24 | build_features = ['cstlib'] |
---|
25 | else: #linux, darwin, android, mingw, ... |
---|
26 | build_features = ['cshlib', 'cstlib'] |
---|
27 | |
---|
28 | for target in build_features: |
---|
29 | ctx(features = 'c ' + target, |
---|
30 | use = ['lib_objects'], #source = source, |
---|
31 | target = 'aubio', |
---|
32 | install_path = '${PREFIX}/lib', |
---|
33 | vnum = ctx.env['LIB_VERSION']) |
---|
34 | |
---|
35 | # install headers, except _priv.h ones |
---|
36 | ctx.install_files('${PREFIX}/include/aubio/', |
---|
37 | ctx.path.ant_glob('**/*.h', excl = ['**_priv.h', 'config.h']), |
---|
38 | relative_trick=True) |
---|
Note: See
TracBrowser
for help on using the repository browser.