From 0f7885c6d61c2814c98420e6791885c02280a981 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 14 Feb 2020 19:08:55 +0100 Subject: [PATCH] wayland: update to 1.18.0. Switch to meson build system. --- srcpkgs/wayland/template | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/srcpkgs/wayland/template b/srcpkgs/wayland/template index 0cbc466175..36ed40197b 100644 --- a/srcpkgs/wayland/template +++ b/srcpkgs/wayland/template @@ -1,9 +1,9 @@ # Template file for 'wayland' pkgname=wayland -version=1.17.0 +version=1.18.0 revision=1 -build_style=gnu-configure -configure_args="--disable-documentation --disable-static" +build_style=meson +configure_args="-Ddocumentation=false" hostmakedepends="flex pkg-config" makedepends="expat-devel libffi-devel libfl-devel libxml2-devel" short_desc="Wayland protocol compositor" @@ -11,17 +11,18 @@ maintainer="Orphaned " license="MIT" homepage="https://wayland.freedesktop.org/" distfiles="https://wayland.freedesktop.org/releases/wayland-${version}.tar.xz" -checksum=72aa11b8ac6e22f4777302c9251e8fec7655dc22f9d94ee676c6b276f95f91a4 +checksum=4675a79f091020817a98fd0484e7208c8762242266967f55a67776936c2e294d + +CFLAGS="-UNDEBUG" + +if [ "$CROSS_BUILD" ]; then + hostmakedepends+=" wayland-devel" +fi post_install() { vlicense COPYING } -if [ "$CROSS_BUILD" ]; then - hostmakedepends+=" wayland-devel" - configure_args+=" --with-host-scanner" -fi - wayland-devel_package() { depends="${sourcepkg}>=${version}_${revision}" short_desc+=" - development files"