media-tv/kodi: When x11, set GL or GLES
authorCraig Andrews <candrews@gentoo.org>
Tue, 19 Nov 2019 12:40:35 +0000 (07:40 -0500)
committerCraig Andrews <candrews@gentoo.org>
Tue, 19 Nov 2019 12:43:33 +0000 (07:43 -0500)
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 <candrews@gentoo.org>
media-tv/kodi/kodi-9999.ebuild

index a69d71d371d2858ea9fe74ddd5bc031db7eda5f8..63589c6401b2a194d633e6e397d6d0fed170ee75 100644 (file)
@@ -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