mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
meson: Add 'feature' options to enable/disable bluetooth codecs
Fixes: #606
This commit is contained in:
parent
b07bfd0661
commit
4c9af21ec6
2 changed files with 16 additions and 4 deletions
|
|
@ -90,6 +90,18 @@ option('bluez5-backend-hsphfpd',
|
||||||
description: 'Enable hsphfpd backend in bluez5 spa plugin',
|
description: 'Enable hsphfpd backend in bluez5 spa plugin',
|
||||||
type: 'feature',
|
type: 'feature',
|
||||||
value: 'auto')
|
value: 'auto')
|
||||||
|
option('bluez5-codec-aptx',
|
||||||
|
description: 'Enable AptX Qualcomm proprietary codec implementation',
|
||||||
|
type: 'feature',
|
||||||
|
value: 'auto')
|
||||||
|
option('bluez5-codec-ldac',
|
||||||
|
description: 'Enable LDAC Sony proprietary codec implementation',
|
||||||
|
type: 'feature',
|
||||||
|
value: 'auto')
|
||||||
|
option('bluez5-codec-aac',
|
||||||
|
description: 'Enable Fraunhofer FDK AAC open source codec implementation',
|
||||||
|
type: 'feature',
|
||||||
|
value: 'auto')
|
||||||
option('control',
|
option('control',
|
||||||
description: 'Enable control spa plugin integration',
|
description: 'Enable control spa plugin integration',
|
||||||
type: 'feature',
|
type: 'feature',
|
||||||
|
|
|
||||||
|
|
@ -23,10 +23,10 @@ if not get_option('spa-plugins').disabled()
|
||||||
alsa_dep = dependency('alsa', required: get_option('alsa'))
|
alsa_dep = dependency('alsa', required: get_option('alsa'))
|
||||||
bluez_dep = dependency('bluez', version : '>= 4.101', required: get_option('bluez5'))
|
bluez_dep = dependency('bluez', version : '>= 4.101', required: get_option('bluez5'))
|
||||||
sbc_dep = dependency('sbc', required: get_option('bluez5'))
|
sbc_dep = dependency('sbc', required: get_option('bluez5'))
|
||||||
ldac_dep = dependency('ldacBT-enc', required : false)
|
ldac_dep = dependency('ldacBT-enc', required : get_option('bluez5-codec-ldac'))
|
||||||
ldac_abr_dep = dependency('ldacBT-abr', required : false)
|
ldac_abr_dep = dependency('ldacBT-abr', required : get_option('bluez5-codec-ldac'))
|
||||||
aptx_dep = dependency('libopenaptx', required : false)
|
aptx_dep = dependency('libopenaptx', required : get_option('bluez5-codec-aptx'))
|
||||||
fdk_aac_dep = dependency('fdk-aac', required : false)
|
fdk_aac_dep = dependency('fdk-aac', required : get_option('bluez5-codec-aac'))
|
||||||
avcodec_dep = dependency('libavcodec', required: get_option('ffmpeg'))
|
avcodec_dep = dependency('libavcodec', required: get_option('ffmpeg'))
|
||||||
avformat_dep = dependency('libavformat', required: get_option('ffmpeg'))
|
avformat_dep = dependency('libavformat', required: get_option('ffmpeg'))
|
||||||
jack_dep = dependency('jack', version : '>= 1.9.10', required: get_option('jack'))
|
jack_dep = dependency('jack', version : '>= 1.9.10', required: get_option('jack'))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue