|
|
@@ -135,13 +135,17 @@ def options(opt): |
|
|
'celt', |
|
|
'celt', |
|
|
help='Build with CELT') |
|
|
help='Build with CELT') |
|
|
celt.add_function(check_for_celt) |
|
|
celt.add_function(check_for_celt) |
|
|
|
|
|
|
|
|
|
|
|
# Suffix _PKG to not collide with HAVE_OPUS defined by the option. |
|
|
opus = opt.add_auto_option( |
|
|
opus = opt.add_auto_option( |
|
|
'opus', |
|
|
'opus', |
|
|
help='Build Opus netjack2') |
|
|
help='Build Opus netjack2') |
|
|
opus.check(header_name='opus/opus_custom.h') |
|
|
opus.check(header_name='opus/opus_custom.h') |
|
|
opus.check_cfg( |
|
|
opus.check_cfg( |
|
|
package='opus >= 0.9.0', |
|
|
package='opus >= 0.9.0', |
|
|
args='--cflags --libs') |
|
|
|
|
|
|
|
|
args='--cflags --libs', |
|
|
|
|
|
define_name='HAVE_OPUS_PKG') |
|
|
|
|
|
|
|
|
samplerate = opt.add_auto_option( |
|
|
samplerate = opt.add_auto_option( |
|
|
'samplerate', |
|
|
'samplerate', |
|
|
help='Build with libsamplerate') |
|
|
help='Build with libsamplerate') |
|
|
|