[arch-commits] Commit in bemenu/trunk (PKGBUILD bemenu-wayland.install)
Ivy Foster
escondida at archlinux.org
Tue May 4 15:16:47 UTC 2021
Date: Tuesday, May 4, 2021 @ 15:16:47
Author: escondida
Revision: 927383
bemenu: rename -wlroots -wayland, remove wlroots dep, add post-install message explaining wlroots quasi-dep
Added:
bemenu/trunk/bemenu-wayland.install
Modified:
bemenu/trunk/PKGBUILD
------------------------+
PKGBUILD | 12 +++++++-----
bemenu-wayland.install | 8 ++++++++
2 files changed, 15 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-04 15:09:10 UTC (rev 927382)
+++ PKGBUILD 2021-05-04 15:16:47 UTC (rev 927383)
@@ -1,9 +1,9 @@
# Maintainer: Ivy Foster <iff at archlinux.org>
pkgbase=bemenu
-pkgname=(bemenu bemenu-ncurses bemenu-x11 bemenu-wlroots)
+pkgname=(bemenu bemenu-ncurses bemenu-x11 bemenu-wayland)
pkgver=0.5.0
-pkgrel=3
+pkgrel=4
# Wayland without wlroots is not supported.
# https://github.com/Cloudef/bemenu/issues/79#issuecomment-572867783
@@ -55,10 +55,12 @@
rm -f "$pkgdir"/usr/lib/bemenu/bemenu-renderer-{wayland,x11}.so
}
-package_bemenu-wlroots() {
+package_bemenu-wayland() {
pkgdesc='Wayland (wlroots-based compositors) renderer for bemenu'
- provides=(bemenu-renderer bemenu-wayland)
- depends=(libbemenu libxkbcommon pango wayland wayland-protocols wlroots)
+ provides=(bemenu-renderer bemenu-wlroots)
+ depends=(libbemenu libxkbcommon pango wayland wayland-protocols)
+ replaces=(bemenu-wlroots)
+ install=bemenu-wayland.install
cd "bemenu-$pkgver"
make DESTDIR="$pkgdir" PREFIX=/usr install-renderers
Added: bemenu-wayland.install
===================================================================
--- bemenu-wayland.install (rev 0)
+++ bemenu-wayland.install 2021-05-04 15:16:47 UTC (rev 927383)
@@ -0,0 +1,8 @@
+post_install() {
+ echo "Note: bemenu's wayland backend only works"
+ echo ' in compositors which implement wlr-layer-shell.'
+}
+
+post_update() {
+ post_install
+}
More information about the arch-commits
mailing list