package/weston: add xwayland dependency
If the XWayland support is enabled then build the corresponding XServer. Signed-off-by: Raphael Pavlidis <raphael.pavlidis@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
05c3177493
commit
df4f7f8e85
@ -109,16 +109,24 @@ comment "X11 (nested) compositor needs X.org enabled"
|
|||||||
|
|
||||||
config BR2_PACKAGE_WESTON_XWAYLAND
|
config BR2_PACKAGE_WESTON_XWAYLAND
|
||||||
bool "XWayland support"
|
bool "XWayland support"
|
||||||
depends on BR2_PACKAGE_XORG7
|
|
||||||
depends on BR2_PACKAGE_LIBEPOXY
|
depends on BR2_PACKAGE_LIBEPOXY
|
||||||
|
depends on BR2_PACKAGE_XORG7 # xwayland
|
||||||
|
depends on BR2_USE_MMU # xwayland
|
||||||
|
depends on !BR2_STATIC_LIBS # xwayland
|
||||||
|
depends on BR2_TOOLCHAIN_HAS_THREADS # xwayland
|
||||||
select BR2_PACKAGE_CAIRO
|
select BR2_PACKAGE_CAIRO
|
||||||
select BR2_PACKAGE_LIBXCB
|
select BR2_PACKAGE_LIBXCB
|
||||||
select BR2_PACKAGE_XLIB_LIBX11
|
select BR2_PACKAGE_XLIB_LIBX11
|
||||||
select BR2_PACKAGE_XLIB_LIBXCURSOR
|
select BR2_PACKAGE_XLIB_LIBXCURSOR
|
||||||
|
select BR2_PACKAGE_XWAYLAND
|
||||||
|
|
||||||
comment "XWayland support needs libepoxy and X.org enabled"
|
comment "XWayland support needs libepoxy and X.org enabled"
|
||||||
depends on !BR2_PACKAGE_XORG7 || !BR2_PACKAGE_LIBEPOXY
|
depends on !BR2_PACKAGE_XORG7 || !BR2_PACKAGE_LIBEPOXY
|
||||||
|
|
||||||
|
comment "XWayland support needs a toolchain w/ threads, dynamic library"
|
||||||
|
depends on BR2_USE_MMU
|
||||||
|
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
|
||||||
|
|
||||||
# Weston needs at least one shell; this can be one of the bundled ones,
|
# Weston needs at least one shell; this can be one of the bundled ones,
|
||||||
# below, of from a third-party package, which should then select this.
|
# below, of from a third-party package, which should then select this.
|
||||||
config BR2_PACKAGE_WESTON_HAS_SHELL
|
config BR2_PACKAGE_WESTON_HAS_SHELL
|
||||||
|
@ -123,7 +123,7 @@ WESTON_CONF_OPTS += -Dbackend-default=$(call qstrip,$(BR2_PACKAGE_WESTON_DEFAULT
|
|||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_WESTON_XWAYLAND),y)
|
ifeq ($(BR2_PACKAGE_WESTON_XWAYLAND),y)
|
||||||
WESTON_CONF_OPTS += -Dxwayland=true
|
WESTON_CONF_OPTS += -Dxwayland=true
|
||||||
WESTON_DEPENDENCIES += cairo libepoxy libxcb xlib_libX11 xlib_libXcursor
|
WESTON_DEPENDENCIES += cairo libepoxy libxcb xlib_libX11 xlib_libXcursor xwayland
|
||||||
else
|
else
|
||||||
WESTON_CONF_OPTS += -Dxwayland=false
|
WESTON_CONF_OPTS += -Dxwayland=false
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user