package/sway: enable swaynag support
Add a config option to build sway with swaynag support. Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
parent
31058f5fdf
commit
4163b67c37
@ -43,6 +43,11 @@ config BR2_PACKAGE_SWAY_SWAYBAR_TRAY
|
||||
|
||||
endif # BR2_PACKAGE_SWAY_SWAYBAR
|
||||
|
||||
config BR2_PACKAGE_SWAY_SWAYNAG
|
||||
bool "swaynag"
|
||||
help
|
||||
Enable support for swaynag
|
||||
|
||||
endif # BR2_PACKAGE_SWAY
|
||||
|
||||
comment "sway needs systemd, udev, EGL w/ Wayland backend and OpenGL ES support"
|
||||
|
@ -13,7 +13,6 @@ SWAY_CONF_OPTS = \
|
||||
-Dwerror=false \
|
||||
-Dzsh-completions=false \
|
||||
-Dfish-completions=false \
|
||||
-Dswaynag=false \
|
||||
-Dman-pages=disabled \
|
||||
-Dsd-bus-provider=libsystemd
|
||||
|
||||
@ -48,6 +47,12 @@ else
|
||||
SWAY_CONF_OPTS += -Dswaybar=false
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SWAY_SWAYNAG),y)
|
||||
SWAY_CONF_OPTS += -Dswaynag=true
|
||||
else
|
||||
SWAY_CONF_OPTS += -Dswaynag=false
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SWAY_SWAYBAR_TRAY),y)
|
||||
SWAY_CONF_OPTS += -Dtray=enabled
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user