meson: make ‘xwindow’ plugin compile time optional

This commit is contained in:
Daniel Eklöf 2022-12-14 10:02:13 +01:00
parent a14d38b0cb
commit 1a81255579
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
4 changed files with 14 additions and 8 deletions

View file

@ -150,6 +150,7 @@ yambar = executable(
plugin_script_enabled ? '-DPLUGIN_ENABLED_SCRIPT' : [],
plugin_sway_xkb_enabled ? '-DPLUGIN_ENABLED_SWAY_XKB' : [],
plugin_xkb_enabled ? '-DPLUGIN_ENABLED_XKB' : [],
plugin_xwindow_enabled ? '-DPLUGIN_ENABLED_XWINDOW' : [],
],
build_rpath: '$ORIGIN/modules:$ORIGIN/decorations:$ORIGIN/particles',
export_dynamic: true,
@ -206,6 +207,7 @@ summary(
'Script': plugin_script_enabled,
'Sway XKB keyboard': plugin_sway_xkb_enabled,
'XKB keyboard (for X11)': plugin_xkb_enabled,
'XWindow': plugin_xwindow_enabled,
},
section: 'Optional modules',
bool_yn: true