summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-graphics/wayland/weston-init.bb5
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
15S = "${WORKDIR}" 15S = "${WORKDIR}"
16 16
17PACKAGECONFIG ??= "" 17PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xwayland', '', d)}"
18PACKAGECONFIG:append:qemuriscv64 = " use-pixman" 18PACKAGECONFIG:append:qemuriscv64 = " use-pixman"
19PACKAGECONFIG:append:qemuppc64 = " use-pixman" 19PACKAGECONFIG:append:qemuppc64 = " use-pixman"
20 20
21PACKAGECONFIG[xwayland] = ",,"
21PACKAGECONFIG[no-idle-timeout] = ",," 22PACKAGECONFIG[no-idle-timeout] = ",,"
22PACKAGECONFIG[use-pixman] = ",," 23PACKAGECONFIG[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