mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-06-13 14:33:03 -04:00
spa: meson: Bring back ldacBT-dec
This commit is contained in:
parent
6a8dd07ec9
commit
1719d14fb3
1 changed files with 4 additions and 1 deletions
|
|
@ -80,7 +80,9 @@ if get_option('spa-plugins').allowed()
|
|||
|
||||
ldac_dec_dep = dependency('', required: false)
|
||||
if get_option('bluez5-codec-ldac-dec').allowed()
|
||||
dep = dependency('ldacBT', required : false)
|
||||
ldac_dec_dep = dependency('ldacBT-dec', required : false)
|
||||
if not ldac_dec_dep.found()
|
||||
dep = cc.find_library('ldacBT-dec', required : false)
|
||||
if dep.found() and cc.has_function('ldacBT_decode', dependencies : dep)
|
||||
ldac_dec_dep = dep
|
||||
else
|
||||
|
|
@ -96,6 +98,7 @@ if get_option('spa-plugins').allowed()
|
|||
error('LDAC decoder library not found')
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
summary({'LDAC DEC': ldac_dec_dep.found()}, bool_yn: true, section: 'Bluetooth audio codecs')
|
||||
|
||||
aptx_dep = dependency('libfreeaptx', required : get_option('bluez5-codec-aptx'))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue