From 6aeddccaa595610ad4c8c9899734779c11bd7da0 Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Tue, 1 Dec 2020 00:38:27 +0200 Subject: agl-compositor_git: Enable loading waltham-transmitter-plugin The build system is able to determine if it can build support for loading the plug-in when waltham depedency is satified. We add that based on AGL_FEATURES. Bug-AGL: SPEC-3601 Signed-off-by: Marius Vlad Change-Id: Id7279fddc12c78472ae22a480626106a00ea30db Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25699 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/agl-compositor_git.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta-agl-core/recipes-graphics/wayland/agl-compositor_git.bb b/meta-agl-core/recipes-graphics/wayland/agl-compositor_git.bb index ccf7b88f6..edd0ca8fe 100644 --- a/meta-agl-core/recipes-graphics/wayland/agl-compositor_git.bb +++ b/meta-agl-core/recipes-graphics/wayland/agl-compositor_git.bb @@ -8,7 +8,8 @@ SECTION = "x11" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://COPYING;md5=fac6abe0003c4d142ff8fa1f18316df0" -DEPENDS = "wayland wayland-protocols wayland-native weston" +DEPENDS = "wayland wayland-protocols wayland-native weston \ + ${@bb.utils.contains('AGL_FEATURES', 'waltham-remoting', 'waltham waltham-transmitter-plugin', '', d)}" SRC_URI = "git://gerrit.automotivelinux.org/gerrit/src/agl-compositor.git;protocol=https;branch=${AGL_BRANCH}" SRCREV = "e1e8c07e202ffccc7b56f8f116a2ef1624028f91" @@ -28,3 +29,4 @@ FILES_${PN} = " \ ${datadir}/${PN}/protocols/agl-shell.xml \ ${datadir}/${PN}/protocols/agl-shell-desktop.xml \ " +RDEPENDS_${PN} += " ${@bb.utils.contains('AGL_FEATURES', 'waltham-remoting', 'waltham waltham-transmitter-plugin', '', d)}" -- cgit 1.2.3-korg