7cb2f7d236
Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
28 lines
990 B
Makefile
28 lines
990 B
Makefile
################################################################################
|
|
#
|
|
# wayland
|
|
#
|
|
################################################################################
|
|
|
|
WAYLAND_VERSION = 1.22.0
|
|
WAYLAND_SITE = https://gitlab.freedesktop.org/wayland/wayland/-/releases/$(WAYLAND_VERSION)/downloads
|
|
WAYLAND_SOURCE = wayland-$(WAYLAND_VERSION).tar.xz
|
|
WAYLAND_LICENSE = MIT
|
|
WAYLAND_LICENSE_FILES = COPYING
|
|
WAYLAND_CPE_ID_VENDOR = wayland
|
|
WAYLAND_INSTALL_STAGING = YES
|
|
WAYLAND_DEPENDENCIES = host-pkgconf host-wayland expat libffi libxml2
|
|
HOST_WAYLAND_DEPENDENCIES = host-pkgconf host-expat host-libffi host-libxml2
|
|
|
|
WAYLAND_CONF_OPTS = -Dtests=false -Ddocumentation=false
|
|
HOST_WAYLAND_CONF_OPTS = -Dtests=false -Ddocumentation=false
|
|
|
|
# Remove the DTD from the target, it's not needed at runtime
|
|
define WAYLAND_TARGET_CLEANUP
|
|
rm -rf $(TARGET_DIR)/usr/share/wayland
|
|
endef
|
|
WAYLAND_POST_INSTALL_TARGET_HOOKS += WAYLAND_TARGET_CLEANUP
|
|
|
|
$(eval $(meson-package))
|
|
$(eval $(host-meson-package))
|