1*4882a593Smuzhiyun################################################################################ 2*4882a593Smuzhiyun# 3*4882a593Smuzhiyun# wayland 4*4882a593Smuzhiyun# 5*4882a593Smuzhiyun################################################################################ 6*4882a593Smuzhiyun 7*4882a593SmuzhiyunWAYLAND_VERSION = 1.21.0 8*4882a593SmuzhiyunWAYLAND_SITE = https://gitlab.freedesktop.org/wayland/wayland/-/releases/$(WAYLAND_VERSION)/downloads 9*4882a593SmuzhiyunWAYLAND_SOURCE = wayland-$(WAYLAND_VERSION).tar.xz 10*4882a593SmuzhiyunWAYLAND_LICENSE = MIT 11*4882a593SmuzhiyunWAYLAND_LICENSE_FILES = COPYING 12*4882a593SmuzhiyunWAYLAND_CPE_ID_VENDOR = wayland 13*4882a593SmuzhiyunWAYLAND_INSTALL_STAGING = YES 14*4882a593SmuzhiyunWAYLAND_DEPENDENCIES = host-pkgconf host-wayland expat libffi libxml2 15*4882a593SmuzhiyunHOST_WAYLAND_DEPENDENCIES = host-pkgconf host-expat host-libffi host-libxml2 16*4882a593Smuzhiyun 17*4882a593SmuzhiyunWAYLAND_CONF_OPTS = -Dtests=false -Ddocumentation=false 18*4882a593SmuzhiyunHOST_WAYLAND_CONF_OPTS = -Dtests=false -Ddocumentation=false 19*4882a593Smuzhiyun 20*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_WAYLAND_WITHOUT_EGL),y) 21*4882a593SmuzhiyunWAYLAND_CONF_OPTS += -Degl=false 22*4882a593Smuzhiyunendif 23*4882a593Smuzhiyun 24*4882a593Smuzhiyun# Remove the DTD from the target, it's not needed at runtime 25*4882a593Smuzhiyundefine WAYLAND_TARGET_CLEANUP 26*4882a593Smuzhiyun rm -rf $(TARGET_DIR)/usr/share/wayland 27*4882a593Smuzhiyunendef 28*4882a593SmuzhiyunWAYLAND_POST_INSTALL_TARGET_HOOKS += WAYLAND_TARGET_CLEANUP 29*4882a593Smuzhiyun 30*4882a593Smuzhiyun$(eval $(meson-package)) 31*4882a593Smuzhiyun$(eval $(host-meson-package)) 32