forked from external/yambar
meson: make ‘sway-xkb’ plugin compile time optional
This commit is contained in:
parent
0cf0d64970
commit
b6450446a8
4 changed files with 22 additions and 10 deletions
|
@ -148,6 +148,7 @@ yambar = executable(
|
|||
plugin_pulse_enabled ? '-DPLUGIN_ENABLED_PULSE' : [],
|
||||
plugin_removables_enabled ? '-DPLUGIN_ENABLED_REMOVABLES' : [],
|
||||
plugin_script_enabled ? '-DPLUGIN_ENABLED_SCRIPT' : [],
|
||||
plugin_sway_xkb_enabled ? '-DPLUGIN_ENABLED_SWAY_XKB' : [],
|
||||
],
|
||||
build_rpath: '$ORIGIN/modules:$ORIGIN/decorations:$ORIGIN/particles',
|
||||
export_dynamic: true,
|
||||
|
@ -202,6 +203,7 @@ summary(
|
|||
'PulseAudio': plugin_pulse_enabled,
|
||||
'Removables monitoring': plugin_removables_enabled,
|
||||
'Script': plugin_script_enabled,
|
||||
'Sway XKB keyboard': plugin_sway_xkb_enabled,
|
||||
},
|
||||
section: 'Optional modules',
|
||||
bool_yn: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue