summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@gentoo.org>2020-05-18 12:11:08 -0400
committerCraig Andrews <candrews@gentoo.org>2020-05-18 12:11:43 -0400
commit5e4cf53858907749c1aafbe12b37ff55ed8e9335 (patch)
tree7a643dd222ad4a3b645cd31530f9c6e1dd2ac890 /media-tv
parentsys-apps/hwloc: fix on prefix (diff)
downloadgentoo-5e4cf53858907749c1aafbe12b37ff55ed8e9335.tar.gz
gentoo-5e4cf53858907749c1aafbe12b37ff55ed8e9335.tar.bz2
gentoo-5e4cf53858907749c1aafbe12b37ff55ed8e9335.zip
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 <candrews@gentoo.org>
Diffstat (limited to 'media-tv')
-rw-r--r--media-tv/kodi/kodi-18.6.ebuild3
-rw-r--r--media-tv/kodi/kodi-9999.ebuild3
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 415eac36df3..25f6abdbcdf 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 9bee9585390..11b1d97b1ed 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() {