diff options
| author | Ming Liu <liu.ming50@gmail.com> | 2022-03-12 15:10:56 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-03-13 12:23:48 +0000 |
| commit | 2c90c1e3028b037eedbcacf4e271feb7b07c56bd (patch) | |
| tree | a6756c10cf3a758b323474b314eac716c019f9ba | |
| parent | bbc60671ade0bf84d934abb807cdce1f37f76804 (diff) | |
| download | poky-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.bb | 5 |
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}" | |||
| 17 | PACKAGECONFIG ??= "" | 17 | PACKAGECONFIG ??= "" |
| 18 | 18 | ||
| 19 | PACKAGECONFIG[no-idle-timeout] = ",," | 19 | PACKAGECONFIG[no-idle-timeout] = ",," |
| 20 | PACKAGECONFIG[use-pixman] = ",," | ||
| 20 | 21 | ||
| 21 | DEFAULTBACKEND ??= "" | 22 | DEFAULTBACKEND ??= "" |
| 22 | DEFAULTBACKEND:qemuall ?= "drm" | 23 | DEFAULTBACKEND: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 | ||
