summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2022-09-13 20:43:24 -0700
committerTom Hochstein <tom.hochstein@nxp.com>2022-09-15 11:51:54 -0500
commitf00fb04d01505ed23cd85ad3113d45d7512e8c18 (patch)
tree5942a996b262cca4981c7b0b4ed5125d0a569076
parent6822b1790992bfa703789679a70fcba774366b6a (diff)
downloadmeta-freescale-f00fb04d01505ed23cd85ad3113d45d7512e8c18.tar.gz
gtk+: Disable x11 only when wayland is in distro_features but x11 is not
Some distros enable both x11 and wayland in distro features in such cases it should not remove x11 from distro features. Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit efcb2fe79c96beca4d7709a66aa7872839f14b9f)
-rw-r--r--recipes-graphics/gtk+/gtk+3_%.bbappend7
1 files changed, 4 insertions, 3 deletions
diff --git a/recipes-graphics/gtk+/gtk+3_%.bbappend b/recipes-graphics/gtk+/gtk+3_%.bbappend
index 2f108a27..fe88c0ad 100644
--- a/recipes-graphics/gtk+/gtk+3_%.bbappend
+++ b/recipes-graphics/gtk+/gtk+3_%.bbappend
@@ -1,5 +1,6 @@
1DEPENDS:append:imxgpu2d = " virtual/egl" 1DEPENDS:append:imxgpu2d = " virtual/egl"
2 2
3PACKAGECONFIG:remove:imxgpu2d = " \ 3WAYLAND = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', 'wayland', d)}"
4 ${@bb.utils.contains("DISTRO_FEATURES", "wayland", "x11", "", d)} \ 4WAYLANDONLY = "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '${WAYLAND}', '', d)}"
5" 5
6PACKAGECONFIG:remove:imxgpu2d = " ${WAYLANDONLY}"