summaryrefslogtreecommitdiffstats
path: root/rules
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2019-03-29 10:50:16 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2019-03-30 07:43:18 +0100
commit98c06df00d67139058625e81078c9bd4eedfbbde (patch)
tree6caacee2f044750c6860d185de67e321244e0bd6 /rules
parentb0f92e3e9395cf89624eadc6b13688592e520296 (diff)
downloadptxdist-98c06df00d67139058625e81078c9bd4eedfbbde.tar.gz
ptxdist-98c06df00d67139058625e81078c9bd4eedfbbde.tar.xz
weston: optionally build and install remoting plugin
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules')
-rw-r--r--rules/weston.in11
-rw-r--r--rules/weston.make5
2 files changed, 15 insertions, 1 deletions
diff --git a/rules/weston.in b/rules/weston.in
index 27e360b69..0b079bb31 100644
--- a/rules/weston.in
+++ b/rules/weston.in
@@ -31,6 +31,13 @@ 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 GST_PLUGINS_BASE1_APP if WESTON_REMOTING
+ select GST_PLUGINS_GOOD1 if WESTON_REMOTING && RUNTIME
+ select GST_PLUGINS_GOOD1_JPEG if WESTON_REMOTING && RUNTIME
+ select GST_PLUGINS_GOOD1_RTP if WESTON_REMOTING && RUNTIME
+ select GST_PLUGINS_GOOD1_UDP if WESTON_REMOTING && RUNTIME
select PANGO if WESTON_IVISHELL_EXAMPLE
prompt "weston "
help
@@ -103,6 +110,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 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 \
@@ -143,6 +143,9 @@ 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)
ifdef PTXCONF_WESTON_IVISHELL