Files
Adam Duskett 1c36534664 package/wmenu: new package
wmenu is an efficient dynamic menu for Sway and wlroots based Wayland
compositors. It provides a Wayland-native dmenu replacement which
maintains the look and feel of dmenu.

Furthermore, as of commit [1], sway uses wmenu instead of dmenu-wayland
with the following commit message:

"""
Switch default config to wmenu-run
This removes the last dependency bit on dmenu. No need for
"swaymsg exec" anymore: wmenu-run handles the xdg-activation
shenanigans.
"""

As such, change sway/Config.in to select wmenu instead of dmenu-wayland when
a user selects swaybar.

[1] https://github.com/swaywm/sway/commit/b44015578a3d53cdd9436850202d4405696c1f52

Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-09-27 22:46:14 +02:00

30 lines
1.1 KiB
Plaintext

config BR2_PACKAGE_WMENU
bool "wmenu"
depends on BR2_USE_MMU # pango
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pango
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2, pango, wayland
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # pango
depends on !BR2_STATIC_LIBS # wayland
depends on BR2_INSTALL_LIBSTDCPP # pango
depends on BR2_USE_WCHAR # libglib2, pango
select BR2_PACKAGE_CAIRO
select BR2_PACKAGE_CAIRO_PNG
select BR2_PACKAGE_LIBGLIB2
select BR2_PACKAGE_LIBXKBCOMMON
select BR2_PACKAGE_PANGO
select BR2_PACKAGE_WAYLAND
select BR2_PACKAGE_WAYLAND_PROTOCOLS
help
wmenu is an efficient dynamic menu for Sway and wlroots based
Wayland compositors. It provides a Wayland-native dmenu
replacement which maintains the look and feel of dmenu.
https://codeberg.org/adnano/wmenu
comment "wmenu 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_TOOLCHAIN_HAS_THREADS || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || BR2_STATIC_LIBS || \
!BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR