summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/gtk+
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2022-09-13 20:43:24 -0700
committerKhem Raj <raj.khem@gmail.com>2022-09-13 20:43:24 -0700
commitefcb2fe79c96beca4d7709a66aa7872839f14b9f (patch)
tree2b9f7d5c396b94797a0ac6a6051c1161f73b2a6c /recipes-graphics/gtk+
parent302886b0dadf45cc2e755a65dcc87a9bec278505 (diff)
downloadmeta-freescale-efcb2fe79c96beca4d7709a66aa7872839f14b9f.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>
Diffstat (limited to 'recipes-graphics/gtk+')
-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}"