qtwebengine does not require X11 (neither build time nor runtime) when running on non-x11 platforms (eglfs, linuxfb, wayland). However the ebuild requires mesa[X] and multiple x11-libs/* libraries. I suggest adding the X use flag to make it optional. The flag would be default enabled or maybe even masked if this change is considered as potentially impacting people needing X dependency. Reproducible: Always Steps to Reproduce: 1. Have mesa built without X 2. emerge qtwebengine Actual Results: emerge qtwebengine wants a use flag change on mesa and pulls x11-libs/* dependencies Expected Results: build without X dependencies
Created attachment 689856 [details, diff] Add X use flag Add X use flag: * use it in the mesa use flag dependency * place x11-libs/* behind the X use flag (except x11-libs/libdrm which is not really an x11 package)
This patch is incomplete without setting an according qtwebengine build switch. Is there such a build switch? If not, this relies on automagic and cannot be exposed to an IUSE.
Created attachment 762257 [details, diff] add X use flag with disalbing X auto-detection Second tentative, took me a while to get into QT build system and portage qt5-build eclass. Hope this will go through.
Any updates? it has been about 3 months and I implemented @Andreas Sturmlechner recommendation.