meta-agl-core/recipes-graphics/wayland: Do not export seat related functions 44/26244/4
authorMarius Vlad <marius.vlad@collabora.com>
Thu, 8 Apr 2021 13:22:05 +0000 (16:22 +0300)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Fri, 30 Apr 2021 16:59:56 +0000 (16:59 +0000)
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 <marius.vlad@collabora.com>
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 <jsmoeller@linuxfoundation.org>
meta-agl-core/recipes-graphics/wayland/weston_8.0_aglcore.inc

index b2519e3..3c9bd4d 100644 (file)
@@ -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)}"