summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2022-05-26 21:27:54 +0000
committerZach van Rijn <me@zv.io>2022-06-12 23:51:58 +0000
commitf222efed5e842065ccc666f3dd8155a135440d07 (patch)
tree4fb05c5e8de057d28de1b78ccd861f1f7803ef44
parentfb51dc6078f8c6cb152e252e8e951d2eefcc1e2e (diff)
downloadpackages-f222efed5e842065ccc666f3dd8155a135440d07.tar.gz
packages-f222efed5e842065ccc666f3dd8155a135440d07.tar.bz2
packages-f222efed5e842065ccc666f3dd8155a135440d07.tar.xz
packages-f222efed5e842065ccc666f3dd8155a135440d07.zip
user/wayland: bump { 1.20.0 --> 1.20.91 }. 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/APKBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/user/wayland/APKBUILD b/user/wayland/APKBUILD
index f249ed94f..d540e6c64 100644
--- a/user/wayland/APKBUILD
+++ b/user/wayland/APKBUILD
@@ -2,7 +2,7 @@
# Contributor: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org>
# Maintainer: Sheila Aman <sheila@vulpine.house>
pkgname=wayland
-pkgver=1.20.0
+pkgver=1.20.91
pkgrel=0
pkgdesc="A computer display server protocol"
url="https://wayland.freedesktop.org"
@@ -13,7 +13,7 @@ depends_dev="libffi-dev expat-dev"
makedepends="$depends_dev doxygen xmlto graphviz grep libxml2-dev bash meson"
subpackages="$pkgname-dev"
replaces="wayland-libs-client wayland-libs-cursor wayland-libs-server"
-source="https://wayland.freedesktop.org/releases/$pkgname-$pkgver.tar.xz"
+source="https://gitlab.freedesktop.org/${pkgname}/${pkgname}/-/releases/${pkgver}/downloads/${pkgname}-${pkgver}.tar.xz"
build() {
meson \
@@ -29,7 +29,9 @@ build() {
}
check() {
+ export XDG_RUNTIME_DIR=$(mktemp -d)
meson test --no-rebuild -v -C output
+ rm -fr "${XDG_RUNTIME_DIR}"
}
package() {
@@ -43,4 +45,4 @@ dev() {
default_dev
}
-sha512sums="e8a1f410994b947f850799bdd0d95a2429d8467f853e62a0ab3915a4e9fe130f8aa977e03715114ab740c6ec546edea63d275ce7f927d4f3029ea126e6a7d215 wayland-1.20.0.tar.xz"
+sha512sums="c437bb70e4ed72c7b9271df15376f1434f3dffc19673fe990633a39503c9874be798e196169f19677e2fe8b0bc6fc6594e16c88853d73ce06f0fb15d60dc5aaf wayland-1.20.91.tar.xz"