2021-02-13 13:33:53 +01:00
|
|
|
comment "wlroots needs udev, EGL w/ Wayland backend and OpenGL ES support"
|
|
|
|
depends on !BR2_PACKAGE_HAS_LIBEGL || \
|
|
|
|
!BR2_PACKAGE_HAS_LIBEGL_WAYLAND || \
|
|
|
|
!BR2_PACKAGE_HAS_LIBGLES || \
|
2019-11-10 21:06:37 +01:00
|
|
|
!BR2_PACKAGE_HAS_UDEV
|
|
|
|
|
2020-11-22 17:00:07 +01:00
|
|
|
comment "wlroots needs a toolchain w/ threads, dynamic library"
|
2019-11-10 21:06:37 +01:00
|
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS || \
|
|
|
|
BR2_STATIC_LIBS
|
|
|
|
|
|
|
|
config BR2_PACKAGE_WLROOTS
|
|
|
|
bool "wlroots"
|
|
|
|
depends on !BR2_STATIC_LIBS # wayland
|
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libdrm, wayland
|
|
|
|
depends on BR2_PACKAGE_HAS_UDEV # libinput
|
2021-02-13 13:33:53 +01:00
|
|
|
depends on BR2_PACKAGE_HAS_LIBEGL
|
|
|
|
depends on BR2_PACKAGE_HAS_LIBEGL_WAYLAND
|
|
|
|
depends on BR2_PACKAGE_HAS_LIBGLES
|
2019-11-10 21:06:37 +01:00
|
|
|
select BR2_PACKAGE_LIBDRM
|
|
|
|
select BR2_PACKAGE_LIBINPUT
|
|
|
|
select BR2_PACKAGE_LIBXKBCOMMON
|
|
|
|
select BR2_PACKAGE_PIXMAN
|
|
|
|
select BR2_PACKAGE_WAYLAND
|
|
|
|
select BR2_PACKAGE_WAYLAND_PROTOCOLS
|
|
|
|
help
|
|
|
|
wlroots is a modular Wayland library for building compositors
|
|
|
|
which implements many of their common features.
|
|
|
|
|
|
|
|
https://github.com/swaywm/wlroots
|
|
|
|
|
|
|
|
if BR2_PACKAGE_WLROOTS
|
|
|
|
|
|
|
|
config BR2_PACKAGE_WLROOTS_X11
|
|
|
|
bool "X11 backend"
|
|
|
|
depends on BR2_PACKAGE_XORG7
|
2021-05-18 15:54:19 +02:00
|
|
|
select BR2_PACKAGE_LIBXCB
|
|
|
|
select BR2_PACKAGE_XCB_UTIL_RENDERUTIL
|
|
|
|
select BR2_PACKAGE_XCB_UTIL_WM
|
2019-11-10 21:06:37 +01:00
|
|
|
select BR2_PACKAGE_XLIB_LIBX11
|
|
|
|
help
|
|
|
|
Support Wayland sessions nested inside a X11 window
|
|
|
|
|
|
|
|
endif
|