1################################################################################ 2# 3# wayland 4# 5################################################################################ 6 7WAYLAND_VERSION = 1.21.0 8WAYLAND_SITE = https://gitlab.freedesktop.org/wayland/wayland/-/releases/$(WAYLAND_VERSION)/downloads 9WAYLAND_SOURCE = wayland-$(WAYLAND_VERSION).tar.xz 10WAYLAND_LICENSE = MIT 11WAYLAND_LICENSE_FILES = COPYING 12WAYLAND_CPE_ID_VENDOR = wayland 13WAYLAND_INSTALL_STAGING = YES 14WAYLAND_DEPENDENCIES = host-pkgconf host-wayland expat libffi libxml2 15HOST_WAYLAND_DEPENDENCIES = host-pkgconf host-expat host-libffi host-libxml2 16 17WAYLAND_CONF_OPTS = -Dtests=false -Ddocumentation=false 18HOST_WAYLAND_CONF_OPTS = -Dtests=false -Ddocumentation=false 19 20ifeq ($(BR2_PACKAGE_WAYLAND_WITHOUT_EGL),y) 21WAYLAND_CONF_OPTS += -Degl=false 22endif 23 24# Remove the DTD from the target, it's not needed at runtime 25define WAYLAND_TARGET_CLEANUP 26 rm -rf $(TARGET_DIR)/usr/share/wayland 27endef 28WAYLAND_POST_INSTALL_TARGET_HOOKS += WAYLAND_TARGET_CLEANUP 29 30$(eval $(meson-package)) 31$(eval $(host-meson-package)) 32