pipewire/spa/plugins/bluez5/meson.build

30 lines
702 B
Meson
Raw Normal View History

2018-01-11 10:23:37 +01:00
bluez5_sources = ['plugin.c',
'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',
'sco-sink.c',
'sco-source.c',
'bluez5-device.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
2018-01-11 10:23:37 +01: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,
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,
install_dir : join_paths(spa_plugindir, 'bluez5'))