fed835768a
Since commits:c2288a7b88
e18599b05e
Mesa dependency is no longer required. Wlroots is able to run on drivers that provide EGL and GLES2.0 support, and with specific EGL wayland extensions. (thus the BR2_PACKAGE_HAS_LIBEGL_WAYLAND dependency) This was verified on NXP's i.MX8MMini using imx-gpu-viv driver. Signed-off-by: Julien Olivain <ju.o@free.fr> Signed-off-by: Gilles Talis <gilles.talis@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
41 lines
1.2 KiB
Plaintext
41 lines
1.2 KiB
Plaintext
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 || \
|
|
!BR2_PACKAGE_HAS_UDEV
|
|
|
|
comment "wlroots needs a toolchain w/ threads, dynamic library"
|
|
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
|
|
depends on BR2_PACKAGE_HAS_LIBEGL
|
|
depends on BR2_PACKAGE_HAS_LIBEGL_WAYLAND
|
|
depends on BR2_PACKAGE_HAS_LIBGLES
|
|
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
|
|
select BR2_PACKAGE_XLIB_LIBX11
|
|
help
|
|
Support Wayland sessions nested inside a X11 window
|
|
|
|
endif
|