From 091086bc76ddf385bc448601cf0958f27dd131bf Mon Sep 17 00:00:00 2001 From: mhmdanas Date: Thu, 13 Apr 2023 21:20:11 +0100 Subject: [PATCH] wayland: update to 1.22.0. --- srcpkgs/wayland/template | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/srcpkgs/wayland/template b/srcpkgs/wayland/template index 697663da10f8..116bfd3af7c8 100644 --- a/srcpkgs/wayland/template +++ b/srcpkgs/wayland/template @@ -1,10 +1,9 @@ # Template file for 'wayland' pkgname=wayland -version=1.21.0 +version=1.22.0 revision=1 build_style=meson -# "Tests must not be built with NDEBUG defined, they rely on assert()." -configure_args="-Ddocumentation=false -Db_ndebug=false" +configure_args="-Ddocumentation=false" hostmakedepends="flex pkg-config" makedepends="expat-devel libffi-devel libfl-devel libxml2-devel" short_desc="Core Wayland window system code and protocol" @@ -12,7 +11,14 @@ maintainer="Érico Nogueira " license="MIT" homepage="https://wayland.freedesktop.org/" distfiles="https://gitlab.freedesktop.org/wayland/wayland/-/releases/${version}/downloads/wayland-${version}.tar.xz" -checksum=6dc64d7fc16837a693a51cfdb2e568db538bfdc9f457d4656285bb9594ef11ac +checksum=1540af1ea698a471c2d8e9d288332c7e0fd360c8f1d12936ebb7e7cbc2425842 + +if [ "$XBPS_CHECK_PKGS" ]; then + # "Tests must not be built with NDEBUG defined, they rely on assert()." + configure_args+=" -Dtests=true -Db_ndebug=false" +else + configure_args+=" -Dtests=false" +fi if [ "$CROSS_BUILD" ]; then hostmakedepends+=" wayland-devel"