xwayland: remove protocol.txt - it clashes with xserver-xorg

* Images with wayland-compositors + xwayland + xserver fail to build
* Fedora - they introduced standalone xwayland - does same [1]

[1] https://src.fedoraproject.org/rpms/xorg-x11-server-Xwayland/blob/rawhide/f/xorg-x11-server-Xwayland.spec

(From OE-Core rev: ace7a71b09df24de7b70f52edcd425366f39d56e)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Andreas Müller
2021-05-02 22:01:28 +02:00
committed by Richard Purdie
parent e3887b0690
commit d71ed04ebf

View File

@@ -17,5 +17,10 @@ REQUIRED_DISTRO_FEATURES = "x11 opengl"
DEPENDS += "xorgproto xtrans pixman libxkbfile libxfont2 wayland wayland-native wayland-protocols libdrm libepoxy"
do_install_append() {
# remove files not needed and clashing with xserver-xorg
rm -rf ${D}/${libdir}/xorg/
}
FILES_${PN} += "${libdir}/xorg/protocol.txt"