mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 14:01:57 -09:00
News: - RC1: https://lists.freedesktop.org/archives/wayland-devel/2025-May/044282.html - RC2: https://lore.freedesktop.org/wayland-devel/2-4IjuOFGtlCZQhVPefO2DnjO26y5dVbL3mW3Get8jPPXw-GPN-0C8VIBOejnP7lZlSZcRGslG3A1DX5ACHiYazNXyx0UVhLyCQjXgdtg0U=@emersion.fr/ - RC3: https://lore.freedesktop.org/wayland-devel/l2Ybp5Dex4yXCOVJb-VgQiK68CLgXQnBa4SG5cPFKA7tl4rkuLqMFRy_6Kx34pBZ-np3qLQNVx3ID9AKDrk2MEJ5lKueMj1PfE2K0um7KwA=@emersion.fr/T/#u - 1.24.0: https://lore.freedesktop.org/wayland-devel/plU5smxin5VXbiedTGtL7CNHe0t2mHtgQlQ3-xwREmSSNYaClAcZpEBV8L7JvMT8JHwdD_a_uSFkDUaP45CAWyL545iZh5gInAdToX6hgt4=@emersion.fr/T/#u Signed-off-by: Thomas Devoogdt <thomas@devoogdt.com> Signed-off-by: Julien Olivain <ju.o@free.fr>
40 lines
1.6 KiB
Makefile
40 lines
1.6 KiB
Makefile
################################################################################
|
|
#
|
|
# wayland
|
|
#
|
|
################################################################################
|
|
|
|
WAYLAND_VERSION = 1.24.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
|
|
|
|
# The wayland-scanner.pc installed by the target wayland package is
|
|
# used to find the wayland-scanner tool, which in a cross-compilation
|
|
# context is compiled for the host (and in Buildroot, compiled by
|
|
# host-wayland). Below, we tweak the target wayland-scanner.pc so that
|
|
# when the wayland_scanner variable is requested through pkg-config,
|
|
# it points to the host wayland_scanner tool.
|
|
define WAYLAND_TWEAK_WAYLAND_SCANNER_PATH
|
|
$(SED) 's%^wayland_scanner=.*%wayland_scanner=$(HOST_DIR)/bin/wayland-scanner%' \
|
|
$(STAGING_DIR)/usr/lib/pkgconfig/wayland-scanner.pc
|
|
endef
|
|
WAYLAND_POST_INSTALL_TARGET_HOOKS += WAYLAND_TWEAK_WAYLAND_SCANNER_PATH
|
|
|
|
$(eval $(meson-package))
|
|
$(eval $(host-meson-package))
|