wayland.mk 990 B

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