• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1libbluez5_util_sources = [
2  'a2dp-codec-sbc.c',
3  'a2dp-codec-util.c',
4  'bluez5-util.c',
5  'bt-codec-cvsd.c',
6  'bt-codec-msbc.c',
7]
8
9libbluez5_util_headers = [
10  'a2dp-codec-api.h',
11  'a2dp-codecs.h',
12  'a2dp-codec-util.h',
13  'bluez5-util.h',
14  'rtp.h',
15]
16
17if get_option('bluez5-native-headset')
18  libbluez5_util_sources += [ 'backend-native.c' ]
19endif
20
21if get_option('bluez5-ofono-headset')
22  libbluez5_util_sources += [ 'backend-ofono.c' ]
23endif
24
25if have_bluez5_gstreamer
26  libbluez5_util_headers += [ 'a2dp-codec-gst.h' ]
27  libbluez5_util_sources += [ 'a2dp-codec-gst.c' ]
28  libbluez5_util_sources += [ 'a2dp-codec-ldac-gst.c' ]
29  libbluez5_util_sources += [ 'a2dp-codec-aptx-gst.c' ]
30endif
31
32libbluez5_util = shared_library('bluez5-util',
33  libbluez5_util_sources,
34  libbluez5_util_headers,
35  c_args : [pa_c_args, server_c_args],
36  link_args : [nodelete_link_args],
37  include_directories : [configinc, topinc],
38  dependencies : [libpulse_dep, libpulsecommon_dep, libpulsecore_dep, bluez_dep, dbus_dep, sbc_dep, libintl_dep, bluez5_gst_dep, bluez5_gstapp_dep],
39  install : true,
40  install_rpath : privlibdir,
41  install_dir : modlibexecdir,
42)
43