mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-19 16:40:46 -09:00
Cage requires wlroots to be built with X11 enabled
in order to enable XWayland, otherwise it will fail
with error:
"ERROR: Problem encountered: Cannot build Cage with
XWayland support: wlroots has been built without it"
Signed-off-by: Yunhao Tian <t123yh.xyz@gmail.com>
[yann.morin.1998@free.fr:
- drop explicit _XORG7, as _WLROOTS_X11 depends on it
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 3e4c2d6213)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
21 lines
544 B
Makefile
21 lines
544 B
Makefile
################################################################################
|
|
#
|
|
# cage
|
|
#
|
|
################################################################################
|
|
|
|
CAGE_VERSION = 0.1.4
|
|
CAGE_SITE = https://github.com/Hjdskes/cage/releases/download/v$(CAGE_VERSION)
|
|
CAGE_LICENSE = MIT
|
|
CAGE_LICENSE_FILES = LICENSE
|
|
CAGE_DEPENDENCIES = host-pkgconf wlroots
|
|
CAGE_CONF_OPTS = -Dman-pages=disabled
|
|
|
|
ifeq ($(BR2_PACKAGE_WLROOTS_X11),y)
|
|
CAGE_CONF_OPTS += -Dxwayland=true
|
|
else
|
|
CAGE_CONF_OPTS += -Dxwayland=false
|
|
endif
|
|
|
|
$(eval $(meson-package))
|