include $(TOPDIR)/rules.mk
PKG_NAME:=wayland
-PKG_VERSION:=1.19.0
+PKG_VERSION:=1.19.92
PKG_RELEASE:=$(AUTORELEASE)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
-PKG_SOURCE_URL:=https://wayland.freedesktop.org/releases/
-PKG_HASH:=baccd902300d354581cd5ad3cc49daa4921d55fb416a5883e218750fef166d15
+PKG_SOURCE_URL:=https://wayland.freedesktop.org/releases
+PKG_HASH:=f8cbd8a8c713ed393e63e7c6ac81c6b9ef5a49a2b631717377fa78b80ac34cfa
PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
PKG_LICENSE:=MIT
PKG_INSTALL:=1
PKG_BUILD_DEPENDS:=libffi/host libxml2/host expat/host wayland/host
+HOST_BUILD_DEPENDS:=$(PKG_BUILD_DEPENDS)
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/host-build.mk
-Ddocumentation=false \
-Ddtd_validation=true
+HOST_LDFLAGS += $(STAGING_DIR_HOST)/lib/libz.a -lm
+
MESON_ARGS += \
-Dscanner=true \
-Dlibraries=true \
--- a/src/meson.build
+++ b/src/meson.build
-@@ -59,8 +59,12 @@ if get_option('scanner')
+@@ -70,8 +70,12 @@ if get_option('scanner')
endif
if meson.is_cross_build() or not get_option('scanner')
endif
--- a/meson_options.txt
+++ b/meson_options.txt
-@@ -6,6 +6,10 @@ option('scanner',
- description: 'Compile wayland-scanner binary',
+@@ -10,6 +10,10 @@ option('tests',
+ description: 'Compile Wayland tests',
type: 'boolean',
value: 'true')
+option('scanner_bin',