mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-06-16 00:05:40 +02:00
meson: make ‘backlight’ plugin compile time optional
This commit is contained in:
parent
4c1398f1a5
commit
881359183f
4 changed files with 20 additions and 3 deletions
|
@ -133,6 +133,7 @@ yambar = executable(
|
|||
decorations + particles + modules,
|
||||
c_args: [
|
||||
plugin_alsa_enabled ? '-DPLUGIN_ENABLED_ALSA' : [],
|
||||
plugin_backlight_enabled ? '-DPLUGIN_ENABLED_BACKLIGHT' : [],
|
||||
plugin_dwl_enabled ? '-DPLUGIN_ENABLED_DWL' : [],
|
||||
plugin_mpd_enabled ? '-DPLUGIN_ENABLED_MPD' : [],
|
||||
plugin_pipewire_enabled ? '-DPLUGIN_ENABLED_PIPEWIRE' : [],
|
||||
|
@ -176,6 +177,7 @@ summary(
|
|||
summary(
|
||||
{
|
||||
'ALSA': plugin_alsa_enabled,
|
||||
'Backlight': plugin_backlight_enabled,
|
||||
'DWL (dwm for Wayland)': plugin_dwl_enabled,
|
||||
'Music Player Daemon (MPD)': plugin_mpd_enabled,
|
||||
'Pipewire': plugin_pipewire_enabled,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue