2018-09-22 17:37:19 +07:00
|
|
|
libbluez5_util_sources = [
|
2019-04-12 16:05:51 +03:00
|
|
|
'a2dp-codec-sbc.c',
|
|
|
|
|
'a2dp-codec-util.c',
|
2018-09-22 17:37:19 +07:00
|
|
|
'bluez5-util.c',
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
libbluez5_util_headers = [
|
2019-04-12 16:05:51 +03:00
|
|
|
'a2dp-codec-api.h',
|
2018-09-22 17:37:19 +07:00
|
|
|
'a2dp-codecs.h',
|
2019-04-12 16:05:51 +03:00
|
|
|
'a2dp-codec-util.h',
|
2018-09-22 17:37:19 +07:00
|
|
|
'bluez5-util.h',
|
|
|
|
|
'rtp.h',
|
|
|
|
|
]
|
|
|
|
|
|
2018-10-19 17:40:06 +07:00
|
|
|
if get_option('bluez5-native-headset')
|
2018-09-22 17:37:19 +07:00
|
|
|
libbluez5_util_sources += [ 'backend-native.c' ]
|
|
|
|
|
endif
|
|
|
|
|
|
2018-10-19 17:40:06 +07:00
|
|
|
if get_option('bluez5-ofono-headset')
|
|
|
|
|
libbluez5_util_sources += [ 'backend-ofono.c' ]
|
|
|
|
|
endif
|
2018-09-22 17:37:19 +07:00
|
|
|
|
2018-11-26 15:36:13 +07:00
|
|
|
libbluez5_util = shared_library('bluez5-util',
|
2018-09-22 17:37:19 +07:00
|
|
|
libbluez5_util_sources,
|
|
|
|
|
libbluez5_util_headers,
|
|
|
|
|
c_args : [pa_c_args, server_c_args],
|
2019-08-03 01:52:09 +05:30
|
|
|
link_args : [nodelete_link_args],
|
2018-09-22 17:37:19 +07:00
|
|
|
include_directories : [configinc, topinc],
|
2019-04-12 16:05:51 +03:00
|
|
|
dependencies : [libpulse_dep, libpulsecommon_dep, libpulsecore_dep, dbus_dep, sbc_dep],
|
2018-10-13 11:50:03 +05:30
|
|
|
install : true,
|
|
|
|
|
install_dir : modlibexecdir,
|
2018-09-22 17:37:19 +07:00
|
|
|
)
|