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>
This commit is contained in:
committed by
Julien Olivain
parent
dd84d05843
commit
1c36534664
@@ -334,6 +334,7 @@ comment "Graphic applications"
|
||||
source "package/swaybg/Config.in"
|
||||
source "package/tesseract-ocr/Config.in"
|
||||
source "package/tinifier/Config.in"
|
||||
source "package/wmenu/Config.in"
|
||||
|
||||
comment "Graphic libraries"
|
||||
source "package/cegui/Config.in"
|
||||
|
||||
@@ -33,7 +33,7 @@ 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
|
||||
select BR2_PACKAGE_WMENU # Runtime
|
||||
help
|
||||
Enable support for swaybar
|
||||
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
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
|
||||
@@ -0,0 +1,3 @@
|
||||
# Locally computed
|
||||
sha256 4e6aea3f8975fec720f6eb87aad620d5297a8a5a137615e4cf047e95d2b9d308 0.2.0.tar.gz
|
||||
sha256 500f0a221b2f3667676f6a084fb4e92ba4f74d09f45bc492e55aec4dd296bff2 LICENSE
|
||||
@@ -0,0 +1,20 @@
|
||||
################################################################################
|
||||
#
|
||||
# wmenu
|
||||
#
|
||||
################################################################################
|
||||
|
||||
WMENU_VERSION = 0.2.0
|
||||
WMENU_SOURCE = $(WMENU_VERSION).tar.gz
|
||||
WMENU_SITE = https://codeberg.org/adnano/wmenu/archive
|
||||
WMENU_LICENSE = MIT
|
||||
WMENU_LICENSE_FILES = LICENSE
|
||||
WMENU_DEPENDENCIES = \
|
||||
cairo \
|
||||
pango \
|
||||
wayland \
|
||||
libxkbcommon \
|
||||
wayland \
|
||||
wayland-protocols
|
||||
|
||||
$(eval $(meson-package))
|
||||
Reference in New Issue
Block a user