diff options
| author | Joel Klinghed <the_jk@spawned.biz> | 2025-10-19 00:12:50 +0200 |
|---|---|---|
| committer | Joel Klinghed <the_jk@spawned.biz> | 2025-10-19 00:31:19 +0200 |
| commit | e7c74917191a4953d495295b65732aa3549ba753 (patch) | |
| tree | fde3fc6080786b3e3e4526b3793bacbb390d2b17 /meson.build | |
| parent | 4f6ead7c2c646b6b866274299c05d08170d2dfb0 (diff) | |
Add new module websocket and use it
Implement /api/v1/events which will send out messages when
things change, such as the main controller.
Diffstat (limited to 'meson.build')
| -rw-r--r-- | meson.build | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/meson.build b/meson.build index 7b751db..93e6534 100644 --- a/meson.build +++ b/meson.build @@ -230,6 +230,20 @@ sha1_dep = declare_dependency( dependencies: [sha1_inner_dep], ) +websocket_lib = library( + 'websocket', + sources: [ + 'src/websocket.cc', + 'src/websocket.hh', + ], + include_directories: inc, + dependencies: [base64_dep, looper_dep, logger_dep, str_dep, sha1_dep], +) +websocket_dep = declare_dependency( + link_with: websocket_lib, + dependencies: [base64_dep, looper_dep, logger_dep, str_dep, sha1_dep], +) + bluetooth_jukebox = executable( 'bluetooth-jukebox', sources: [ @@ -242,8 +256,10 @@ bluetooth_jukebox = executable( bt_dep, cfg_dep, http_dep, + json_dep, looper_dep, signals_dep, + websocket_dep, ], ) |
