package/wlroots: add XWayland support
The new option enables the XWayland support, so X11 application can be running on a wlroots based compositor. Also, do not enable the XWayland support if the X11 backend is active, as it is unrelated to it. Signed-off-by: Raphael Pavlidis <raphael.pavlidis@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
df4f7f8e85
commit
5945a71d87
@ -41,4 +41,23 @@ config BR2_PACKAGE_WLROOTS_X11
|
||||
help
|
||||
Support Wayland sessions nested inside a X11 window
|
||||
|
||||
config BR2_PACKAGE_WLROOTS_XWAYLAND
|
||||
bool "XWayland support"
|
||||
depends on BR2_PACKAGE_XORG7 # libxcb, xcb-util-wm, xwayland
|
||||
depends on BR2_USE_MMU # xwayland
|
||||
depends on !BR2_STATIC_LIBS # xwayland
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # xwayland
|
||||
select BR2_PACKAGE_LIBXCB
|
||||
select BR2_PACKAGE_XCB_UTIL_WM
|
||||
select BR2_PACKAGE_XWAYLAND
|
||||
help
|
||||
Support for running X11 applications under wayland
|
||||
|
||||
comment "XWayland support needs X.org enabled"
|
||||
depends on !BR2_PACKAGE_XORG7
|
||||
|
||||
comment "XWayland support needs a toolchain w/ threads, dynamic library"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
|
||||
|
||||
endif
|
||||
|
@ -30,8 +30,12 @@ WLROOTS_BACKENDS = libinput drm
|
||||
|
||||
ifeq ($(BR2_PACKAGE_WLROOTS_X11),y)
|
||||
WLROOTS_BACKENDS += x11
|
||||
WLROOTS_CONF_OPTS += -Dxwayland=enabled
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user