From 98c06df00d67139058625e81078c9bd4eedfbbde Mon Sep 17 00:00:00 2001
From: Philipp Zabel
Date: Fri, 29 Mar 2019 10:50:16 +0100
Subject: weston: optionally build and install remoting plugin
Signed-off-by: Philipp Zabel
Signed-off-by: Michael Olbrich
---
rules/weston.make | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
(limited to 'rules/weston.make')
diff --git a/rules/weston.make b/rules/weston.make
index 2bc2605fb..0a823746c 100644
--- a/rules/weston.make
+++ b/rules/weston.make
@@ -58,7 +58,7 @@ WESTON_CONF_OPT := \
-Dimage-jpeg=true \
-Dimage-webp=false \
-Dlauncher-logind=$(call ptx/truefalse,PTXCONF_SYSTEMD_LOGIND) \
- -Dremoting=false \
+ -Dremoting=$(call ptx/truefalse,PTXCONF_WESTON_REMOTING) \
-Drenderer-gl=$(call ptx/truefalse,PTXCONF_WESTON_GL) \
-Dresize-pool=true \
-Dscreenshare=false \
@@ -142,6 +142,9 @@ endif
ifdef PTXCONF_WESTON_GL
@$(call install_lib, weston, 0, 0, 0644, libweston-$(LIBWESTON_MAJOR)/wayland-backend)
@$(call install_lib, weston, 0, 0, 0644, libweston-$(LIBWESTON_MAJOR)/gl-renderer)
+endif
+ifdef PTXCONF_WESTON_REMOTING
+ @$(call install_lib, weston, 0, 0, 0644, libweston-$(LIBWESTON_MAJOR)/remoting-plugin)
endif
@$(call install_lib, weston, 0, 0, 0644, weston/desktop-shell)
@$(call install_lib, weston, 0, 0, 0644, weston/fullscreen-shell)
--
cgit v1.2.3