mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
Initial commit for Waybar JACK monitoring module
-DSP load -xruns -connected/disconnected state -only tested with Pipewire so far but should work with JACK2 as well On branch dsp Changes to be committed: modified: include/factory.hpp new file: include/modules/jack.hpp modified: meson.build modified: meson_options.txt modified: src/factory.cpp new file: src/modules/jack.cpp
This commit is contained in:

committed by
kennypm

parent
d906080f26
commit
8fc8bb40bf
@ -98,6 +98,8 @@ libudev = dependency('libudev', required: get_option('libudev'))
|
||||
libevdev = dependency('libevdev', required: get_option('libevdev'))
|
||||
libmpdclient = dependency('libmpdclient', required: get_option('mpd'))
|
||||
xkbregistry = dependency('xkbregistry')
|
||||
libjack = dependency('jack', required: get_option('jack'))
|
||||
libprocps = dependency('libprocps', required: get_option('jack'))
|
||||
|
||||
libsndio = compiler.find_library('sndio', required: get_option('sndio'))
|
||||
if libsndio.found()
|
||||
@ -222,6 +224,11 @@ if libpulse.found()
|
||||
src_files += 'src/modules/pulseaudio.cpp'
|
||||
endif
|
||||
|
||||
if libjack.found() and libprocps.found()
|
||||
add_project_arguments('-DHAVE_LIBJACK', language: 'cpp')
|
||||
src_files += 'src/modules/jack.cpp'
|
||||
endif
|
||||
|
||||
if dbusmenu_gtk.found()
|
||||
add_project_arguments('-DHAVE_DBUSMENU', language: 'cpp')
|
||||
src_files += files(
|
||||
@ -302,6 +309,8 @@ executable(
|
||||
libnlgen,
|
||||
upower_glib,
|
||||
libpulse,
|
||||
libjack,
|
||||
libprocps,
|
||||
libudev,
|
||||
libepoll,
|
||||
libmpdclient,
|
||||
|
Reference in New Issue
Block a user