Signed-off-by: Philipp Zabel <p.za...@pengutronix.de>
---
 rules/weston.in   | 6 ++++++
 rules/weston.make | 5 ++++-
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/rules/weston.in b/rules/weston.in
index 27e360b69553..992c5961f565 100644
--- a/rules/weston.in
+++ b/rules/weston.in
@@ -31,6 +31,8 @@ menuconfig WESTON
        select SYSTEMD                  if WESTON_SYSTEMD
        select SYSTEMD_LOGIND           if WESTON_SYSTEMD_LOGIND
        select DBUS                     if WESTON_SYSTEMD_LOGIND
+       select GSTREAMER1               if WESTON_REMOTING
+       select GST_PLUGINS_BASE1        if WESTON_REMOTING
        select PANGO                    if WESTON_IVISHELL_EXAMPLE
        prompt "weston                        "
        help
@@ -103,6 +105,10 @@ config WESTON_IVISHELL_EXAMPLE
          application, a few demo clients and the weston.ini configuration for
          the IVI-Shell.
 
+config WESTON_REMOTING
+       bool
+       prompt "remoting plugin"
+
 config WESTON_SIMPLE_DMABUF_DRM_INTEL
         bool
         default LIBDRM_INTEL
diff --git a/rules/weston.make b/rules/weston.make
index 2bc2605fb1d2..0a823746c9cc 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)
-- 
2.20.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to