mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04: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
|
|
@ -6,13 +6,19 @@ bluez5_sources = ['plugin.c',
|
|||
'sco-sink.c',
|
||||
'sco-source.c',
|
||||
'bluez5-device.c',
|
||||
'bluez5-dbus.c',
|
||||
'backend-hsp-native.c',
|
||||
'backend-ofono.c']
|
||||
'bluez5-dbus.c']
|
||||
|
||||
if get_option('bluez5-backend-native')
|
||||
bluez5_sources += ['backend-hsp-native.c']
|
||||
endif
|
||||
|
||||
if get_option('bluez5-backend-ofono')
|
||||
bluez5_sources += ['backend-ofono.c']
|
||||
endif
|
||||
|
||||
bluez5lib = shared_library('spa-bluez5',
|
||||
bluez5_sources,
|
||||
include_directories : [ spa_inc ],
|
||||
include_directories : [ spa_inc, configinc ],
|
||||
c_args : [ '-D_GNU_SOURCE' ],
|
||||
dependencies : [ dbus_dep, sbc_dep, bluez_dep ],
|
||||
install : true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue