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>
FILESEXTRAPATHS_append := ":${THISDIR}/weston"
SRC_URI_append = "\
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 \
"
file://0005-correctly-tear-down-drm-backend.patch \
"
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)}"
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)}"