• 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' ]
19  libbluez5_util_sources += [ 'upower.c' ]
20  libbluez5_util_headers += [ 'upower.h' ]
21endif
22
23if get_option('bluez5-ofono-headset')
24  libbluez5_util_sources += [ 'backend-ofono.c' ]
25endif
26
27if have_bluez5_gstreamer
28  libbluez5_util_headers += [ 'a2dp-codec-gst.h' ]
29  libbluez5_util_sources += [ 'a2dp-codec-gst.c' ]
30  libbluez5_util_sources += [ 'a2dp-codec-ldac-gst.c' ]
31  libbluez5_util_sources += [ 'a2dp-codec-aptx-gst.c' ]
32endif
33
34libbluez5_util = shared_library('bluez5-util',
35  libbluez5_util_sources,
36  libbluez5_util_headers,
37  c_args : [pa_c_args, server_c_args],
38  link_args : [nodelete_link_args],
39  include_directories : [configinc, topinc],
40  dependencies : [libpulse_dep, libpulsecommon_dep, libpulsecore_dep, bluez_dep, dbus_dep, sbc_dep, libintl_dep, bluez5_gst_dep, bluez5_gstapp_dep, libm_dep],
41  install : true,
42  install_rpath : privlibdir,
43  install_dir : modlibexecdir,
44)
45