Config.in 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  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. select BR2_PACKAGE_SEATD
  21. select BR2_PACKAGE_SEATD_DAEMON if !BR2_PACKAGE_SYSTEMD_LOGIND
  22. # Runtime dependency
  23. select BR2_PACKAGE_XKEYBOARD_CONFIG
  24. select BR2_PACKAGE_WESTON_SHELL_DESKTOP if !BR2_PACKAGE_WESTON_HAS_SHELL
  25. help
  26. Weston is the reference implementation of a Wayland
  27. compositor, and a useful compositor in its own right.
  28. Weston has various backends that lets it run on Linux kernel
  29. modesetting and evdev input as well as under X11.
  30. http://wayland.freedesktop.org/
  31. if BR2_PACKAGE_WESTON
  32. choice
  33. prompt "default compositor"
  34. config BR2_PACKAGE_WESTON_DEFAULT_DRM
  35. bool "drm"
  36. select BR2_PACKAGE_WESTON_DRM
  37. config BR2_PACKAGE_WESTON_DEFAULT_HEADLESS
  38. bool "headless"
  39. select BR2_PACKAGE_WESTON_HEADLESS
  40. config BR2_PACKAGE_WESTON_DEFAULT_RDP
  41. bool "rdp"
  42. depends on BR2_USE_MMU # freerdp, libglib2
  43. depends on BR2_TOOLCHAIN_HAS_SYNC_4
  44. depends on BR2_USE_WCHAR # freerdp
  45. depends on BR2_INSTALL_LIBSTDCPP # freerdp
  46. depends on BR2_PACKAGE_XORG7 # freerdp-server
  47. select BR2_PACKAGE_WESTON_RDP
  48. config BR2_PACKAGE_WESTON_DEFAULT_WAYLAND
  49. bool "wayland (nested)"
  50. select BR2_PACKAGE_WESTON_WAYLAND
  51. config BR2_PACKAGE_WESTON_DEFAULT_X11
  52. bool "X11 (nested)"
  53. depends on BR2_PACKAGE_XORG7
  54. select BR2_PACKAGE_WESTON_X11
  55. comment "X11 (nested) backend needs X.org"
  56. depends on !BR2_PACKAGE_XORG7
  57. endchoice
  58. config BR2_PACKAGE_WESTON_DEFAULT_COMPOSITOR
  59. string
  60. default "drm" if BR2_PACKAGE_WESTON_DEFAULT_DRM
  61. default "headless" if BR2_PACKAGE_WESTON_DEFAULT_HEADLESS
  62. default "rdp" if BR2_PACKAGE_WESTON_DEFAULT_RDP
  63. default "wayland" if BR2_PACKAGE_WESTON_DEFAULT_WAYLAND
  64. default "x11" if BR2_PACKAGE_WESTON_DEFAULT_X11
  65. config BR2_PACKAGE_WESTON_DRM
  66. bool "DRM compositor"
  67. # FreeRDP needs threads and !static, already the case for weston
  68. config BR2_PACKAGE_WESTON_RDP
  69. bool "RDP compositor"
  70. depends on BR2_USE_MMU # freerdp, libglib2
  71. depends on BR2_TOOLCHAIN_HAS_SYNC_4
  72. depends on BR2_USE_WCHAR # freerdp
  73. depends on BR2_INSTALL_LIBSTDCPP # freerdp
  74. depends on BR2_PACKAGE_XORG7 # freerdp-server
  75. select BR2_PACKAGE_FREERDP
  76. select BR2_PACKAGE_FREERDP_SERVER
  77. help
  78. This enables the RDP backend, which allows accessing weston
  79. through the network with any RDP-compliant client.
  80. Please note that one must pass those options to weston for RDP
  81. to be functional:
  82. --rdp-tls-cert=/path/to/server.crt
  83. --rdp-tls-key=/path/to/server.key
  84. By default, Buildroot installs such files in
  85. /etc/freerdp/server/ so you may want to change them in a
  86. post-build script or a rootfs overlay.
  87. comment "RDP compositor needs a toolchain w/ wchar, C++, X.org"
  88. depends on BR2_USE_MMU
  89. depends on BR2_TOOLCHAIN_HAS_SYNC_4
  90. depends on !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP || \
  91. !BR2_PACKAGE_XORG7
  92. config BR2_PACKAGE_WESTON_HEADLESS
  93. bool "headless (testing) compositor"
  94. config BR2_PACKAGE_WESTON_WAYLAND
  95. bool "Wayland (nested) compositor"
  96. config BR2_PACKAGE_WESTON_X11
  97. bool "X11 (nested) compositor"
  98. depends on BR2_PACKAGE_XORG7
  99. select BR2_PACKAGE_LIBXCB
  100. select BR2_PACKAGE_XLIB_LIBX11
  101. comment "X11 (nested) compositor needs X.org enabled"
  102. depends on !BR2_PACKAGE_XORG7
  103. config BR2_PACKAGE_WESTON_XWAYLAND
  104. bool "XWayland support"
  105. depends on BR2_PACKAGE_LIBEPOXY
  106. depends on BR2_PACKAGE_XORG7 # xwayland
  107. depends on BR2_USE_MMU # xwayland
  108. depends on !BR2_STATIC_LIBS # xwayland
  109. depends on BR2_TOOLCHAIN_HAS_THREADS # xwayland
  110. depends on BR2_TOOLCHAIN_HAS_SYNC_4 # xwayland -> xlib_libxshmfence
  111. select BR2_PACKAGE_CAIRO
  112. select BR2_PACKAGE_LIBXCB
  113. select BR2_PACKAGE_XCB_UTIL_CURSOR
  114. select BR2_PACKAGE_XLIB_LIBX11
  115. select BR2_PACKAGE_XLIB_LIBXCURSOR
  116. select BR2_PACKAGE_XWAYLAND
  117. comment "XWayland support needs libepoxy and X.org enabled"
  118. depends on !BR2_PACKAGE_XORG7 || !BR2_PACKAGE_LIBEPOXY
  119. comment "XWayland support needs a toolchain w/ threads, dynamic library"
  120. depends on BR2_USE_MMU
  121. depends on BR2_TOOLCHAIN_HAS_SYNC_4
  122. depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
  123. # Weston needs at least one shell; this can be one of the bundled ones,
  124. # below, of from a third-party package, which should then select this.
  125. config BR2_PACKAGE_WESTON_HAS_SHELL
  126. bool
  127. config BR2_PACKAGE_WESTON_SHELL_DESKTOP
  128. bool "desktop shell"
  129. default y
  130. config BR2_PACKAGE_WESTON_SHELL_FULLSCREEN
  131. bool "fullscreen shell"
  132. default y
  133. select BR2_PACKAGE_WESTON_HAS_SHELL
  134. config BR2_PACKAGE_WESTON_SHELL_IVI
  135. bool "ivi shell"
  136. default y
  137. select BR2_PACKAGE_WESTON_HAS_SHELL
  138. config BR2_PACKAGE_WESTON_SHELL_KIOSK
  139. bool "kiosk shell"
  140. default y
  141. select BR2_PACKAGE_WESTON_HAS_SHELL
  142. config BR2_PACKAGE_WESTON_SCREENSHARE
  143. bool "screenshare"
  144. default y
  145. config BR2_PACKAGE_WESTON_SIMPLE_CLIENTS
  146. bool "simple clients"
  147. help
  148. Simple clients includes application such as:
  149. damage, dmabuf-feedback, dmabuf-egl, dmabuf-v4l, egl
  150. In the target filesystem, simple client program binaries are
  151. prefixed with "weston-simple-".
  152. Note: Weston has two sets of clients. See also the weston
  153. "demo clients" option.
  154. config BR2_PACKAGE_WESTON_DEMO_CLIENTS
  155. bool "demo clients"
  156. depends on BR2_USE_MMU # pango
  157. depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pango
  158. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # pango
  159. depends on BR2_INSTALL_LIBSTDCPP # pango
  160. depends on BR2_TOOLCHAIN_HAS_THREADS # pango
  161. depends on BR2_USE_WCHAR # pango
  162. depends on BR2_PACKAGE_HAS_LIBGLES
  163. depends on BR2_PACKAGE_HAS_LIBEGL_WAYLAND
  164. select BR2_PACKAGE_PANGO
  165. help
  166. This enables the installation of Weston's demo clients.
  167. Demo clients includes application such as:
  168. clickdot, confine, content_protection, dnd, editor,
  169. eventdemo, flower, fullscreen, image, multi-resource,
  170. presentation-shm, resizor, scaler, smoke, stacking,
  171. subsurfaces, tablet, transformed...
  172. In the target filesystem, demo client program binaries are
  173. prefixed with "weston-".
  174. Note: Weston has two sets of clients. See also the weston
  175. "simple clients" option.
  176. comment "demo clients needs an OpenGL ES provider, an OpenEGL-capable Wayland backend and a toolchain w/ wchar, threads, C++, gcc >= 4.9"
  177. depends on BR2_USE_MMU
  178. depends on BR2_TOOLCHAIN_HAS_SYNC_4
  179. depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
  180. !BR2_USE_WCHAR || !BR2_PACKAGE_HAS_LIBGLES || \
  181. !BR2_PACKAGE_HAS_LIBEGL_WAYLAND || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
  182. endif