mirror of
https://git.yoctoproject.org/poky
synced 2026-03-16 04:09:39 +01:00
weston-init: introduce xwayland PACKAGECONFIG
Some BSPs dont support xwayland in weston, this is easier for them to control that. (From OE-Core rev: b2b40d3470a4a75a18d1cc7a948eec73d84a883b) Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -14,10 +14,11 @@ SRC_URI = "file://init \
|
||||
|
||||
S = "${WORKDIR}"
|
||||
|
||||
PACKAGECONFIG ??= ""
|
||||
PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xwayland', '', d)}"
|
||||
PACKAGECONFIG:append:qemuriscv64 = " use-pixman"
|
||||
PACKAGECONFIG:append:qemuppc64 = " use-pixman"
|
||||
|
||||
PACKAGECONFIG[xwayland] = ",,"
|
||||
PACKAGECONFIG[no-idle-timeout] = ",,"
|
||||
PACKAGECONFIG[use-pixman] = ",,"
|
||||
|
||||
@@ -50,7 +51,7 @@ do_install() {
|
||||
sed -i -e "/^\[core\]/a backend=${DEFAULTBACKEND}-backend.so" ${D}${sysconfdir}/xdg/weston/weston.ini
|
||||
fi
|
||||
|
||||
if [ "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'yes', 'no', d)}" = "yes" ]; then
|
||||
if [ "${@bb.utils.contains('PACKAGECONFIG', 'xwayland', 'yes', 'no', d)}" = "yes" ]; then
|
||||
sed -i -e "/^\[core\]/a xwayland=true" ${D}${sysconfdir}/xdg/weston/weston.ini
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user