compile emacs with xwidgets

Hi,

there is a pretty awesome feature branch on emacs: pure gtk. Emacs will run under wayland without xwayland.

As far as I can see, this branch of emacs will depend on xwidgets from now on. Despite installing both webkit2gtk3-devel and webkit2gtk4-devel, configure

--with-xwidgets

fails, because it can’t find webkit2gtk.

This has been asked on reddit as well (but not by me): https://www.reddit.com/r/openSUSE/comments/qhvv0k/comment/hixkdn4/?utm_source=share&utm_medium=web2x&context=3

Any ideas?