config BR2_PACKAGE_WESTON
bool "weston"
select BR2_PACKAGE_WAYLAND
+ select BR2_PACKAGE_LIBXKBCOMMON
select BR2_PACKAGE_CAIRO
select BR2_PACKAGE_CAIRO_PNG
select BR2_PACKAGE_LIBPNG
if BR2_PACKAGE_WESTON
-config BR2_PACKAGE_WESTON_HW_KBD
- bool "enable keyboard support"
- default y
- select BR2_PACKAGE_LIBXKBCOMMON
- help
- Say 'y' here if you plan on using a keyboard.
-
- Only say 'n' if you're going to use a virtual keyboard or any other
- input method.
-
# Helper to make sure at least one compositor is selected.
config BR2_PACKAGE_WESTON_HAS_COMPOSITOR
bool
WESTON_LICENSE = MIT
WESTON_LICENSE_FILES = COPYING
-WESTON_DEPENDENCIES = host-pkgconf wayland pixman libpng \
+WESTON_DEPENDENCIES = host-pkgconf wayland libxkbcommon pixman libpng \
jpeg mtdev udev cairo
WESTON_CONF_OPT = \
--disable-weston-launch \
--disable-colord
-ifeq ($(BR2_PACKAGE_WESTON_HW_KBD),y)
-WESTON_DEPENDENCIES += libxkbcommon
-WESTON_CONF_OPT += --enable-xkbcommon
-else
-WESTON_CONF_OPT += --disable-xkbcommon
-endif
-
ifeq ($(BR2_PACKAGE_LIBINPUT),y)
WESTON_DEPENDENCIES += libinput
WESTON_CONF_OPT += --enable-libinput-backend