Skip to content

Commit

Permalink
wayland: update to 0.19.0, adopt.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ericonr committed Feb 1, 2021
1 parent 6041f96 commit 939f1c6
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions srcpkgs/wayland/template
Original file line number Diff line number Diff line change
@@ -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 <orphan@voidlinux.org>"
maintainer="Érico Nogueira <ericonr@disroot.org>"
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"
Expand Down

0 comments on commit 939f1c6

Please sign in to comment.