feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change
on this file since 9ead7a9 was
30250de,
checked in by Paul Brossier <piem@piem.org>, 12 years ago
|
wscript: build a static lib for iphone, add a message about licensing
|
-
Property mode set to
100644
|
File size:
766 bytes
|
Line | |
---|
1 | # vim:set syntax=python: |
---|
2 | |
---|
3 | source = ctx.path.ant_glob('*.c **/*.c') |
---|
4 | uselib = [] |
---|
5 | |
---|
6 | if 'HAVE_FFTW3' in conf.get_env(): |
---|
7 | source.filter(lambda x: not x.endswith('ooura_fft8g.c')) |
---|
8 | uselib += ['FFTW3', 'FFTW3F'] |
---|
9 | |
---|
10 | if 'HAVE_SAMPLERATE': |
---|
11 | uselib += ['SAMPLERATE'] |
---|
12 | |
---|
13 | if 'HAVE_SNDFILE': |
---|
14 | uselib += ['SNDFILE'] |
---|
15 | |
---|
16 | # build libaubio |
---|
17 | from waflib import Options |
---|
18 | if Options.platform == 'ios': build_lib_func = ctx.stlib |
---|
19 | else: build_lib_func = ctx.shlib |
---|
20 | build_lib_func( |
---|
21 | includes = ['.'], |
---|
22 | source = source, |
---|
23 | target = 'aubio', |
---|
24 | lib = 'm', |
---|
25 | uselib = uselib, |
---|
26 | vnum = ctx.env['LIB_VERSION']) |
---|
27 | |
---|
28 | # install headers, except _priv.h ones |
---|
29 | ctx.install_files('${PREFIX}/include/aubio/', |
---|
30 | |
---|
31 | ctx.path.ant_glob('**/*.h', excl = ['**_priv.h', 'config.h']), |
---|
32 | relative_trick=True) |
---|
Note: See
TracBrowser
for help on using the repository browser.