From d1571afd2682744d757639ede83fd5f26b1a70b0 Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Thu, 8 Apr 2021 16:22:05 +0300 Subject: meta-agl-core/recipes-graphics/wayland: Do not export seat related functions We're only using the seat initialization parts for waltham-transmitter-plugin so add them only there. So far there's only a user for it (the transmitter-plugin) so it is easier to just build it conditionally for now. Bug-AGL: SPEC-3879 Signed-off-by: Marius Vlad Change-Id: I3af5578c319c361babf3fc5497517f2b075a4271 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26244 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_8.0_aglcore.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 b2519e3db..3c9bd4d43 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 @@ -1,7 +1,6 @@ FILESEXTRAPATHS_append := ":${THISDIR}/weston" SRC_URI_append = "\ - file://0001-libweston-Migrate-weston_seat_init-release-to-public.patch \ file://0005-correctly-tear-down-drm-backend.patch \ " @@ -9,3 +8,6 @@ SRC_URI_append = "\ 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)}" + +# seat management is only for waltham-transmitter-plugin +SRC_URI_append = "${@bb.utils.contains('AGL_FEATURES', 'waltham-remoting', 'file://0001-libweston-Migrate-weston_seat_init-release-to-public.patch', '', d)}" -- cgit 1.2.3-korg