From: Craig Andrews Date: Mon, 18 May 2020 16:11:08 +0000 (-0400) Subject: media-tv/kodi: Set KODI_HOME when running tests X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5e4cf53858907749c1aafbe12b37ff55ed8e9335;p=gentoo.git media-tv/kodi: Set KODI_HOME when running tests See https://github.com/xbmc/xbmc/issues/17860#issuecomment-630120213 Bug: https://bugs.gentoo.org/722578 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Craig Andrews --- diff --git a/media-tv/kodi/kodi-18.6.ebuild b/media-tv/kodi/kodi-18.6.ebuild index 415eac36df3a..25f6abdbcdfa 100644 --- a/media-tv/kodi/kodi-18.6.ebuild +++ b/media-tv/kodi/kodi-18.6.ebuild @@ -301,7 +301,8 @@ src_compile() { } src_test() { - cmake_build check + # see https://github.com/xbmc/xbmc/issues/17860#issuecomment-630120213 + KODI_HOME="${BUILD_DIR}" cmake_build check } src_install() { diff --git a/media-tv/kodi/kodi-9999.ebuild b/media-tv/kodi/kodi-9999.ebuild index 9bee9585390c..11b1d97b1ed3 100644 --- a/media-tv/kodi/kodi-9999.ebuild +++ b/media-tv/kodi/kodi-9999.ebuild @@ -298,7 +298,8 @@ src_compile() { } src_test() { - cmake_build check + # see https://github.com/xbmc/xbmc/issues/17860#issuecomment-630120213 + KODI_HOME="${BUILD_DIR}" cmake_build check } src_install() {