summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Ancona <brunoanconasala@gmail.com>2022-11-26 22:56:26 -0600
committerBruno Ancona <brunoanconasala@gmail.com>2022-11-26 22:56:26 -0600
commit0545b60f40405fc9f3b5896a886953d48efd9400 (patch)
tree55e84262a97712b1d9b18ccc6d3886922d3821cb
parentecbcc94374ea87ae954e0dceda04b8a3c6aea54f (diff)
Bump to 0.16.0 release
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD18
2 files changed, 15 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c31cd7f..f8dc323 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = waybar-hyprland
pkgdesc = Highly customizable Wayland bar for Sway and Wlroots based compositors, with workspaces support for Hyprland
- pkgver = 0.9.15
+ pkgver = 0.9.16
pkgrel = 1
url = https://github.com/Alexays/Waybar/
arch = x86_64
@@ -31,12 +31,13 @@ pkgbase = waybar-hyprland
depends = libmpdclient
depends = libsndio.so
depends = libxkbcommon
+ depends = wireplumber
optdepends = otf-font-awesome: Icons in the default configuration
provides = waybar
conflicts = waybar
backup = etc/xdg/waybar/config
backup = etc/xdg/waybar/style.css
- source = waybar-hyprland-0.9.15.tar.gz::https://github.com/Alexays/Waybar/archive/0.9.15.tar.gz
- sha256sums = e74c42543d10dd44688ed469c762979c108ea7cd05d94b65b47cf42dab147f8a
+ source = waybar-hyprland-0.9.16.tar.gz::https://github.com/Alexays/Waybar/archive/0.9.16.tar.gz
+ sha256sums = 37ebd7b10e32e802afe9236ea9374fabb77b1abb2c203ca6173b27dc03128096
pkgname = waybar-hyprland
diff --git a/PKGBUILD b/PKGBUILD
index 352caae..db138fb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,11 +1,11 @@
# Maintainer: ston <2424284164@qq.com>
pkgname=waybar-hyprland
-pkgver=0.9.15
+pkgver=0.9.16
pkgrel=1
pkgdesc='Highly customizable Wayland bar for Sway and Wlroots based compositors, with workspaces support for Hyprland'
arch=('x86_64')
-url="https://github.com/Alexays/Waybar/"
+url='https://github.com/Alexays/Waybar/'
license=('MIT')
provides=('waybar')
conflicts=('waybar')
@@ -30,12 +30,13 @@ depends=(
'libmpdclient'
'libsndio.so'
'libxkbcommon'
+ 'wireplumber'
)
makedepends=(
'cmake'
'catch2'
'meson'
- 'scdoc' # For generating manpages
+ 'scdoc'
'wayland-protocols'
)
backup=(
@@ -48,23 +49,26 @@ optdepends=(
source=(
"$pkgname-$pkgver.tar.gz::https://github.com/Alexays/Waybar/archive/$pkgver.tar.gz"
)
-sha256sums=('e74c42543d10dd44688ed469c762979c108ea7cd05d94b65b47cf42dab147f8a')
+sha256sums=('37ebd7b10e32e802afe9236ea9374fabb77b1abb2c203ca6173b27dc03128096')
build() {
- cd "Waybar-$pkgver"
+ cd "${srcdir}/Waybar-${pkgver}"
+ rm -rf "${srcdir}/build"
+
+ sed -i 's/zext_workspace_handle_v1_activate(workspace_handle_);/const std::string command = "hyprctl dispatch workspace " + name_;\n\tsystem(command.c_str());/g' src/modules/wlr/workspace_manager.cpp # use hyprctl to switch workspaces
+
meson --prefix=/usr \
--buildtype=plain \
--auto-features=enabled \
--wrap-mode=nodownload \
-Dtests=disabled \
build
- sed -i 's/zext_workspace_handle_v1_activate(workspace_handle_);/const std::string command = "hyprctl dispatch workspace " + name_;\n\tsystem(command.c_str());/g' src/modules/wlr/workspace_manager.cpp # use hyprctl to switch workspaces
meson configure -Dexperimental=true build
ninja -C build
}
package() {
- cd "Waybar-$pkgver"
+ cd "${srcdir}/Waybar-${pkgver}"
DESTDIR="$pkgdir" ninja -C build install
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
}