Thx I was on the right way but haven't figured out where all the proto packages were used. Do you have to disable meson too to build xserver? Otherwise it fails cause xdmcp is missing even though it's disabled.
Recent kernel/git/firmware/linux-firmware.git - Repository of firmware blobs for use with the Linux kernel files included updated ath10k firmware and probably that's the reason other builds failed to initialize the wifi module. See Qualcomm Atheros QCA6174 - Gentoo Wiki for further information.