3a24c8bd66
wayland-scanner host/cross support is now native so drop the funky trick. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
26 lines
848 B
Makefile
26 lines
848 B
Makefile
################################################################################
|
|
#
|
|
# wayland
|
|
#
|
|
################################################################################
|
|
|
|
WAYLAND_VERSION = 1.10.0
|
|
WAYLAND_SITE = http://wayland.freedesktop.org/releases
|
|
WAYLAND_SOURCE = wayland-$(WAYLAND_VERSION).tar.xz
|
|
WAYLAND_LICENSE = MIT
|
|
WAYLAND_LICENSE_FILES = COPYING
|
|
WAYLAND_INSTALL_STAGING = YES
|
|
WAYLAND_DEPENDENCIES = host-pkgconf host-wayland expat libffi libxml2
|
|
|
|
# wayland-scanner is only needed for building, not on the target
|
|
WAYLAND_CONF_OPTS = --disable-scanner --with-host-scanner
|
|
|
|
# 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 $(autotools-package))
|
|
$(eval $(host-autotools-package))
|