x11-wm/mutter: require gles2 for wayland, try to fix non-gles2 builds
authorMart Raudsepp <leio@gentoo.org>
Thu, 28 Feb 2019 22:33:24 +0000 (00:33 +0200)
committerMart Raudsepp <leio@gentoo.org>
Thu, 28 Feb 2019 22:37:50 +0000 (00:37 +0200)
commitf7cbaff73571787a03c54ceb8a7d1a2449ec341c
treebc5a3b0275fa71290f0abc27563f516aecaa0516
parent35943bda95329e610052831ff5245621a1b53638
x11-wm/mutter: require gles2 for wayland, try to fix non-gles2 builds

Native backend makes use of gles3 for some features, and I'm not sure if
these gracefully degrade or not without gles3. So require gles2 with
wayland (which is when we  enable build of native backend), which also
allows for a simpler hacky patch for fixing non-gles2 builds when system
doesn't have USE=gles2 on mesa.
I consider this quite ugly, but
1) this is ~arch
2) this will be better in the meson port in mutter-3.32
3) it hopefully works well enough anyways, sans potentially unnecessary
mesa[gles2] dep and full gles2 cogl builds.
People who mind the gles2 requirement are welcome to come up with
something better. It should somehow express the feature dependency of
this, even if just metadata.xml descriptions.

Closes: https://bugs.gentoo.org/679074
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
x11-wm/mutter/files/3.28.3-no-gles2-fix.patch [new file with mode: 0644]
x11-wm/mutter/mutter-3.28.3-r1.ebuild [new file with mode: 0644]