From 406bd0caa2e11ef228a96d38c14550594bf424be Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Sun, 8 Mar 2020 16:57:08 -0700 Subject: [PATCH] media-libs/mesa: Make X11 the primary EGL platform Closes: https://bugs.gentoo.org/711516 Signed-off-by: Matt Turner --- media-libs/mesa/{mesa-19.3.4.ebuild => mesa-19.3.4-r1.ebuild} | 2 +- media-libs/mesa/{mesa-20.0.1.ebuild => mesa-20.0.1-r1.ebuild} | 2 +- media-libs/mesa/mesa-9999.ebuild | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename media-libs/mesa/{mesa-19.3.4.ebuild => mesa-19.3.4-r1.ebuild} (99%) rename media-libs/mesa/{mesa-20.0.1.ebuild => mesa-20.0.1-r1.ebuild} (99%) diff --git a/media-libs/mesa/mesa-19.3.4.ebuild b/media-libs/mesa/mesa-19.3.4-r1.ebuild similarity index 99% rename from media-libs/mesa/mesa-19.3.4.ebuild rename to media-libs/mesa/mesa-19.3.4-r1.ebuild index 78bbe80db9e8..ea716c993c10 100644 --- a/media-libs/mesa/mesa-19.3.4.ebuild +++ b/media-libs/mesa/mesa-19.3.4-r1.ebuild @@ -355,7 +355,7 @@ multilib_src_configure() { fi fi - emesonargs+=( -Dplatforms=surfaceless$(use X && echo ",x11")$(use wayland && echo ",wayland")$(use gbm && echo ",drm") ) + emesonargs+=( -Dplatforms=$(use X && echo "x11,")$(use wayland && echo "wayland,")$(use gbm && echo "drm,")surfaceless ) if use gallium; then emesonargs+=( diff --git a/media-libs/mesa/mesa-20.0.1.ebuild b/media-libs/mesa/mesa-20.0.1-r1.ebuild similarity index 99% rename from media-libs/mesa/mesa-20.0.1.ebuild rename to media-libs/mesa/mesa-20.0.1-r1.ebuild index 8805749d430f..8997f8d06a37 100644 --- a/media-libs/mesa/mesa-20.0.1.ebuild +++ b/media-libs/mesa/mesa-20.0.1-r1.ebuild @@ -356,7 +356,7 @@ multilib_src_configure() { fi fi - emesonargs+=( -Dplatforms=surfaceless$(use X && echo ",x11")$(use wayland && echo ",wayland")$(use gbm && echo ",drm") ) + emesonargs+=( -Dplatforms=$(use X && echo "x11,")$(use wayland && echo "wayland,")$(use gbm && echo "drm,")surfaceless ) if use gallium; then emesonargs+=( diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild index 7210761bb621..d62167360742 100644 --- a/media-libs/mesa/mesa-9999.ebuild +++ b/media-libs/mesa/mesa-9999.ebuild @@ -357,7 +357,7 @@ multilib_src_configure() { fi fi - emesonargs+=( -Dplatforms=surfaceless$(use X && echo ",x11")$(use wayland && echo ",wayland")$(use gbm && echo ",drm") ) + emesonargs+=( -Dplatforms=$(use X && echo "x11,")$(use wayland && echo "wayland,")$(use gbm && echo "drm,")surfaceless ) if use gallium; then emesonargs+=( -- 2.26.2