New commits:
commit cbc14e7e1ff07e79750edd4a227ffb207aa6c622
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>
video/kodi: reorganized patching and added python finding fix
diff --git a/video/kodi/0001-std-isnan-isnan.patch
b/video/kodi/0001-std-isnan-isnan.patch
deleted file mode 100644
index e75deab..0000000
--- a/video/kodi/0001-std-isnan-isnan.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From c95a758eaca3baf466da25e91ebea89b609fe227 Mon Sep 17 00:00:00 2001
-From: Florian Franzmann <bwlf AT bandrate.org>
-Date: Fri, 25 Aug 2017 20:39:33 +0200
-Subject: [PATCH] std::isnan isnan
-
----
- xbmc/dialogs/GUIDialogExtendedProgressBar.cpp | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/xbmc/dialogs/GUIDialogExtendedProgressBar.cpp
b/xbmc/dialogs/GUIDialogExtendedProgressBar.cpp
-index 42c2238..043a25f 100644
---- a/xbmc/dialogs/GUIDialogExtendedProgressBar.cpp
-+++ b/xbmc/dialogs/GUIDialogExtendedProgressBar.cpp
-@@ -52,7 +52,7 @@ void CGUIDialogProgressBarHandle::SetTitle(const
std::string &strTitle)
- void CGUIDialogProgressBarHandle::SetProgress(int currentItem, int
itemCount)
- {
- float fPercentage = (currentItem*100.0f)/itemCount;
-- if (!std::isnan(fPercentage))
-+ if (!isnan(fPercentage))
- m_fPercentage = std::min(100.0f, fPercentage);
- }
-
---
-2.14.1
-
diff --git a/video/kodi/HISTORY b/video/kodi/HISTORY
index 3571a41..7855cb6 100644
--- a/video/kodi/HISTORY
+++ b/video/kodi/HISTORY
@@ -1,3 +1,9 @@
+2019-08-04 Pavel Vinogradov <public AT sourcemage.org>
+ * PRE_BUILD: use apply_patch_dir now
+ * crossguid.patch, 0001-std-isnan-isnan.patch: moved to patches/
subdir
+ * patches/python.patch: added to correctly find python executable and
+ libraries
+
2019-07-19 Pavel Vinogradov <public AT sourcemage.org>
* DEPENDS: dropped gnutls
diff --git a/video/kodi/PRE_BUILD b/video/kodi/PRE_BUILD
index 2abad81..7aa9ca6 100755
--- a/video/kodi/PRE_BUILD
+++ b/video/kodi/PRE_BUILD
@@ -1,5 +1,4 @@
default_pre_build &&
cd ${SOURCE_DIRECTORY} &&