yambar: update to 1.7.0.

This commit is contained in:
Kartik Singh 2021-09-09 21:11:55 +05:30 committed by Érico Nogueira Rolim
parent fcbc8676b8
commit edc6074340
2 changed files with 3 additions and 30 deletions

View file

@ -1,27 +0,0 @@
From 7d94631991a5d530884664705341a4410ff45f74 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Nogueira?= <erico.erc@gmail.com>
Date: Thu, 29 Jul 2021 15:57:00 -0300
Subject: [PATCH] bar: fix typo.
Running 'yambar --backend=wayland' would always error out saying it was
built without wayland support.
---
bar/bar.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bar/bar.c b/bar/bar.c
index 4829162..c7b1ea5 100644
--- a/bar/bar.c
+++ b/bar/bar.c
@@ -399,7 +399,7 @@ bar_new(const struct bar_config *config)
break;
case BAR_BACKEND_WAYLAND:
-#if defined(BAR_WAYLAND)
+#if defined(ENABLE_WAYLAND)
backend_data = bar_backend_wayland_new();
backend_iface = &wayland_backend_iface;
#else
--
2.32.0

View file

@ -1,7 +1,7 @@
# Template file for 'yambar'
pkgname=yambar
version=1.6.2
revision=2
version=1.7.0
revision=1
wrksrc=$pkgname
build_style=meson
hostmakedepends="pkg-config scdoc wayland-devel"
@ -15,7 +15,7 @@ license="MIT"
homepage="https://codeberg.org/dnkl/yambar"
changelog="https://codeberg.org/dnkl/yambar/raw/branch/master/CHANGELOG.md"
distfiles="https://codeberg.org/dnkl/yambar/archive/${version}.tar.gz"
checksum=cb0813d5f8ce72d536e5b0714c773fd2b3ea0cb5e22b020b9ec0e33645040d3c
checksum=2c501a9cddec0eb9c8af606ec68169a82141b880c89bb61ed106687b70cd158c
do_check() {
xvfb-run ninja -C build/ test