From 21111ffd50cfb503f51ba4a5bb46c763ff37b1d8 Mon Sep 17 00:00:00 2001 From: Craig Andrews Date: Tue, 19 Nov 2019 07:40:35 -0500 Subject: [PATCH] media-tv/kodi: When x11, set GL or GLES See https://github.com/xbmc/xbmc/pull/16510 Closes: https://bugs.gentoo.org/700506 Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Craig Andrews --- media-tv/kodi/kodi-9999.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/media-tv/kodi/kodi-9999.ebuild b/media-tv/kodi/kodi-9999.ebuild index a69d71d371d2..63589c6401b2 100644 --- a/media-tv/kodi/kodi-9999.ebuild +++ b/media-tv/kodi/kodi-9999.ebuild @@ -277,7 +277,10 @@ src_configure() { fi if use X; then - mycmakeargs+=( -DCORE_PLATFORM_NAME="x11" ) + mycmakeargs+=( + -DCORE_PLATFORM_NAME="x11" + -DX11_RENDER_SYSTEM="$(usex opengl gl gles)" + ) fi cmake-utils_src_configure -- 2.26.2