kumquat-buildroot/package/wlroots/wlroots.mk
Adrian Perez de Castro d6279bc82c package/wlroots: bump to version 0.16.2
Update to version 0.16.2, which brings in support for a few new Wayland
protocols, and improved input device and scene graph APIs. Applications
which use wlroots might need to be adapted, and at least rebuilt. The
only packages in Buildroot which use wlroots at the moment are the Cage
and Sway compositors, to be updated in follow-up patches.

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2023-11-01 12:25:51 +01:00

53 lines
1.3 KiB
Makefile

################################################################################
#
# wlroots
#
################################################################################
WLROOTS_VERSION = 0.16.2
WLROOTS_SITE = https://gitlab.freedesktop.org/wlroots/wlroots/-/releases/$(WLROOTS_VERSION)/downloads
WLROOTS_LICENSE = MIT
WLROOTS_LICENSE_FILES = LICENSE
WLROOTS_INSTALL_STAGING = YES
WLROOTS_DEPENDENCIES = \
host-pkgconf \
host-wayland \
libinput \
libxkbcommon \
libegl \
libgles \
pixman \
seatd \
udev \
wayland \
wayland-protocols
WLROOTS_CONF_OPTS = -Dexamples=false -Dxcb-errors=disabled
WLROOTS_RENDERERS = gles2
WLROOTS_BACKENDS = libinput drm
ifeq ($(BR2_PACKAGE_WLROOTS_X11),y)
WLROOTS_BACKENDS += x11
WLROOTS_DEPENDENCIES += libxcb xcb-util-wm xcb-util-renderutil xlib_libX11
endif
ifeq ($(BR2_PACKAGE_WLROOTS_XWAYLAND),y)
WLROOTS_CONF_OPTS += -Dxwayland=enabled
WLROOTS_DEPENDENCIES += libxcb xcb-util-wm xwayland
else
WLROOTS_CONF_OPTS += -Dxwayland=disabled
endif
ifeq ($(BR2_PACKAGE_MESA3D_VULKAN_DRIVER),y)
WLROOTS_RENDERERS += vulkan
WLROOTS_DEPENDENCIES += mesa3d
endif
WLROOTS_CONF_OPTS += \
-Dbackends=$(subst $(space),$(comma),$(strip $(WLROOTS_BACKENDS))) \
-Drenderers=$(subst $(space),$(comma),$(strip $(WLROOTS_RENDERERS)))
$(eval $(meson-package))