mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 05:09:24 +00:00
weston: Add Xwayland initialization support using weston-start
The weston-start script now supports loading modules so the Xwayland support can be loaded optionally. Use this to load Weston accordingly. (From OE-Core rev: 4bbb5d5c0a4bed12622d06cd918ecd4d9db68b5e) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
5afb6a9cd5
commit
7b779c8c2a
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
if type Xwayland >/dev/null 2>/dev/null; then
|
||||
mkdir -p /tmp/.X11-unix
|
||||
|
||||
add_weston_argument "--modules=xwayland.so"
|
||||
fi
|
||||
@@ -11,6 +11,7 @@ SRC_URI = "https://wayland.freedesktop.org/releases/${BPN}-${PV}.tar.xz \
|
||||
file://make-libwebp-explicitly-configurable.patch \
|
||||
file://0001-make-error-portable.patch \
|
||||
file://0001-configure.ac-Fix-wayland-protocols-path.patch \
|
||||
file://xwayland.weston-start \
|
||||
file://make-weston-launch-exit-for-unrecognized-option.patch \
|
||||
file://0001-weston-launch-Provide-a-default-version-that-doesn-t.patch \
|
||||
"
|
||||
@@ -92,7 +93,11 @@ do_install_append() {
|
||||
|
||||
install -d ${D}${datadir}/icons/hicolor/48x48/apps
|
||||
install ${WORKDIR}/weston.png ${D}${datadir}/icons/hicolor/48x48/apps
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "${@bb.utils.contains('PACKAGECONFIG', 'xwayland', 'yes', 'no', d)}" = "yes" ]; then
|
||||
install -Dm 644 ${WORKDIR}/xwayland.weston-start ${D}${datadir}/weston-start/xwayland
|
||||
fi
|
||||
}
|
||||
|
||||
PACKAGE_BEFORE_PN += "${PN}-xwayland"
|
||||
|
||||
Reference in New Issue
Block a user