Merge pull request #9741 from ToKe79/wayland-xml

wayland: copy wayland.xml to SYSROOT
This commit is contained in:
Rudi Heitbaum 2025-02-05 09:23:26 +11:00 committed by GitHub
commit 562de9e22f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View File

@ -16,7 +16,7 @@ configure_package() {
if [ "${DISPLAYSERVER}" = "x11" ]; then
PKG_DEPENDS_TARGET+=" libxcb libX11"
elif [ "${DISPLAYSERVER}" = "wl" ]; then
PKG_DEPENDS_TARGET+=" wayland"
PKG_DEPENDS_TARGET+=" wayland wayland-protocols"
fi
}

View File

@ -30,4 +30,6 @@ pre_configure_target() {
post_makeinstall_host() {
cp ${TOOLCHAIN}/lib/pkgconfig/wayland-scanner.pc ${SYSROOT_PREFIX}/usr/lib/pkgconfig/
mkdir -p ${SYSROOT_PREFIX}/usr/share/wayland
cp ${TOOLCHAIN}/share/wayland/wayland.xml ${SYSROOT_PREFIX}/usr/share/wayland/
}