From 2dd5bc6a074165ddfbd57c4bd52c2d2dac8f47a1 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 18:03:18 +0200 Subject: Adding upstream version 14.2. Signed-off-by: Daniel Baumann --- src/modules/bluetooth/meson.build | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 src/modules/bluetooth/meson.build (limited to 'src/modules/bluetooth/meson.build') diff --git a/src/modules/bluetooth/meson.build b/src/modules/bluetooth/meson.build new file mode 100644 index 0000000..9982cba --- /dev/null +++ b/src/modules/bluetooth/meson.build @@ -0,0 +1,33 @@ +libbluez5_util_sources = [ + 'a2dp-codec-sbc.c', + 'a2dp-codec-util.c', + 'bluez5-util.c', +] + +libbluez5_util_headers = [ + 'a2dp-codec-api.h', + 'a2dp-codecs.h', + 'a2dp-codec-util.h', + 'bluez5-util.h', + 'rtp.h', +] + +if get_option('bluez5-native-headset') + libbluez5_util_sources += [ 'backend-native.c' ] +endif + +if get_option('bluez5-ofono-headset') + libbluez5_util_sources += [ 'backend-ofono.c' ] +endif + +libbluez5_util = shared_library('bluez5-util', + libbluez5_util_sources, + libbluez5_util_headers, + c_args : [pa_c_args, server_c_args], + link_args : [nodelete_link_args], + include_directories : [configinc, topinc], + dependencies : [libpulse_dep, libpulsecommon_dep, libpulsecore_dep, dbus_dep, sbc_dep, libintl_dep], + install : true, + install_rpath : privlibdir, + install_dir : modlibexecdir, +) -- cgit v1.2.3