commit:     e8cd8f4989a4451b0394c77673450819d67a11b3
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 18 16:37:13 2017 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Sun Jun 18 16:38:38 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8cd8f49

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

 media-libs/mesa/mesa-17.1.2.ebuild | 2 +-
 media-libs/mesa/mesa-9999.ebuild   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/mesa/mesa-17.1.2.ebuild 
b/media-libs/mesa/mesa-17.1.2.ebuild
index ef15690a372..9d70870c262 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 ef15690a372..9d70870c262 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

Reply via email to