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
