mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-15 08:56:38 -05:00
bluez5: Make native and ofono backends optional
This commit is contained in:
parent
ebdaac160c
commit
db0c224b06
5 changed files with 55 additions and 4 deletions
|
|
@ -254,6 +254,15 @@ if get_option('systemd')
|
|||
endif
|
||||
endif
|
||||
|
||||
if get_option('bluez5')
|
||||
if get_option('bluez5-backend-native')
|
||||
cdata.set('HAVE_BLUEZ_5_BACKEND_NATIVE', 1)
|
||||
endif
|
||||
if get_option('bluez5-backend-ofono')
|
||||
cdata.set('HAVE_BLUEZ_5_BACKEND_OFONO', 1)
|
||||
endif
|
||||
endif
|
||||
|
||||
configure_file(input : 'config.h.meson',
|
||||
output : 'config.h',
|
||||
configuration : cdata)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue