From a5e357d35aa9144fac644c14ae9072ddaa8701d8 Mon Sep 17 00:00:00 2001
From: Philipp Zabel
Date: Fri, 8 Apr 2022 14:48:48 +0200
Subject: weston: install weston-simple-dmabuf-feedback
Build and install weston-simple-dmabuf-feedback if WESTON_GL is enabled.
The client itself does not depend on GL rendering support in the
compositor, but it requires the MESALIB_EGL dependency selected by
WESTON_GL.
Signed-off-by: Philipp Zabel
Message-Id: <20220408124850.3273062-2-p.zabel@pengutronix.de>
Signed-off-by: Michael Olbrich
---
rules/weston.make | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/rules/weston.make b/rules/weston.make
index 5fd8e93f6..c2fc71930 100644
--- a/rules/weston.make
+++ b/rules/weston.make
@@ -30,7 +30,7 @@ WESTON_LICENSE := MIT
# ----------------------------------------------------------------------------
WESTON_SIMPLE_CLIENTS-y := damage im shm touch
-WESTON_SIMPLE_CLIENTS-$(PTXCONF_WESTON_GL) += egl dmabuf-egl
+WESTON_SIMPLE_CLIENTS-$(PTXCONF_WESTON_GL) += egl dmabuf-egl dmabuf-feedback
WESTON_CONF_TOOL := meson
WESTON_CONF_OPT := \
@@ -113,6 +113,7 @@ ifdef PTXCONF_WESTON_SIMPLE_CLIENTS
ifdef PTXCONF_WESTON_GL
@$(call install_copy, weston, 0, 0, 0755, -, /usr/bin/weston-simple-egl)
@$(call install_copy, weston, 0, 0, 0755, -, /usr/bin/weston-simple-dmabuf-egl)
+ @$(call install_copy, weston, 0, 0, 0755, -, /usr/bin/weston-simple-dmabuf-feedback)
endif
@$(call install_copy, weston, 0, 0, 0755, -, /usr/bin/weston-simple-shm)
@$(call install_copy, weston, 0, 0, 0755, -, /usr/bin/weston-simple-touch)
--
cgit v1.2.3