summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@spawned.biz>2025-10-10 10:01:01 +0200
committerJoel Klinghed <the_jk@spawned.biz>2025-10-19 00:13:47 +0200
commitdad0aaa9b33a5a217ac115334a94fe299dce9e08 (patch)
treebaeffb1e3ef6a6e100bc2f255581d77c4b9a45d3 /meson.build
parent86ec0b5386fc2078891a829026844d2ec21ea7db (diff)
Add bluetooth module
Can't really do anything yet, but finds the bluetooth adapter and registers an agent to make it pairable.
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build32
1 files changed, 32 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 6977765..ae82f44 100644
--- a/meson.build
+++ b/meson.build
@@ -68,6 +68,8 @@ io_lib = library(
'src/io.hh',
'src/unique_fd.cc',
'src/unique_fd.hh',
+ 'src/unique_pipe.cc',
+ 'src/unique_pipe.hh',
],
include_directories: inc,
)
@@ -149,6 +151,34 @@ http_dep = declare_dependency(
dependencies: [buffer_dep, logger_dep, looper_dep],
)
+bt_lib = library(
+ 'bt',
+ sources: [
+ 'src/bt.cc',
+ 'src/bt.hh',
+ ],
+ include_directories: inc,
+ dependencies: [logger_dep, looper_dep, dbus_dep],
+)
+bt_dep = declare_dependency(
+ link_with: bt_lib,
+ dependencies: [logger_dep, looper_dep, dbus_dep],
+)
+
+signals_lib = library(
+ 'signals',
+ sources: [
+ 'src/signals.cc',
+ 'src/signals.hh',
+ ],
+ include_directories: inc,
+ dependencies: [io_dep, looper_dep],
+)
+signals_dep = declare_dependency(
+ link_with: signals_lib,
+ dependencies: [io_dep, looper_dep],
+)
+
bluetooth_jukebox = executable(
'bluetooth-jukebox',
sources: [
@@ -158,9 +188,11 @@ bluetooth_jukebox = executable(
install : true,
dependencies : [
args_dep,
+ bt_dep,
cfg_dep,
http_dep,
looper_dep,
+ signals_dep,
],
)