diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2008-05-15 19:37:35 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2008-05-15 19:37:35 +0000 |
commit | 5f61efff8f4d80c9576fb8524f37cb8905ba51a8 (patch) | |
tree | 65789ad104dd88209dfb1a518f610457a127650a /SConstruct | |
parent | 5ea9dee73b75b01e6db3a5a97c5a02493b358b00 (diff) |
add note onset detection to the ferret, c/o the aubio-based Onset VAMP plugin (REQUIRES libaubio installed); add toggle-region-opaque menu item for scalable ops on region opacity
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3356 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/SConstruct b/SConstruct index 157c387ca5..2e09c25328 100644 --- a/SConstruct +++ b/SConstruct @@ -57,7 +57,9 @@ opts.AddOptions( BoolOption('LV2', 'Compile with support for LV2 (if slv2 is available)', 0), BoolOption('GPROFILE', 'Compile with support for gprofile (Developers only)', 0), BoolOption('FREEDESKTOP', 'Install MIME type, icons and .desktop file as per the freedesktop.org spec (requires xdg-utils and shared-mime-info). "scons uninstall" removes associations in desktop database', 0), - BoolOption('TRANZPORT', 'Compile with support for Frontier Designs (if libusb is available)', 1) + BoolOption('TRANZPORT', 'Compile with support for Frontier Designs (if libusb is available)', 1), + BoolOption('AUBIO', "Use Paul Brossier's aubio library for feature detection (if available)", 1) + ) #---------------------------------------------------------------------- @@ -450,7 +452,8 @@ deps = \ 'raptor' : '1.4.2', 'lrdf' : '0.4.0', 'jack' : '0.101.1', - 'libgnomecanvas-2.0' : '2.0' + 'libgnomecanvas-2.0' : '2.0', + 'aubio' : '0.3.2' } def DependenciesRequiredMessage(): @@ -523,6 +526,10 @@ if conf.CheckPKGExists ('fftw3'): libraries['fftw3'] = LibraryInfo() libraries['fftw3'].ParseConfig('pkg-config --cflags --libs fftw3') +if conf.CheckPKGExists ('aubio'): + libraries['aubio'] = LibraryInfo() + libraries['aubio'].ParseConfig('pkg-config --cflags --libs aubio') + env = conf.Finish () if env['FFT_ANALYSIS']: @@ -537,6 +544,18 @@ if env['FFT_ANALYSIS']: sys.exit (1) conf.Finish() +if env['AUBIO']: + # + # Check for aubio header as well as the library + # + + conf = Configure(libraries['aubio']) + + if conf.CheckHeader ('aubio/aubio.h') == False: + print ('AUBIO-related features be compiled without the aubio headers, which do not seem to be installed') + env['AUBIO'] = 0 + conf.Finish() + if env['FREESOUND']: # # Check for curl header as well as the library |