|
@@ -1,6 +1,7 @@
|
|
|
-comment "wlroots needs udev, mesa3d w/ EGL and GLES support"
|
|
|
- depends on !BR2_PACKAGE_MESA3D_OPENGL_EGL || \
|
|
|
- !BR2_PACKAGE_MESA3D_OPENGL_ES || \
|
|
|
+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"
|
|
@@ -12,11 +13,9 @@ config BR2_PACKAGE_WLROOTS
|
|
|
depends on !BR2_STATIC_LIBS # wayland
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libdrm, wayland
|
|
|
depends on BR2_PACKAGE_HAS_UDEV # libinput
|
|
|
- # Technically wlroots should work with any OpenGL implementation
|
|
|
- # which provides EGL, GLES2, and libgbm; but in practice only
|
|
|
- # Mesa ships an usable libgbm.
|
|
|
- depends on BR2_PACKAGE_MESA3D_OPENGL_EGL
|
|
|
- depends on BR2_PACKAGE_MESA3D_OPENGL_ES
|
|
|
+ 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
|