From 64b4b5020ee72cb8ec788c3cf08a02885c72f65b Mon Sep 17 00:00:00 2001 From: Craig Andrews Date: Thu, 16 Apr 2020 10:37:32 -0400 Subject: [PATCH] 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 --- media-tv/kodi/kodi-9999.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/media-tv/kodi/kodi-9999.ebuild b/media-tv/kodi/kodi-9999.ebuild index 05abeb2ffc78..fb8da11b53f7 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) -- 2.26.2