summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2022-08-19 08:38:01 -0500
committerZach van Rijn <me@zv.io>2022-10-21 18:34:02 -0500
commitc27ed30b35be8092053a8e7210d10b4e0a8792e8 (patch)
tree429299c61df39d992bddb3ddf7c09a2dd2fa58e9
parent0198396fdd4296a886bb39e2b890e592be37f271 (diff)
downloadpackages-c27ed30b35be8092053a8e7210d10b4e0a8792e8.tar.gz
packages-c27ed30b35be8092053a8e7210d10b4e0a8792e8.tar.bz2
packages-c27ed30b35be8092053a8e7210d10b4e0a8792e8.tar.xz
packages-c27ed30b35be8092053a8e7210d10b4e0a8792e8.zip
user/wayland: work around broken test logic. fixes #709.
https://github.com/wayland-project/wayland/blob/7cbaa871cccf0e07123185d5db8a35f7eee27f37/tests/test-runner.c#L221-L244
-rw-r--r--user/wayland/APKBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/user/wayland/APKBUILD b/user/wayland/APKBUILD
index 8cae485e6..c38725ef3 100644
--- a/user/wayland/APKBUILD
+++ b/user/wayland/APKBUILD
@@ -3,7 +3,7 @@
# Maintainer: Sheila Aman <sheila@vulpine.house>
pkgname=wayland
pkgver=1.20.0
-pkgrel=0
+pkgrel=1
pkgdesc="A computer display server protocol"
url="https://wayland.freedesktop.org"
arch="all"
@@ -29,7 +29,9 @@ build() {
}
check() {
+ export XDG_RUNTIME_DIR=$(mktemp -d)
ninja -C build test
+ rm -fr "${XDG_RUNTIME_DIR}"
}
package() {