summaryrefslogtreecommitdiff
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD16
1 files changed, 5 insertions, 11 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 532cc17..352caae 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: ston <2424284164@qq.com>
pkgname=waybar-hyprland
-pkgver=0.9.13
+pkgver=0.9.15
pkgrel=1
pkgdesc='Highly customizable Wayland bar for Sway and Wlroots based compositors, with workspaces support for Hyprland'
arch=('x86_64')
@@ -14,6 +14,7 @@ depends=(
'libjsoncpp.so'
'libsigc++'
'fmt'
+ 'jack' 'libjack.so'
'wayland'
'libdate-tz.so'
'libspdlog.so'
@@ -21,6 +22,7 @@ depends=(
'libupower-glib.so'
'upower'
'libevdev'
+ 'libinput'
'libpulse'
'libnl'
'libappindicator-gtk3'
@@ -45,17 +47,8 @@ optdepends=(
)
source=(
"$pkgname-$pkgver.tar.gz::https://github.com/Alexays/Waybar/archive/$pkgver.tar.gz"
- "https://patch-diff.githubusercontent.com/raw/Alexays/Waybar/pull/1617.patch"
)
-sha256sums=('9e6553274ce3013d2be9912f975287efe4dfd38de4e335db43a73aff2a3b0a34'
- 'bedf05c1aeecd9fad517bc91583d3054de97b07e92c63e75220b16f728f10112')
-
-prepare() {
- cd "Waybar-$pkgver"
- # Fix fmt 9 compilation issues. This is on master but not yet part of a
- # release
- patch -p1 < ../1617.patch
-}
+sha256sums=('e74c42543d10dd44688ed469c762979c108ea7cd05d94b65b47cf42dab147f8a')
build() {
cd "Waybar-$pkgver"
@@ -63,6 +56,7 @@ build() {
--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