Config.in 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. comment "weston needs udev and a toolchain w/ locale, threads, dynamic library, headers >= 3.0"
  2. depends on !BR2_PACKAGE_HAS_UDEV || !BR2_TOOLCHAIN_HAS_THREADS || \
  3. !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 || BR2_STATIC_LIBS || \
  4. !BR2_ENABLE_LOCALE
  5. config BR2_PACKAGE_WESTON
  6. bool "weston"
  7. depends on BR2_PACKAGE_HAS_UDEV
  8. depends on !BR2_STATIC_LIBS # wayland
  9. depends on BR2_TOOLCHAIN_HAS_THREADS # wayland
  10. depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
  11. select BR2_PACKAGE_WAYLAND
  12. select BR2_PACKAGE_WAYLAND_PROTOCOLS
  13. select BR2_PACKAGE_LIBXKBCOMMON
  14. select BR2_PACKAGE_CAIRO
  15. select BR2_PACKAGE_CAIRO_PNG
  16. select BR2_PACKAGE_LIBPNG
  17. select BR2_PACKAGE_JPEG
  18. select BR2_PACKAGE_LIBINPUT
  19. select BR2_PACKAGE_LIBDRM
  20. # Runtime dependency
  21. select BR2_PACKAGE_XKEYBOARD_CONFIG
  22. help
  23. Weston is the reference implementation of a Wayland
  24. compositor, and a useful compositor in its own right.
  25. Weston has various backends that lets it run on Linux kernel
  26. modesetting and evdev input as well as under X11.
  27. http://wayland.freedesktop.org/
  28. if BR2_PACKAGE_WESTON
  29. choice
  30. prompt "default compositor"
  31. config BR2_PACKAGE_WESTON_DEFAULT_FBDEV
  32. bool "fbdev"
  33. select BR2_PACKAGE_WESTON_FBDEV
  34. config BR2_PACKAGE_WESTON_DEFAULT_DRM
  35. bool "drm"
  36. depends on BR2_PACKAGE_MESA3D_OPENGL_EGL || BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_WL
  37. select BR2_PACKAGE_WESTON_DRM
  38. comment "drm backend needs mesa3d w/ EGL driver"
  39. depends on !BR2_PACKAGE_MESA3D_OPENGL_EGL && !BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_WL
  40. config BR2_PACKAGE_WESTON_DEFAULT_X11
  41. bool "X11"
  42. depends on BR2_PACKAGE_XORG7
  43. select BR2_PACKAGE_WESTON_X11
  44. comment "X11 backend needs X.org"
  45. depends on !BR2_PACKAGE_XORG7
  46. endchoice
  47. config BR2_PACKAGE_WESTON_DEFAULT_COMPOSITOR
  48. string
  49. default "fbdev" if BR2_PACKAGE_WESTON_DEFAULT_FBDEV
  50. default "drm" if BR2_PACKAGE_WESTON_DEFAULT_DRM
  51. default "x11" if BR2_PACKAGE_WESTON_DEFAULT_X11
  52. config BR2_PACKAGE_WESTON_DRM
  53. bool "DRM compositor"
  54. depends on BR2_PACKAGE_MESA3D_OPENGL_EGL || BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_WL
  55. # Uses libgbm from mesa3d
  56. comment "DRM compositor needs an OpenGL EGL backend provided by mesa3d"
  57. depends on !BR2_PACKAGE_MESA3D_OPENGL_EGL && !BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_WL
  58. config BR2_PACKAGE_WESTON_FBDEV
  59. bool "fbdev compositor"
  60. # FreeRDP needs threads and !static, already the case for weston
  61. config BR2_PACKAGE_WESTON_RDP
  62. bool "RDP compositor"
  63. depends on BR2_USE_MMU # freerdp, libglib2
  64. depends on BR2_TOOLCHAIN_HAS_SYNC_4
  65. depends on BR2_USE_WCHAR # freerdp
  66. depends on BR2_INSTALL_LIBSTDCPP # freerdp
  67. select BR2_PACKAGE_FREERDP
  68. help
  69. This enables the RDP backend, which allows accessing weston
  70. through the network with any RDP-compliant client.
  71. Please note that one must pass those options to weston for RDP
  72. to be functional:
  73. --rdp-tls-cert=/path/to/server.crt
  74. --rdp-tls-key=/path/to/server.key
  75. By default, Buildroot installs such files in
  76. /etc/freerdp/server/ so you may want to change them in a
  77. post-build script or a rootfs overlay.
  78. comment "RDP compositor needs a toolchain w/ wchar, C++"
  79. depends on BR2_USE_MMU
  80. depends on BR2_TOOLCHAIN_HAS_SYNC_4
  81. depends on !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP
  82. config BR2_PACKAGE_WESTON_X11
  83. bool "X11 compositor"
  84. depends on BR2_PACKAGE_XORG7
  85. select BR2_PACKAGE_LIBXCB
  86. select BR2_PACKAGE_XLIB_LIBX11
  87. comment "X11 compositor needs X.org enabled"
  88. depends on !BR2_PACKAGE_XORG7
  89. config BR2_PACKAGE_WESTON_XWAYLAND
  90. bool "XWayland support"
  91. depends on BR2_PACKAGE_XORG7
  92. depends on BR2_PACKAGE_LIBEPOXY
  93. select BR2_PACKAGE_CAIRO
  94. select BR2_PACKAGE_LIBXCB
  95. select BR2_PACKAGE_XLIB_LIBX11
  96. select BR2_PACKAGE_XLIB_LIBXCURSOR
  97. comment "XWayland support needs libepoxy and X.org enabled"
  98. depends on !BR2_PACKAGE_XORG7 || !BR2_PACKAGE_LIBEPOXY
  99. config BR2_PACKAGE_WESTON_DEMO_CLIENTS
  100. bool "demo clients"
  101. depends on BR2_USE_MMU # pango
  102. depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pango
  103. depends on BR2_INSTALL_LIBSTDCPP # pango
  104. depends on BR2_TOOLCHAIN_HAS_THREADS # pango
  105. depends on BR2_USE_WCHAR # pango
  106. depends on BR2_PACKAGE_HAS_LIBGLES
  107. depends on BR2_PACKAGE_HAS_LIBEGL_WAYLAND
  108. select BR2_PACKAGE_PANGO
  109. help
  110. This enables the installation of Weston's demo clients.
  111. comment "demo clients needs an OpenGL ES provider, an OpenEGL-capable Wayland backend and a toolchain w/ wchar, threads, C++"
  112. depends on BR2_USE_MMU
  113. depends on BR2_TOOLCHAIN_HAS_SYNC_4
  114. depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
  115. !BR2_USE_WCHAR || !BR2_PACKAGE_HAS_LIBGLES || \
  116. !BR2_PACKAGE_HAS_LIBEGL_WAYLAND
  117. endif