|
@@ -18,7 +18,6 @@ WESTON_DEPENDENCIES = host-pkgconf wayland wayland-protocols \
|
|
|
|
|
|
WESTON_CONF_OPTS = \
|
|
|
--with-dtddir=$(STAGING_DIR)/usr/share/wayland \
|
|
|
- --disable-xwayland \
|
|
|
--disable-wayland-compositor \
|
|
|
--disable-headless-compositor \
|
|
|
--disable-colord \
|
|
@@ -111,6 +110,13 @@ else
|
|
|
WESTON_CONF_OPTS += --disable-x11-compositor
|
|
|
endif
|
|
|
|
|
|
+ifeq ($(BR2_PACKAGE_WESTON_XWAYLAND),y)
|
|
|
+WESTON_CONF_OPTS += --enable-xwayland
|
|
|
+WESTON_DEPENDENCIES += cairo libepoxy libxcb xlib_libX11 xlib_libXcursor
|
|
|
+else
|
|
|
+WESTON_CONF_OPTS += --disable-xwayland
|
|
|
+endif
|
|
|
+
|
|
|
ifeq ($(BR2_PACKAGE_LIBVA),y)
|
|
|
WESTON_CONF_OPTS += --enable-vaapi-recorder
|
|
|
WESTON_DEPENDENIES += libva
|