'libs/ptformat',
'libs/qm-dsp',
'libs/vamp-plugins',
+ 'libs/vamp-pyin',
'libs/zita-resampler',
'libs/zita-convolver',
# core ardour libraries
autowaf.set_basic_compiler_flags (conf,flags_dict)
+ #
+ # the transition table for the libardour transport state machine
+ # is larger than the default that is hard-coded in boost::mpl.
+ # These need to be defined before any boost headers are used,
+ # and just about the only way to be sure that is true is to define
+ # them on the "command line" here.
+ #
+ cxx_flags.append ('-DBOOST_MPL_CFG_NO_PREPROCESSED_HEADERS')
+ cxx_flags.append ('-DBOOST_MPL_LIMIT_VECTOR_SIZE=30')
+ cxx_flags.append ('-DBOOST_MPL_LIMIT_MAP_SIZE=30')
+
if conf.options.asan:
conf.check_cxx(cxxflags=["-fsanitize=address", "-fno-omit-frame-pointer"], linkflags=["-fsanitize=address"])
cxx_flags.append('-fsanitize=address')
if re.search ("linux", sys.platform) != None and Options.options.dist_target != 'mingw':
autowaf.check_pkg(conf, 'alsa', uselib_store='ALSA')
+ if re.search ("linux", sys.platform) != None and Options.options.dist_target != 'mingw':
+ autowaf.check_pkg(conf, 'libpulse', uselib_store='PULSEAUDIO', mandatory=False)
+
if re.search ("openbsd", sys.platform) != None:
conf.env.append_value('LDFLAGS', '-L/usr/X11R6/lib')
conf.env['BUILD_DUMMYBACKEND'] = any('dummy' in b for b in backends)
conf.env['BUILD_PABACKEND'] = any('portaudio' in b for b in backends)
conf.env['BUILD_CORECRAPPITA'] = any('coreaudio' in b for b in backends)
+ conf.env['BUILD_PULSEAUDIO'] = any('pulseaudio' in b for b in backends)
if re.search ("linux", sys.platform) != None and Options.options.dist_target != 'mingw' and conf.env['BUILD_PABACKEND']:
print("PortAudio Backend is not for Linux")
print("ALSA Backend is only available on Linux")
sys.exit(1)
+ if re.search ("linux", sys.platform) == None and conf.env['BUILD_PULSEAUDIO']:
+ print("Pulseaudio Backend is only available on Linux")
+ sys.exit(1)
+
+ if conf.env['BUILD_PULSEAUDIO'] and not conf.is_defined('HAVE_PULSEAUDIO'):
+ print("Pulseaudio Backend requires libpulse-dev")
+ sys.exit(1)
+
set_compiler_flags (conf, Options.options)
if sys.platform == 'darwin':
write_config_text('Libjack linking', conf.env['libjack_link'])
write_config_text('Libjack metadata', conf.is_defined ('HAVE_JACK_METADATA'))
write_config_text('Lua Binding Doc', conf.is_defined('LUABINDINGDOC'))
+ write_config_text('Lua Commandline Tool', conf.is_defined('HAVE_READLINE') and not (conf.is_defined('WINDOWS_VST_SUPPORT') and conf.env['build_target'] != 'mingw'))
write_config_text('LV2 UI embedding', conf.is_defined('HAVE_SUIL'))
write_config_text('LV2 support', conf.is_defined('LV2_SUPPORT'))
write_config_text('LV2 extensions', conf.is_defined('LV2_EXTENDED'))
write_config_text('ALSA Backend', conf.env['BUILD_ALSABACKEND'])
write_config_text('Dummy backend', conf.env['BUILD_DUMMYBACKEND'])
write_config_text('JACK Backend', conf.env['BUILD_JACKBACKEND'])
+ write_config_text('Pulseaudio Backend', conf.env['BUILD_PULSEAUDIO'])
config_text.write("\\n\\\n")
write_config_text('Buildstack', conf.env['DEPSTACK_REV'])
write_config_text('Mac i386 Architecture', opts.generic)