2022-10-31 13:46:25 +01:00
|
|
|
config BR2_PACKAGE_SWAY
|
|
|
|
bool "sway"
|
|
|
|
depends on BR2_PACKAGE_SYSTEMD # is required by the sd-bus provider
|
|
|
|
depends on !BR2_STATIC_LIBS # wlroots
|
2023-12-18 20:39:46 +01:00
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # pango, wlroots
|
2022-10-31 13:46:25 +01:00
|
|
|
depends on BR2_PACKAGE_HAS_LIBEGL # wlroots
|
|
|
|
depends on BR2_PACKAGE_HAS_LIBEGL_WAYLAND # wlroots
|
|
|
|
depends on BR2_PACKAGE_HAS_LIBGLES # wlroots
|
|
|
|
depends on BR2_PACKAGE_HAS_UDEV # wlroots
|
2023-12-18 20:39:46 +01:00
|
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # json-c, pango
|
2022-10-31 13:46:25 +01:00
|
|
|
depends on BR2_USE_WCHAR # pango
|
|
|
|
depends on BR2_USE_MMU # pango
|
|
|
|
depends on BR2_INSTALL_LIBSTDCPP # pango
|
|
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # pango
|
|
|
|
select BR2_PACKAGE_WLROOTS
|
|
|
|
select BR2_PACKAGE_JSON_C
|
|
|
|
select BR2_PACKAGE_PCRE
|
|
|
|
select BR2_PACKAGE_CAIRO
|
|
|
|
select BR2_PACKAGE_CAIRO_PNG
|
|
|
|
select BR2_PACKAGE_PANGO
|
2023-12-18 20:39:47 +01:00
|
|
|
select BR2_PACKAGE_XKEYBOARD_CONFIG # runtime
|
2022-10-31 13:46:25 +01:00
|
|
|
help
|
|
|
|
i3-compatible Wayland compositor
|
2023-12-21 16:36:19 +01:00
|
|
|
Note:
|
|
|
|
The default sway config uses the foot package as the
|
|
|
|
default terminal. If you plan on using the default
|
|
|
|
config, it is recommended to select the foot package!
|
2022-10-31 13:46:25 +01:00
|
|
|
|
|
|
|
https://github.com/swaywm/sway
|
|
|
|
|
2023-12-21 16:36:16 +01:00
|
|
|
if BR2_PACKAGE_SWAY
|
|
|
|
|
|
|
|
config BR2_PACKAGE_SWAY_SWAYBAR
|
|
|
|
bool "swaybar"
|
|
|
|
select BR2_PACKAGE_DEJAVU
|
|
|
|
select BR2_PACKAGE_JQ if BR2_PACKAGE_BASH_COMPLETION # Runtime
|
|
|
|
select BR2_PACKAGE_DMENU_WAYLAND # Runtime
|
|
|
|
help
|
|
|
|
Enable support for swaybar
|
|
|
|
|
2023-12-21 16:36:17 +01:00
|
|
|
if BR2_PACKAGE_SWAY_SWAYBAR
|
|
|
|
|
|
|
|
config BR2_PACKAGE_SWAY_SWAYBAR_TRAY
|
|
|
|
bool "swaybar tray"
|
|
|
|
help
|
|
|
|
Enable support for swaybar tray
|
|
|
|
|
|
|
|
endif # BR2_PACKAGE_SWAY_SWAYBAR
|
|
|
|
|
2023-12-21 16:36:18 +01:00
|
|
|
config BR2_PACKAGE_SWAY_SWAYNAG
|
|
|
|
bool "swaynag"
|
|
|
|
help
|
|
|
|
Enable support for swaynag
|
|
|
|
|
2023-12-21 16:36:16 +01:00
|
|
|
endif # BR2_PACKAGE_SWAY
|
|
|
|
|
2022-10-31 13:46:25 +01:00
|
|
|
comment "sway needs systemd, udev, EGL w/ Wayland backend and OpenGL ES support"
|
|
|
|
depends on !BR2_PACKAGE_SYSTEMD || \
|
|
|
|
!BR2_PACKAGE_HAS_UDEV || \
|
|
|
|
!BR2_PACKAGE_HAS_LIBEGL || \
|
|
|
|
!BR2_PACKAGE_HAS_LIBEGL_WAYLAND || \
|
|
|
|
!BR2_PACKAGE_HAS_LIBGLES
|
|
|
|
|
|
|
|
comment "sway needs a toolchain w/ wchar, threads, C++, dynamic library, gcc >= 4.9"
|
|
|
|
depends on BR2_USE_MMU
|
|
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
|
|
|
depends on !BR2_USE_WCHAR || \
|
|
|
|
!BR2_TOOLCHAIN_HAS_THREADS || \
|
|
|
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \
|
|
|
|
!BR2_INSTALL_LIBSTDCPP || \
|
|
|
|
BR2_STATIC_LIBS
|