diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-graphics/wayland/weston-init.bb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-graphics/wayland/weston-init.bb b/meta/recipes-graphics/wayland/weston-init.bb index 77dda03cf5..a7adce7fda 100644 --- a/meta/recipes-graphics/wayland/weston-init.bb +++ b/meta/recipes-graphics/wayland/weston-init.bb | |||
@@ -14,10 +14,11 @@ SRC_URI = "file://init \ | |||
14 | 14 | ||
15 | S = "${WORKDIR}" | 15 | S = "${WORKDIR}" |
16 | 16 | ||
17 | PACKAGECONFIG ??= "" | 17 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xwayland', '', d)}" |
18 | PACKAGECONFIG:append:qemuriscv64 = " use-pixman" | 18 | PACKAGECONFIG:append:qemuriscv64 = " use-pixman" |
19 | PACKAGECONFIG:append:qemuppc64 = " use-pixman" | 19 | PACKAGECONFIG:append:qemuppc64 = " use-pixman" |
20 | 20 | ||
21 | PACKAGECONFIG[xwayland] = ",," | ||
21 | PACKAGECONFIG[no-idle-timeout] = ",," | 22 | PACKAGECONFIG[no-idle-timeout] = ",," |
22 | PACKAGECONFIG[use-pixman] = ",," | 23 | PACKAGECONFIG[use-pixman] = ",," |
23 | 24 | ||
@@ -50,7 +51,7 @@ do_install() { | |||
50 | sed -i -e "/^\[core\]/a backend=${DEFAULTBACKEND}-backend.so" ${D}${sysconfdir}/xdg/weston/weston.ini | 51 | sed -i -e "/^\[core\]/a backend=${DEFAULTBACKEND}-backend.so" ${D}${sysconfdir}/xdg/weston/weston.ini |
51 | fi | 52 | fi |
52 | 53 | ||
53 | if [ "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'yes', 'no', d)}" = "yes" ]; then | 54 | if [ "${@bb.utils.contains('PACKAGECONFIG', 'xwayland', 'yes', 'no', d)}" = "yes" ]; then |
54 | sed -i -e "/^\[core\]/a xwayland=true" ${D}${sysconfdir}/xdg/weston/weston.ini | 55 | sed -i -e "/^\[core\]/a xwayland=true" ${D}${sysconfdir}/xdg/weston/weston.ini |
55 | fi | 56 | fi |
56 | 57 | ||