1 comment "weston needs udev and a toolchain w/ threads, dynamic library, headers >= 3.0"
2 depends on BR2_ARCH_HAS_ATOMICS
3 depends on !BR2_PACKAGE_HAS_UDEV || !BR2_TOOLCHAIN_HAS_THREADS || \
4 !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 || BR2_STATIC_LIBS
6 config BR2_PACKAGE_WESTON
8 select BR2_PACKAGE_WAYLAND
9 select BR2_PACKAGE_LIBXKBCOMMON
10 select BR2_PACKAGE_CAIRO
11 select BR2_PACKAGE_CAIRO_PNG
12 select BR2_PACKAGE_LIBPNG
13 select BR2_PACKAGE_JPEG
14 select BR2_PACKAGE_MTDEV
15 select BR2_PACKAGE_LIBINPUT
16 depends on BR2_PACKAGE_HAS_UDEV
17 depends on !BR2_STATIC_LIBS # wayland
18 depends on BR2_TOOLCHAIN_HAS_THREADS # wayland
19 depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
20 depends on BR2_ARCH_HAS_ATOMICS # cairo
22 select BR2_PACKAGE_XKEYBOARD_CONFIG
23 # Make sure at least one compositor is selected.
24 select BR2_PACKAGE_WESTON_FBDEV if !BR2_PACKAGE_WESTON_HAS_COMPOSITOR
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.
31 http://wayland.freedesktop.org/
35 # Helper to make sure at least one compositor is selected.
36 config BR2_PACKAGE_WESTON_HAS_COMPOSITOR
39 config BR2_PACKAGE_WESTON_FBDEV
40 bool "fbdev compositor"
42 config BR2_PACKAGE_WESTON_RDP
44 depends on BR2_USE_WCHAR # freerdp
45 select BR2_PACKAGE_FREERDP
46 select BR2_PACKAGE_WESTON_HAS_COMPOSITOR
48 This enables the RDP backend, which allows accessing weston
49 through the network with any RDP-compliant client.
51 Please note that one must pass those options to weston for RDP
53 --rdp-tls-cert=/path/to/server.crt
54 --rdp-tls-key=/path/to/server.key
56 By default, Buildroot installs such files in /etc/freerdp/server/
57 so you may want to change them in a post-build script or a rootfs
60 comment "RDP compositor needs a toolchain w/ wchar"
61 depends on !BR2_USE_WCHAR
63 # rpi-userland is an EGL/GLES provider, so we can't select it
64 config BR2_PACKAGE_WESTON_RPI
66 depends on BR2_PACKAGE_RPI_USERLAND
67 select BR2_PACKAGE_WESTON_HAS_COMPOSITOR