diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-09-13 20:43:24 -0700 |
---|---|---|
committer | Tom Hochstein <tom.hochstein@nxp.com> | 2022-09-15 11:51:54 -0500 |
commit | f00fb04d01505ed23cd85ad3113d45d7512e8c18 (patch) | |
tree | 5942a996b262cca4981c7b0b4ed5125d0a569076 /recipes-graphics | |
parent | 6822b1790992bfa703789679a70fcba774366b6a (diff) | |
download | meta-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)
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}" | ||