mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-04 00:47:43 +00:00
weston: add EGL support
Also drop simple-egl-clients from the rpi compositor since it's a duplicate of the global one. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
cfe151b724
commit
fd946f3e0b
@ -15,7 +15,6 @@ WESTON_DEPENDENCIES = host-pkgconf wayland wayland-protocols \
|
|||||||
|
|
||||||
WESTON_CONF_OPTS = \
|
WESTON_CONF_OPTS = \
|
||||||
--with-dtddir=$(STAGING_DIR)/usr/share/wayland \
|
--with-dtddir=$(STAGING_DIR)/usr/share/wayland \
|
||||||
--disable-egl \
|
|
||||||
--disable-simple-egl-clients \
|
--disable-simple-egl-clients \
|
||||||
--disable-xwayland \
|
--disable-xwayland \
|
||||||
--disable-x11-compositor \
|
--disable-x11-compositor \
|
||||||
@ -28,6 +27,14 @@ WESTON_CONF_OPTS = \
|
|||||||
WESTON_MAKE_OPTS = \
|
WESTON_MAKE_OPTS = \
|
||||||
WAYLAND_PROTOCOLS_DATADIR=$(STAGING_DIR)/usr/share/wayland-protocols
|
WAYLAND_PROTOCOLS_DATADIR=$(STAGING_DIR)/usr/share/wayland-protocols
|
||||||
|
|
||||||
|
# Needs wayland-egl, which normally only mesa provides
|
||||||
|
ifeq ($(BR2_PACKAGE_HAS_LIBEGL)$(BR2_PACKAGE_MESA3D_OPENGL_EGL),yy)
|
||||||
|
WESTON_CONF_OPTS += --enable-egl
|
||||||
|
WESTON_DEPENDENCIES += libegl
|
||||||
|
else
|
||||||
|
WESTON_CONF_OPTS += --disable-egl
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_LIBUNWIND),y)
|
ifeq ($(BR2_PACKAGE_LIBUNWIND),y)
|
||||||
WESTON_DEPENDENCIES += libunwind
|
WESTON_DEPENDENCIES += libunwind
|
||||||
else
|
else
|
||||||
@ -53,7 +60,6 @@ WESTON_CONF_OPTS += --enable-rpi-compositor \
|
|||||||
--disable-resize-optimization \
|
--disable-resize-optimization \
|
||||||
--disable-setuid-install \
|
--disable-setuid-install \
|
||||||
--disable-xwayland-test \
|
--disable-xwayland-test \
|
||||||
--disable-simple-egl-clients \
|
|
||||||
WESTON_NATIVE_BACKEND=rpi-backend.so
|
WESTON_NATIVE_BACKEND=rpi-backend.so
|
||||||
else
|
else
|
||||||
WESTON_CONF_OPTS += --disable-rpi-compositor
|
WESTON_CONF_OPTS += --disable-rpi-compositor
|
||||||
|
Loading…
x
Reference in New Issue
Block a user