2018-01-11 10:23:37 +01:00
|
|
|
|
|
|
|
|
bluez5_sources = ['plugin.c',
|
2019-05-16 13:18:45 +02:00
|
|
|
'a2dp-codecs.c',
|
2018-01-11 10:23:37 +01:00
|
|
|
'a2dp-sink.c',
|
2019-04-19 13:26:07 -04:00
|
|
|
'a2dp-source.c',
|
2019-07-31 12:11:56 -04:00
|
|
|
'sco-sink.c',
|
|
|
|
|
'sco-source.c',
|
2018-11-26 12:18:53 +01:00
|
|
|
'bluez5-device.c',
|
2020-07-22 14:50:38 +02:00
|
|
|
'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
|
2018-01-11 10:23:37 +01:00
|
|
|
|
2020-07-22 17:40:32 +02:00
|
|
|
if get_option('bluez5-backend-hsphfpd')
|
|
|
|
|
bluez5_sources += ['backend-hsphfpd.c']
|
|
|
|
|
endif
|
|
|
|
|
|
2018-01-11 10:23:37 +01:00
|
|
|
bluez5lib = shared_library('spa-bluez5',
|
|
|
|
|
bluez5_sources,
|
2020-07-22 14:50:38 +02:00
|
|
|
include_directories : [ spa_inc, configinc ],
|
2019-01-08 17:35:36 +01:00
|
|
|
c_args : [ '-D_GNU_SOURCE' ],
|
2018-11-27 17:19:32 +01:00
|
|
|
dependencies : [ dbus_dep, sbc_dep, bluez_dep ],
|
2018-01-11 10:23:37 +01:00
|
|
|
install : true,
|
2020-01-29 15:51:41 +01:00
|
|
|
install_dir : join_paths(spa_plugindir, 'bluez5'))
|