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.
This commit is contained in:
Érico Rolim 2021-01-29 01:19:15 -03:00 committed by Érico Nogueira Rolim
parent 6041f96bef
commit 939f1c6b61
1 changed files with 6 additions and 7 deletions

View File

@ -1,19 +1,18 @@
# Template file for 'wayland' # Template file for 'wayland'
pkgname=wayland pkgname=wayland
version=1.18.0 version=1.19.0
revision=3 revision=1
build_style=meson 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" hostmakedepends="flex pkg-config"
makedepends="expat-devel libffi-devel libfl-devel libxml2-devel" makedepends="expat-devel libffi-devel libfl-devel libxml2-devel"
short_desc="Wayland protocol compositor" short_desc="Wayland protocol compositor"
maintainer="Orphaned <orphan@voidlinux.org>" maintainer="Érico Nogueira <ericonr@disroot.org>"
license="MIT" license="MIT"
homepage="https://wayland.freedesktop.org/" homepage="https://wayland.freedesktop.org/"
distfiles="https://wayland.freedesktop.org/releases/wayland-${version}.tar.xz" distfiles="https://wayland.freedesktop.org/releases/wayland-${version}.tar.xz"
checksum=4675a79f091020817a98fd0484e7208c8762242266967f55a67776936c2e294d checksum=baccd902300d354581cd5ad3cc49daa4921d55fb416a5883e218750fef166d15
CFLAGS="-UNDEBUG"
if [ "$CROSS_BUILD" ]; then if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" wayland-devel" hostmakedepends+=" wayland-devel"