Signed-off-by: Philipp Zabel <[email protected]>
---
 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 36ab6257b47f..d42eaf27ed75 100644
--- a/rules/weston.in
+++ b/rules/weston.in
@@ -30,6 +30,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
        prompt "weston                        "
        help
          Wayland compositor reference implementation
@@ -101,4 +103,8 @@ 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"
+
 endif
diff --git a/rules/weston.make b/rules/weston.make
index 73c16a607479..c093fdf65f63 100644
--- a/rules/weston.make
+++ b/rules/weston.make
@@ -55,7 +55,7 @@ WESTON_CONF_OPT               := \
        -Dxwayland=$(call ptx/truefalse,PTXCONF_WESTON_XWAYLAND) \
        -Dxwayland-path=/usr/bin/Xwayland \
        -Dsystemd=$(call ptx/truefalse,PTXCONF_WESTON_SYSTEMD) \
-       -Dremoting=false \
+       -Dremoting=$(call ptx/truefalse,PTXCONF_WESTON_REMOTING) \
        -Dshell-desktop=true \
        -Dshell-fullscreen=true \
        -Dshell-ivi=false \
@@ -140,6 +140,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
[email protected]

Reply via email to