From 1bb03c05ea750b4ff075468619583191c79da139 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Rolim?= Date: Fri, 29 Jan 2021 01:19:15 -0300 Subject: [PATCH] wayland: update to 0.19.0, adopt. Also fix ndebug mode with meson options instead of CFLAGS. Disabling NDEBUG is necessary for the test suite to work correctly. Thanks ifreund for pointing me in this direction. --- srcpkgs/wayland/template | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/srcpkgs/wayland/template b/srcpkgs/wayland/template index be69b35852d..624441d48a8 100644 --- a/srcpkgs/wayland/template +++ b/srcpkgs/wayland/template @@ -1,19 +1,18 @@ # Template file for 'wayland' pkgname=wayland -version=1.18.0 -revision=3 +version=1.19.0 +revision=1 build_style=meson -configure_args="-Ddocumentation=false" +# "Tests must not be built with NDEBUG defined, they rely on assert()." +configure_args="-Ddocumentation=false -Db_ndebug=false" hostmakedepends="flex pkg-config" makedepends="expat-devel libffi-devel libfl-devel libxml2-devel" short_desc="Wayland protocol compositor" -maintainer="Orphaned " +maintainer="Érico Nogueira " license="MIT" homepage="https://wayland.freedesktop.org/" distfiles="https://wayland.freedesktop.org/releases/wayland-${version}.tar.xz" -checksum=4675a79f091020817a98fd0484e7208c8762242266967f55a67776936c2e294d - -CFLAGS="-UNDEBUG" +checksum=baccd902300d354581cd5ad3cc49daa4921d55fb416a5883e218750fef166d15 if [ "$CROSS_BUILD" ]; then hostmakedepends+=" wayland-devel"