media-libs/mesa: Enable surfaceless EGL platform.
authorAlexis Ballier <aballier@gentoo.org>
Sun, 18 Jun 2017 16:37:13 +0000 (18:37 +0200)
committerAlexis Ballier <aballier@gentoo.org>
Sun, 18 Jun 2017 16:38:38 +0000 (18:38 +0200)
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
media-libs/mesa/mesa-9999.ebuild

index ef15690a3722a7bb5e0f81cbe2ad2214d495370c..9d70870c2623e0f2c52fd7fc6ecfe946261ca82f 100644 (file)
@@ -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
index ef15690a3722a7bb5e0f81cbe2ad2214d495370c..9d70870c2623e0f2c52fd7fc6ecfe946261ca82f 100644 (file)
@@ -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