summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMing Liu <liu.ming50@gmail.com>2022-03-12 15:10:56 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-03-13 12:23:48 +0000
commit2c90c1e3028b037eedbcacf4e271feb7b07c56bd (patch)
treea6756c10cf3a758b323474b314eac716c019f9ba
parentbbc60671ade0bf84d934abb807cdce1f37f76804 (diff)
downloadpoky-2c90c1e3028b037eedbcacf4e271feb7b07c56bd.tar.gz
weston-init: add use-pixman PACKAGECONFIG
Fbdev backend has been deprecated since weston 10.0.0, and it could be replaced by passing --use-pixman to drm backend, add a use-pixman PACKAGECONFIG for convenience. (From OE-Core rev: e3dc3ee5e41caa1691ebdb1c6ed6e51077f9ce7a) Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-graphics/wayland/weston-init.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-graphics/wayland/weston-init.bb b/meta/recipes-graphics/wayland/weston-init.bb
index 8e8c0454be..c34582137d 100644
--- a/meta/recipes-graphics/wayland/weston-init.bb
+++ b/meta/recipes-graphics/wayland/weston-init.bb
@@ -17,6 +17,7 @@ S = "${WORKDIR}"
17PACKAGECONFIG ??= "" 17PACKAGECONFIG ??= ""
18 18
19PACKAGECONFIG[no-idle-timeout] = ",," 19PACKAGECONFIG[no-idle-timeout] = ",,"
20PACKAGECONFIG[use-pixman] = ",,"
20 21
21DEFAULTBACKEND ??= "" 22DEFAULTBACKEND ??= ""
22DEFAULTBACKEND:qemuall ?= "drm" 23DEFAULTBACKEND:qemuall ?= "drm"
@@ -51,6 +52,10 @@ do_install() {
51 sed -i -e "/^\[core\]/a idle-time=0" ${D}${sysconfdir}/xdg/weston/weston.ini 52 sed -i -e "/^\[core\]/a idle-time=0" ${D}${sysconfdir}/xdg/weston/weston.ini
52 fi 53 fi
53 54
55 if [ "${@bb.utils.contains('PACKAGECONFIG', 'use-pixman', 'yes', 'no', d)}" = "yes" ]; then
56 sed -i -e "/^\[core\]/a use-pixman=true" ${D}${sysconfdir}/xdg/weston/weston.ini
57 fi
58
54 install -dm 755 -o weston -g weston ${D}/home/weston 59 install -dm 755 -o weston -g weston ${D}/home/weston
55} 60}
56 61