1 ################################################################################
5 ################################################################################
8 WESTON_SITE = http://wayland.freedesktop.org/releases
9 WESTON_SOURCE = weston-$(WESTON_VERSION).tar.xz
11 WESTON_LICENSE_FILES = COPYING
13 WESTON_DEPENDENCIES = host-pkgconf wayland libxkbcommon pixman libpng \
14 jpeg mtdev udev cairo libinput
17 --with-dtddir=$(STAGING_DIR)/usr/share/wayland \
19 --disable-simple-egl-clients \
21 --disable-x11-compositor \
22 --disable-drm-compositor \
23 --disable-wayland-compositor \
24 --disable-headless-compositor \
25 --disable-weston-launch \
28 ifeq ($(BR2_PACKAGE_LIBUNWIND),y)
29 WESTON_DEPENDENCIES += libunwind
31 WESTON_CONF_OPTS += --disable-libunwind
34 ifeq ($(BR2_PACKAGE_WESTON_RDP),y)
35 WESTON_DEPENDENCIES += freerdp
36 WESTON_CONF_OPTS += --enable-rdp-compositor
38 WESTON_CONF_OPTS += --disable-rdp-compositor
41 ifeq ($(BR2_PACKAGE_WESTON_FBDEV),y)
42 WESTON_CONF_OPTS += --enable-fbdev-compositor
44 WESTON_CONF_OPTS += --disable-fbdev-compositor
47 ifeq ($(BR2_PACKAGE_WESTON_RPI),y)
48 WESTON_DEPENDENCIES += rpi-userland
49 WESTON_CONF_OPTS += --enable-rpi-compositor \
50 --disable-resize-optimization \
51 --disable-setuid-install \
52 --disable-xwayland-test \
53 --disable-simple-egl-clients \
54 WESTON_NATIVE_BACKEND=rpi-backend.so
56 WESTON_CONF_OPTS += --disable-rpi-compositor
57 endif # BR2_PACKAGE_WESTON_RPI
59 $(eval $(autotools-package))