wayland: update to 1.18.0.

Switch to meson build system.
This commit is contained in:
Juan RP 2020-02-14 19:08:55 +01:00
parent 8abfa0a428
commit 0f7885c6d6

View file

@ -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 <orphan@voidlinux.org>"
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"