summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@gentoo.org>2020-04-16 10:37:32 -0400
committerCraig Andrews <candrews@gentoo.org>2020-04-16 10:48:33 -0400
commit64b4b5020ee72cb8ec788c3cf08a02885c72f65b (patch)
treee833abff375ec22eac3d64ee796bae18312865a4 /media-tv
parenttexlive-module.eclass: migrate from mirror://gentoo (diff)
downloadgentoo-64b4b5020ee72cb8ec788c3cf08a02885c72f65b.tar.gz
gentoo-64b4b5020ee72cb8ec788c3cf08a02885c72f65b.tar.bz2
gentoo-64b4b5020ee72cb8ec788c3cf08a02885c72f65b.zip
media-tv/kodi: build tests if test enabled; don't use bundled gtest
See: https://github.com/xbmc/xbmc/commit/757326 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-9999.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/media-tv/kodi/kodi-9999.ebuild b/media-tv/kodi/kodi-9999.ebuild
index 05abeb2ffc7..fb8da11b53f 100644
--- a/media-tv/kodi/kodi-9999.ebuild
+++ b/media-tv/kodi/kodi-9999.ebuild
@@ -157,7 +157,7 @@ DEPEND="${COMMON_DEPEND}
media-libs/giflib
>=media-libs/libjpeg-turbo-2.0.4:=
>=media-libs/libpng-1.6.26:0=
- test? ( dev-cpp/gtest )
+ test? ( >=dev-cpp/gtest-1.10.0 )
virtual/pkgconfig
virtual/jre
x86? ( dev-lang/nasm )
@@ -227,6 +227,7 @@ src_configure() {
-DENABLE_INTERNAL_CROSSGUID=OFF
-DENABLE_INTERNAL_FFMPEG="$(usex !system-ffmpeg)"
-DENABLE_INTERNAL_FSTRCMP=OFF
+ -DENABLE_INTERNAL_GTEST=OFF
-DENABLE_CAP=$(usex caps)
-DENABLE_LCMS2=$(usex lcms)
-DENABLE_LIRCCLIENT=$(usex lirc)
@@ -240,6 +241,7 @@ src_configure() {
-DENABLE_PLIST=$(usex airplay)
-DENABLE_PULSEAUDIO=$(usex pulseaudio)
-DENABLE_SMBCLIENT=$(usex samba)
+ -DENABLE_TESTING=$(usex test)
-DENABLE_UDEV=$(usex udev)
-DENABLE_UPNP=$(usex upnp)
-DENABLE_VAAPI=$(usex vaapi)