################################################################################ # # weston # ################################################################################ WESTON_VERSION = 1.5.0 WESTON_SITE = http://wayland.freedesktop.org/releases/ WESTON_SOURCE = weston-$(WESTON_VERSION).tar.xz WESTON_LICENSE = MIT WESTON_LICENSE_FILES = COPYING WESTON_DEPENDENCIES = host-pkgconf wayland pixman libpng \ jpeg mtdev udev cairo WESTON_CONF_OPT = \ --with-dtddir=$(STAGING_DIR)/usr/share/wayland \ --disable-egl \ --disable-simple-egl-clients \ --disable-xwayland \ --disable-x11-compositor \ --disable-drm-compositor \ --disable-wayland-compositor \ --disable-headless-compositor \ --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 else WESTON_CONF_OPT += --disable-libinput-backend endif ifeq ($(BR2_PACKAGE_LIBUNWIND),y) WESTON_DEPENDENCIES += libunwind else WESTON_CONF_OPT += --disable-libunwind endif ifeq ($(BR2_PACKAGE_WESTON_FBDEV),y) WESTON_CONF_OPT += --enable-fbdev-compositor else WESTON_CONF_OPT += --disable-fbdev-compositor endif ifeq ($(BR2_PACKAGE_WESTON_RPI),y) WESTON_DEPENDENCIES += rpi-userland WESTON_CONF_OPT += --enable-rpi-compositor \ --disable-resize-optimization \ --disable-setuid-install \ --disable-xwayland-test \ --disable-simple-egl-clients \ WESTON_NATIVE_BACKEND=rpi-backend.so else WESTON_CONF_OPT += --disable-rpi-compositor endif # BR2_PACKAGE_WESTON_RPI $(eval $(autotools-package))