From 2c0f2f6dbfab6df3c9ac34857811f052ec437c63 Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Fri, 16 Oct 2020 17:37:35 +0300 Subject: wayland/weston-ini-conf: Add transmitter-output ini section And with it, build remoting plug-in when weston-waltham-remoting AGL feature is set. agl-compositor will use the remoting plug-in to create a remote output so we need the remoting plug-in built as well as weston-remoting distro feature. v8 (mvlad): plain rebase to new folder structure, use AGL_FEATURES instead of DISTRO_FEATURES v7 (mvlad): plain rebase to new folder structure v6 (jsmoeller): plain rebase to new folder structure Bug-AGL: SPEC-3601 Signed-off-by: Marius Vlad Change-Id: Idf591e3f6954bdaafe917e5ceb93fde134dde8db Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25454 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller --- meta-agl-core/recipes-graphics/wayland/weston-ini-conf.bbappend | 1 + .../recipes-graphics/wayland/weston-ini-conf/transmitter-output.cfg | 5 +++++ meta-agl-core/recipes-graphics/wayland/weston_8.0_aglcore.inc | 1 + 3 files changed, 7 insertions(+) create mode 100644 meta-agl-core/recipes-graphics/wayland/weston-ini-conf/transmitter-output.cfg (limited to 'meta-agl-core/recipes-graphics') diff --git a/meta-agl-core/recipes-graphics/wayland/weston-ini-conf.bbappend b/meta-agl-core/recipes-graphics/wayland/weston-ini-conf.bbappend index 0f51d5971..88590c602 100644 --- a/meta-agl-core/recipes-graphics/wayland/weston-ini-conf.bbappend +++ b/meta-agl-core/recipes-graphics/wayland/weston-ini-conf.bbappend @@ -3,6 +3,7 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" PACKAGE_ARCH = "${MACHINE_ARCH}" WESTON_DISPLAYS_append = "${@bb.utils.contains("DISTRO_FEATURES", "weston-remoting", " remote-output", "", d)}" +WESTON_DISPLAYS_append = "${@bb.utils.contains("AGL_FEATURES", "waltham-remoting", " transmitter-output", "", d)}" # For virtual machines and intel-corei7-64 we want to support both the HDMI-A-1 # and Virtual-1 outputs. This allows us to run virtual images on real hardware diff --git a/meta-agl-core/recipes-graphics/wayland/weston-ini-conf/transmitter-output.cfg b/meta-agl-core/recipes-graphics/wayland/weston-ini-conf/transmitter-output.cfg new file mode 100644 index 000000000..e77f74ec0 --- /dev/null +++ b/meta-agl-core/recipes-graphics/wayland/weston-ini-conf/transmitter-output.cfg @@ -0,0 +1,5 @@ +[transmitter-output] +name=transmitter-1 +mode=640x720@30 +host=192.168.20.99 +port=5005 diff --git a/meta-agl-core/recipes-graphics/wayland/weston_8.0_aglcore.inc b/meta-agl-core/recipes-graphics/wayland/weston_8.0_aglcore.inc index c2495465b..ec4165c71 100644 --- a/meta-agl-core/recipes-graphics/wayland/weston_8.0_aglcore.inc +++ b/meta-agl-core/recipes-graphics/wayland/weston_8.0_aglcore.inc @@ -9,3 +9,4 @@ SRC_URI_append = "\ # Workaround for incorrect upstream definition PACKAGECONFIG[remoting] = "-Dremoting=true,-Dremoting=false,gstreamer1.0 gstreamer1.0-plugins-base" PACKAGECONFIG_append = "${@bb.utils.contains('DISTRO_FEATURES', 'weston-remoting', ' remoting', '', d)}" +PACKAGECONFIG_append = "${@bb.utils.contains('AGL_FEATURES', 'waltham-remoting', ' remoting', '', d)}" -- cgit 1.2.3-korg