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 || \
6 config BR2_PACKAGE_WESTON
8 select BR2_PACKAGE_WAYLAND
9 select BR2_PACKAGE_WAYLAND_PROTOCOLS
10 select BR2_PACKAGE_LIBXKBCOMMON
11 select BR2_PACKAGE_CAIRO
12 select BR2_PACKAGE_CAIRO_PNG
13 select BR2_PACKAGE_LIBPNG
14 select BR2_PACKAGE_JPEG
15 select BR2_PACKAGE_MTDEV
16 select BR2_PACKAGE_LIBINPUT
17 depends on BR2_ENABLE_LOCALE # libinput
18 depends on BR2_PACKAGE_HAS_UDEV
19 depends on !BR2_STATIC_LIBS # wayland
20 depends on BR2_TOOLCHAIN_HAS_THREADS # wayland
21 depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
23 select BR2_PACKAGE_XKEYBOARD_CONFIG
24 # Make sure at least one compositor is selected.
25 select BR2_PACKAGE_WESTON_FBDEV if !BR2_PACKAGE_WESTON_HAS_COMPOSITOR
27 Weston is the reference implementation of a Wayland
28 compositor, and a useful compositor in its own right.
29 Weston has various backends that lets it run on Linux kernel
30 modesetting and evdev input as well as under X11.
32 http://wayland.freedesktop.org/
36 # Helper to make sure at least one compositor is selected.
37 config BR2_PACKAGE_WESTON_HAS_COMPOSITOR
40 config BR2_PACKAGE_WESTON_DRM
42 depends on BR2_PACKAGE_MESA3D_OPENGL_EGL
43 select BR2_PACKAGE_LIBDRM
44 select BR2_PACKAGE_WESTON_HAS_COMPOSITOR
46 # Uses libgbm from mesa3d
47 comment "DRM compositor needs an OpenGL EGL backend provided by mesa3d"
48 depends on !BR2_PACKAGE_MESA3D_OPENGL_EGL
50 config BR2_PACKAGE_WESTON_FBDEV
51 bool "fbdev compositor"
53 # FreeRDP needs threads and !static, already the case for weston
54 config BR2_PACKAGE_WESTON_RDP
56 depends on BR2_USE_WCHAR # freerdp
57 depends on BR2_USE_MMU # freerdp, libglib2
58 depends on BR2_TOOLCHAIN_HAS_SYNC_4
59 select BR2_PACKAGE_FREERDP
60 select BR2_PACKAGE_WESTON_HAS_COMPOSITOR
62 This enables the RDP backend, which allows accessing weston
63 through the network with any RDP-compliant client.
65 Please note that one must pass those options to weston for RDP
67 --rdp-tls-cert=/path/to/server.crt
68 --rdp-tls-key=/path/to/server.key
70 By default, Buildroot installs such files in /etc/freerdp/server/
71 so you may want to change them in a post-build script or a rootfs
74 comment "RDP compositor needs a toolchain w/ wchar"
75 depends on BROKEN # needs FreeRDP master
76 depends on BR2_TOOLCHAIN_HAS_SYNC_4
77 depends on !BR2_USE_WCHAR
79 # rpi-userland is an EGL/GLES provider, so we can't select it
80 config BR2_PACKAGE_WESTON_RPI
82 depends on BR2_PACKAGE_RPI_USERLAND
83 select BR2_PACKAGE_WESTON_HAS_COMPOSITOR
85 config BR2_PACKAGE_WESTON_X11
87 depends on BR2_PACKAGE_XORG7
88 select BR2_PACKAGE_LIBXCB
89 select BR2_PACKAGE_XLIB_LIBX11
90 select BR2_PACKAGE_WESTON_HAS_COMPOSITOR
92 comment "X11 compositor needs X.org enabled"
93 depends on !BR2_PACKAGE_XORG7
95 config BR2_PACKAGE_WESTON_XWAYLAND
96 bool "XWayland support"
97 depends on BR2_PACKAGE_XORG7
98 depends on BR2_PACKAGE_LIBEPOXY
99 select BR2_PACKAGE_CAIRO
100 select BR2_PACKAGE_LIBXCB
101 select BR2_PACKAGE_XLIB_LIBX11
102 select BR2_PACKAGE_XLIB_LIBXCURSOR
104 comment "XWayland support needs libepoxy and X.org enabled"
105 depends on !BR2_PACKAGE_XORG7 || !BR2_PACKAGE_LIBEPOXY
107 config BR2_PACKAGE_WESTON_DEMO_CLIENTS
110 This enables the installation of Weston's demo clients.