config BR2_PACKAGE_DMENU_WAYLAND
	bool "dmenu-wayland"
	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
	  dmenu-wl is an efficient dynamic menu for wayland (wlroots).

	  https://github.com/nyyManni/dmenu-wayland

comment "dmenu-wayland 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
