| config BR2_PACKAGE_SWAY |
| bool "sway" |
| depends on BR2_PACKAGE_SYSTEMD # is required by the sd-bus provider |
| depends on !BR2_STATIC_LIBS # wlroots |
| depends on BR2_TOOLCHAIN_HAS_THREADS # pango, wlroots |
| depends on BR2_PACKAGE_HAS_LIBEGL # wlroots |
| depends on BR2_PACKAGE_HAS_LIBGLES # wlroots |
| depends on BR2_PACKAGE_HAS_UDEV # wlroots |
| depends on BR2_TOOLCHAIN_HAS_SYNC_4 # json-c, pango |
| 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 |
| select BR2_PACKAGE_XKEYBOARD_CONFIG # runtime |
| help |
| i3-compatible Wayland compositor |
| 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! |
| |
| https://github.com/swaywm/sway |
| |
| 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 |
| |
| 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 |
| |
| config BR2_PACKAGE_SWAY_SWAYNAG |
| bool "swaynag" |
| help |
| Enable support for swaynag |
| |
| endif # BR2_PACKAGE_SWAY |
| |
| comment "sway needs systemd, udev, EGL and OpenGL ES support" |
| depends on !BR2_PACKAGE_SYSTEMD || \ |
| !BR2_PACKAGE_HAS_UDEV || \ |
| !BR2_PACKAGE_HAS_LIBEGL || \ |
| !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 |