]> rtime.felk.cvut.cz Git - coffee/buildroot.git/blob - package/weston/Config.in
weston: improve selection of compositor
[coffee/buildroot.git] / package / weston / Config.in
1 comment "weston requires udev"
2         depends on !BR2_PACKAGE_UDEV
3
4 config BR2_PACKAGE_WESTON
5         bool "weston"
6         select BR2_PACKAGE_WAYLAND
7         select BR2_PACKAGE_LIBXKBCOMMON
8         select BR2_PACKAGE_CAIRO
9         select BR2_PACKAGE_CAIRO_PNG
10         select BR2_PACKAGE_LIBPNG
11         select BR2_PACKAGE_JPEG
12         select BR2_PACKAGE_MTDEV
13         depends on BR2_PACKAGE_UDEV
14         depends on BR2_TOOLCHAIN_HAS_THREADS # wayland
15         # Runtime dependency
16         select BR2_PACKAGE_XKEYBOARD_CONFIG
17         # Make sure at least one compositor is selected.
18         select BR2_PACKAGE_WESTON_FBDEV if !BR2_PACKAGE_WESTON_HAS_COMPOSITOR
19         help
20           Weston is the reference implementation of a Wayland
21           compositor, and a useful compositor in its own right.
22           Weston has various backends that lets it run on Linux kernel
23           modesetting and evdev input as well as under X11.
24
25           http://wayland.freedesktop.org/
26
27 if BR2_PACKAGE_WESTON
28
29 # Helper to make sure at least one compositor is selected.
30 config BR2_PACKAGE_WESTON_HAS_COMPOSITOR
31         bool
32
33 config BR2_PACKAGE_WESTON_FBDEV
34         bool "fbdev compositor"
35
36 config BR2_PACKAGE_WESTON_RPI
37         bool "RPi compositor"
38         depends on BR2_arm                      # rpi-userland
39         depends on BR2_INSTALL_LIBSTDCPP        # rpi-userland
40         depends on BR2_LARGEFILE                # rpi-userland
41         depends on BR2_TOOLCHAIN_HAS_THREADS    # rpi-userland
42         select BR2_PACKAGE_RPI_USERLAND
43         select BR2_PACKAGE_WESTON_HAS_COMPOSITOR
44
45 endif