From: Alexis Ballier Date: Sun, 18 Jun 2017 16:37:13 +0000 (+0200) Subject: media-libs/mesa: Enable surfaceless EGL platform. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e8cd8f4989a4451b0394c77673450819d67a11b3;p=gentoo.git media-libs/mesa: Enable surfaceless EGL platform. Useful for offscreen testing of EGL programs. Acked by Matt on IRC. Bug #616664. Package-Manager: Portage-2.3.6, Repoman-2.3.2 --- diff --git a/media-libs/mesa/mesa-17.1.2.ebuild b/media-libs/mesa/mesa-17.1.2.ebuild index ef15690a3722..9d70870c2623 100644 --- a/media-libs/mesa/mesa-17.1.2.ebuild +++ b/media-libs/mesa/mesa-17.1.2.ebuild @@ -231,7 +231,7 @@ multilib_src_configure() { fi if use egl; then - myconf+=" --with-egl-platforms=x11$(use wayland && echo ",wayland")$(use gbm && echo ",drm")" + myconf+=" --with-egl-platforms=x11,surfaceless$(use wayland && echo ",wayland")$(use gbm && echo ",drm")" fi if use gallium; then diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild index ef15690a3722..9d70870c2623 100644 --- a/media-libs/mesa/mesa-9999.ebuild +++ b/media-libs/mesa/mesa-9999.ebuild @@ -231,7 +231,7 @@ multilib_src_configure() { fi if use egl; then - myconf+=" --with-egl-platforms=x11$(use wayland && echo ",wayland")$(use gbm && echo ",drm")" + myconf+=" --with-egl-platforms=x11,surfaceless$(use wayland && echo ",wayland")$(use gbm && echo ",drm")" fi if use gallium; then