summaryrefslogtreecommitdiff
path: root/user/lxqt-session
diff options
context:
space:
mode:
Diffstat (limited to 'user/lxqt-session')
-rw-r--r--user/lxqt-session/APKBUILD14
-rw-r--r--user/lxqt-session/fix-chrono.patch19
2 files changed, 27 insertions, 6 deletions
diff --git a/user/lxqt-session/APKBUILD b/user/lxqt-session/APKBUILD
index 0fcd1a3b4..c4a4f8f70 100644
--- a/user/lxqt-session/APKBUILD
+++ b/user/lxqt-session/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: Sheila Aman <sheila@vulpine.house>
# Maintainer: Sheila Aman <sheila@vulpine.house>
pkgname=lxqt-session
-pkgver=0.15.0
-_lxqt_build=0.7.0
+pkgver=0.17.0
+_lxqt=0.9.0
pkgrel=0
pkgdesc="Session management utilities for LXQt"
url="https://lxqt.github.io/"
@@ -10,10 +10,11 @@ arch="all"
options="!check" # No test suite.
license="LGPL-2.1+"
depends="xdg-user-dirs"
-makedepends="cmake extra-cmake-modules lxqt-build-tools>=$_lxqt_build eudev-dev
- liblxqt-dev>=${pkgver%.*}.0 qt5-qttools-dev kwindowsystem-dev"
+makedepends="cmake extra-cmake-modules lxqt-build-tools>=$_lxqt eudev-dev
+ liblxqt-dev>=${pkgver%.*}.0 procps-dev qt5-qttools-dev kwindowsystem-dev"
subpackages="$pkgname-doc"
-source="https://github.com/lxde/lxqt-session/releases/download/$pkgver/lxqt-session-$pkgver.tar.xz"
+source="https://github.com/lxde/lxqt-session/releases/download/$pkgver/lxqt-session-$pkgver.tar.xz
+ fix-chrono.patch"
build() {
if [ "$CBUILD" != "$CHOST" ]; then
@@ -40,4 +41,5 @@ package() {
rm "$pkgdir"/usr/share/man/man1/start*
}
-sha512sums="96ef9e58ca25303ac0213f1cb5faee5efddb61ac3705484ac55b39db56c9302ff646e317dbc753b213a5e2ea38818b247244a2be5219fbe6db9e419b8c638591 lxqt-session-0.15.0.tar.xz"
+sha512sums="e3573ee76e5fcf285b0ddd177ae7324f6fee038ea110c950d7054da622bf6615d9ac8715cc0cde6db9034d710933a80c80f14470197d2cc275d48695f74ba7b6 lxqt-session-0.17.0.tar.xz
+b74d5c27de6920ed9a714213903d2a16cc3d36ed6528f387491b82290aa5ec5d3c6a4886d1c4943fd8d1c2bf99394aaea38d39b4763aad803276f4b853af94a4 fix-chrono.patch"
diff --git a/user/lxqt-session/fix-chrono.patch b/user/lxqt-session/fix-chrono.patch
new file mode 100644
index 000000000..ea1e66048
--- /dev/null
+++ b/user/lxqt-session/fix-chrono.patch
@@ -0,0 +1,19 @@
+diff -Nurd lxqt-session-0.17.0/lxqt-session/src/procreaper.cpp lxqt-session-0.17.0.new/lxqt-session/src/procreaper.cpp
+--- lxqt-session-0.17.0/lxqt-session/src/procreaper.cpp 2021-04-13 17:37:02.000000000 +0000
++++ lxqt-session-0.17.0.new/lxqt-session/src/procreaper.cpp 2021-07-21 09:20:28.959046533 +0000
+@@ -58,7 +58,7 @@
+ if (pid <= 0)
+ {
+ QMutexLocker guard{&mMutex};
+- mWait.wait(&mMutex, std::chrono::seconds(1));
++ mWait.wait(&mMutex, std::chrono::seconds(1).count());
+ }
+
+ int status;
+@@ -111,5 +111,5 @@
+ QMutexLocker guard{&mMutex};
+ mShouldRun = false;
+ }
+- QThread::wait(std::chrono::seconds(5));
++ QThread::wait(std::chrono::seconds(5).count());
+ }