diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-09-13 20:43:24 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-09-13 20:43:24 -0700 |
commit | efcb2fe79c96beca4d7709a66aa7872839f14b9f (patch) | |
tree | 2b9f7d5c396b94797a0ac6a6051c1161f73b2a6c /recipes-graphics | |
parent | 302886b0dadf45cc2e755a65dcc87a9bec278505 (diff) | |
download | meta-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')
-rw-r--r-- | recipes-graphics/gtk+/gtk+3_%.bbappend | 7 |
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 @@ | |||
1 | DEPENDS:append:imxgpu2d = " virtual/egl" | 1 | DEPENDS:append:imxgpu2d = " virtual/egl" |
2 | 2 | ||
3 | PACKAGECONFIG:remove:imxgpu2d = " \ | 3 | WAYLAND = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', 'wayland', d)}" |
4 | ${@bb.utils.contains("DISTRO_FEATURES", "wayland", "x11", "", d)} \ | 4 | WAYLANDONLY = "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '${WAYLAND}', '', d)}" |
5 | " | 5 | |
6 | PACKAGECONFIG:remove:imxgpu2d = " ${WAYLANDONLY}" | ||