c2bc0694c4
Stop trying to enable the xcb-errors Meson option and always disable it: there is no xcb-util-errors package in Buildroot. The build recipe was wrongly assuming that the XCB errors library would be installed as part of the xcb-util package, which is not the case. Fixes the following autobuilder failure: http://autobuild.buildroot.net/results/1891aa624b29e4bbcbbe6bc752a1cc90c316024e/ Signed-off-by: Adrian Perez de Castro <aperez@igalia.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
63 lines
1.4 KiB
Makefile
63 lines
1.4 KiB
Makefile
################################################################################
|
|
#
|
|
# wlroots
|
|
#
|
|
################################################################################
|
|
|
|
WLROOTS_VERSION = 0.11.0
|
|
WLROOTS_SITE = https://github.com/swaywm/wlroots/releases/download/$(WLROOTS_VERSION)
|
|
WLROOTS_LICENSE = MIT
|
|
WLROOTS_LICENSE_FILES = LICENSE
|
|
WLROOTS_INSTALL_STAGING = YES
|
|
|
|
WLROOTS_DEPENDENCIES = \
|
|
host-pkgconf \
|
|
host-wayland \
|
|
libinput \
|
|
libxkbcommon \
|
|
mesa3d \
|
|
pixman \
|
|
udev \
|
|
wayland \
|
|
wayland-protocols
|
|
|
|
WLROOTS_CONF_OPTS = -Dexamples=false -Dxcb-errors=disabled
|
|
|
|
ifeq ($(BR2_PACKAGE_FFMPEG),y)
|
|
WLROOTS_DEPENDENCIES += ffmpeg
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBPNG),y)
|
|
WLROOTS_DEPENDENCIES += libpng
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_SYSTEMD_LOGIND),y)
|
|
WLROOTS_CONF_OPTS += -Dlogind=enabled -Dlogind-provider=systemd
|
|
WLROOTS_DEPENDENCIES += systemd
|
|
else
|
|
WLROOTS_CONF_OPTS += -Dlogind=disabled
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_WLROOTS_X11),y)
|
|
WLROOTS_CONF_OPTS += -Dx11-backend=enabled
|
|
WLROOTS_DEPENDENCIES += xlib_libX11
|
|
else
|
|
WLROOTS_CONF_OPTS += -Dx11-backend=disabled
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBXCB),y)
|
|
WLROOTS_CONF_OPTS += -Dxwayland=enabled
|
|
WLROOTS_DEPENDENCIES += libxcb
|
|
else
|
|
WLROOTS_CONF_OPTS += -Dxwayland=disabled
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_XCB_UTIL_WM),y)
|
|
WLROOTS_CONF_OPTS += -Dxcb-icccm=enabled
|
|
WLROOTS_DEPENDENCIES += xcb-util-wm
|
|
else
|
|
WLROOTS_CONF_OPTS += -Dxcb-icccm=disabled
|
|
endif
|
|
|
|
$(eval $(meson-package))
|