From e8cd8f4989a4451b0394c77673450819d67a11b3 Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Sun, 18 Jun 2017 18:37:13 +0200 Subject: [PATCH] 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 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 -- 2.26.2