summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorston <2424284164@qq.com>2022-11-03 18:37:30 +0800
committerston <2424284164@qq.com>2022-11-03 18:37:30 +0800
commitecbcc94374ea87ae954e0dceda04b8a3c6aea54f (patch)
tree5d55a5883d1d4b93935ac320316bfa2227a906ee
parenteccfc49718f7d98606dcdf44e6f9bb986e5b79db (diff)
update
-rw-r--r--.SRCINFO11
-rw-r--r--PKGBUILD16
2 files changed, 11 insertions, 16 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2380b2e..c31cd7f 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.13
+ pkgver = 0.9.15
pkgrel = 1
url = https://github.com/Alexays/Waybar/
arch = x86_64
@@ -14,6 +14,8 @@ pkgbase = waybar-hyprland
depends = libjsoncpp.so
depends = libsigc++
depends = fmt
+ depends = jack
+ depends = libjack.so
depends = wayland
depends = libdate-tz.so
depends = libspdlog.so
@@ -21,6 +23,7 @@ pkgbase = waybar-hyprland
depends = libupower-glib.so
depends = upower
depends = libevdev
+ depends = libinput
depends = libpulse
depends = libnl
depends = libappindicator-gtk3
@@ -33,9 +36,7 @@ pkgbase = waybar-hyprland
conflicts = waybar
backup = etc/xdg/waybar/config
backup = etc/xdg/waybar/style.css
- source = waybar-hyprland-0.9.13.tar.gz::https://github.com/Alexays/Waybar/archive/0.9.13.tar.gz
- source = https://patch-diff.githubusercontent.com/raw/Alexays/Waybar/pull/1617.patch
- sha256sums = 9e6553274ce3013d2be9912f975287efe4dfd38de4e335db43a73aff2a3b0a34
- sha256sums = bedf05c1aeecd9fad517bc91583d3054de97b07e92c63e75220b16f728f10112
+ source = waybar-hyprland-0.9.15.tar.gz::https://github.com/Alexays/Waybar/archive/0.9.15.tar.gz
+ sha256sums = e74c42543d10dd44688ed469c762979c108ea7cd05d94b65b47cf42dab147f8a
pkgname = waybar-hyprland
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