package/logrotate: update upstream site in Config.in help
[buildroot-gz.git] / package / weston / Config.in
blobb4e198d8f06e82eebc5358e1aeb476d012d70faf
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
6 config BR2_PACKAGE_WESTON
7         bool "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
22         # Runtime dependency
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
26         help
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/
34 if BR2_PACKAGE_WESTON
36 # Helper to make sure at least one compositor is selected.
37 config BR2_PACKAGE_WESTON_HAS_COMPOSITOR
38         bool
40 config BR2_PACKAGE_WESTON_DRM
41         bool "DRM compositor"
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
55         bool "RDP compositor"
56         depends on BR2_USE_MMU # freerdp, libglib2
57         depends on BR2_TOOLCHAIN_HAS_SYNC_4
58         depends on BR2_USE_WCHAR # freerdp
59         depends on BR2_INSTALL_LIBSTDCPP # freerdp
60         select BR2_PACKAGE_FREERDP
61         select BR2_PACKAGE_WESTON_HAS_COMPOSITOR
62         help
63           This enables the RDP backend, which allows accessing weston
64           through the network with any RDP-compliant client.
66           Please note that one must pass those options to weston for RDP
67           to be functional:
68             --rdp-tls-cert=/path/to/server.crt
69             --rdp-tls-key=/path/to/server.key
71           By default, Buildroot installs such files in /etc/freerdp/server/
72           so you may want to change them in a post-build script or a rootfs
73           overlay.
75 comment "RDP compositor needs a toolchain w/ wchar, C++"
76         depends on BR2_USE_MMU
77         depends on BR2_TOOLCHAIN_HAS_SYNC_4
78         depends on !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP
80 config BR2_PACKAGE_WESTON_X11
81         bool "X11 compositor"
82         depends on BR2_PACKAGE_XORG7
83         select BR2_PACKAGE_LIBXCB
84         select BR2_PACKAGE_XLIB_LIBX11
85         select BR2_PACKAGE_WESTON_HAS_COMPOSITOR
87 comment "X11 compositor needs X.org enabled"
88         depends on !BR2_PACKAGE_XORG7
90 config BR2_PACKAGE_WESTON_XWAYLAND
91         bool "XWayland support"
92         depends on BR2_PACKAGE_XORG7
93         depends on BR2_PACKAGE_LIBEPOXY
94         select BR2_PACKAGE_CAIRO
95         select BR2_PACKAGE_LIBXCB
96         select BR2_PACKAGE_XLIB_LIBX11
97         select BR2_PACKAGE_XLIB_LIBXCURSOR
99 comment "XWayland support needs libepoxy and X.org enabled"
100         depends on !BR2_PACKAGE_XORG7 || !BR2_PACKAGE_LIBEPOXY
102 config BR2_PACKAGE_WESTON_DEMO_CLIENTS
103         bool "demo clients"
104         help
105           This enables the installation of Weston's demo clients.
107 endif