From 5e4cf53858907749c1aafbe12b37ff55ed8e9335 Mon Sep 17 00:00:00 2001 From: Craig Andrews Date: Mon, 18 May 2020 12:11:08 -0400 Subject: [PATCH] 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 --- media-tv/kodi/kodi-18.6.ebuild | 3 ++- media-tv/kodi/kodi-9999.ebuild | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) 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() { -- 2.26.2