bluez5: add GDBus-based object monitor framework

This commit is contained in:
Pauli Virtanen 2022-11-14 01:48:27 +02:00 committed by Wim Taymans
parent 8d438d26ab
commit de595a78ff
6 changed files with 393 additions and 6 deletions

View file

@ -42,8 +42,11 @@ if get_option('spa-plugins').allowed()
alsa_dep = dependency('alsa', required: get_option('alsa'))
summary({'ALSA': alsa_dep.found()}, bool_yn: true, section: 'Backend')
bluez_dep = dependency('bluez', version : '>= 4.101', required: get_option('bluez5'))
summary({'Bluetooth audio': bluez_dep.found()}, bool_yn: true, section: 'Backend')
if bluez_dep.found()
gio_dep = dependency('gio-2.0', required : get_option('bluez5'))
gio_unix_dep = dependency('gio-unix-2.0', required : get_option('bluez5'))
bluez_deps_found = bluez_dep.found() and gio_dep.found() and gio_unix_dep.found()
summary({'Bluetooth audio': bluez_deps_found}, bool_yn: true, section: 'Backend')
if bluez_deps_found
sbc_dep = dependency('sbc', required: get_option('bluez5'))
summary({'SBC': sbc_dep.found()}, bool_yn: true, section: 'Bluetooth audio codecs')
ldac_dep = dependency('ldacBT-enc', required : get_option('bluez5-codec-ldac'))