feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change
on this file since dee4164 was
0318cc1,
checked in by Paul Brossier <piem@piem.org>, 12 years ago
|
wscript: always use installed external dependancies, simplify
|
-
Property mode set to
100644
|
File size:
661 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'] |
---|
| 8 | uselib += ['JACK'] |
---|
| 9 | uselib += ['LASH'] |
---|
[eae5898] | 10 | |
---|
[afbd7e7] | 11 | |
---|
[000b090] | 12 | # build libaubio |
---|
[30250de] | 13 | from waflib import Options |
---|
| 14 | if Options.platform == 'ios': build_lib_func = ctx.stlib |
---|
| 15 | else: build_lib_func = ctx.shlib |
---|
| 16 | build_lib_func( |
---|
[000b090] | 17 | includes = ['.'], |
---|
[729a3c0] | 18 | source = source, |
---|
[000b090] | 19 | target = 'aubio', |
---|
[729a3c0] | 20 | lib = 'm', |
---|
| 21 | uselib = uselib, |
---|
[d41bc4d] | 22 | vnum = ctx.env['LIB_VERSION']) |
---|
[000b090] | 23 | |
---|
| 24 | # install headers, except _priv.h ones |
---|
[d41bc4d] | 25 | ctx.install_files('${PREFIX}/include/aubio/', |
---|
[6ed0f4e] | 26 | |
---|
| 27 | ctx.path.ant_glob('**/*.h', excl = ['**_priv.h', 'config.h']), |
---|
| 28 | relative_trick=True) |
---|
Note: See
TracBrowser
for help on using the repository browser.