]> rtime.felk.cvut.cz Git - coffee/buildroot.git/blob - package/weston/Config.in
4532c28a2d0afde32b6b1f2e2712715d3e86f7e2
[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         help
18           Weston is the reference implementation of a Wayland
19           compositor, and a useful compositor in its own right.
20           Weston has various backends that lets it run on Linux kernel
21           modesetting and evdev input as well as under X11.
22
23           http://wayland.freedesktop.org/
24
25 if BR2_PACKAGE_WESTON
26
27 # These two options make sure at least one compositor is selected.
28 config BR2_PACKAGE_WESTON_HAS_COMPOSITOR
29         bool
30 config BR2_PACKAGE_WESTON_NEEDS_ONE_COMPOSITOR
31         def_bool y
32         depends on ! BR2_PACKAGE_WESTON_HAS_COMPOSITOR
33         select BR2_PACKAGE_WESTON_FBDEV
34
35 config BR2_PACKAGE_WESTON_FBDEV
36         bool "fbdev compositor"
37         default y
38
39 config BR2_PACKAGE_WESTON_RPI
40         bool "RPi compositor"
41         depends on BR2_arm                      # rpi-userland
42         depends on BR2_INSTALL_LIBSTDCPP        # rpi-userland
43         depends on BR2_LARGEFILE                # rpi-userland
44         depends on BR2_TOOLCHAIN_HAS_THREADS    # rpi-userland
45         select BR2_PACKAGE_RPI_USERLAND
46         select BR2_PACKAGE_WESTON_HAS_COMPOSITOR
47
48 endif