Config.in 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. comment "wlroots needs udev, mesa3d w/ EGL and GLES support"
  2. depends on !BR2_PACKAGE_MESA3D_OPENGL_EGL || \
  3. !BR2_PACKAGE_MESA3D_OPENGL_ES || \
  4. !BR2_PACKAGE_HAS_UDEV
  5. comment "wlroots needs a toolchain w/ threads, dynamic library"
  6. depends on !BR2_TOOLCHAIN_HAS_THREADS || \
  7. BR2_STATIC_LIBS
  8. config BR2_PACKAGE_WLROOTS
  9. bool "wlroots"
  10. depends on !BR2_STATIC_LIBS # wayland
  11. depends on BR2_TOOLCHAIN_HAS_THREADS # libdrm, wayland
  12. depends on BR2_PACKAGE_HAS_UDEV # libinput
  13. # Technically wlroots should work with any OpenGL implementation
  14. # which provides EGL, GLES2, and libgbm; but in practice only
  15. # Mesa ships an usable libgbm.
  16. depends on BR2_PACKAGE_MESA3D_OPENGL_EGL
  17. depends on BR2_PACKAGE_MESA3D_OPENGL_ES
  18. select BR2_PACKAGE_LIBDRM
  19. select BR2_PACKAGE_LIBINPUT
  20. select BR2_PACKAGE_LIBXKBCOMMON
  21. select BR2_PACKAGE_PIXMAN
  22. select BR2_PACKAGE_WAYLAND
  23. select BR2_PACKAGE_WAYLAND_PROTOCOLS
  24. help
  25. wlroots is a modular Wayland library for building compositors
  26. which implements many of their common features.
  27. https://github.com/swaywm/wlroots
  28. if BR2_PACKAGE_WLROOTS
  29. config BR2_PACKAGE_WLROOTS_X11
  30. bool "X11 backend"
  31. depends on BR2_PACKAGE_XORG7
  32. select BR2_PACKAGE_XLIB_LIBX11
  33. help
  34. Support Wayland sessions nested inside a X11 window
  35. endif