commit 1d725609ab74c595534ca0e2bde4edd2317f7aab
Author: Mohamed El Morabity <melmorabity(a)fedoraproject.org>
Date: Mon Nov 16 23:33:36 2020 +0100
Update to 7.1.1
.gitignore | 1 +
kodi-pvr-mythtv-7.1.1-build.patch | 12 ++++++++++++
kodi-pvr-mythtv.spec | 10 +++++++---
sources | 2 +-
4 files changed, 21 insertions(+), 4 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index c2d143c..453a433 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@
/pvr.mythtv-179b6ea.tar.gz
/pvr.mythtv-5.10.15.tar.gz
/pvr.mythtv-7.0.5.tar.gz
+/pvr.mythtv-7.1.1.tar.gz
diff --git a/kodi-pvr-mythtv-7.1.1-build.patch b/kodi-pvr-mythtv-7.1.1-build.patch
new file mode 100644
index 0000000..d250c67
--- /dev/null
+++ b/kodi-pvr-mythtv-7.1.1-build.patch
@@ -0,0 +1,12 @@
+diff -up ./src/pvrclient-mythtv.cpp.orig ./src/pvrclient-mythtv.cpp
+--- ./src/pvrclient-mythtv.cpp.orig 2020-09-16 23:35:43.000000000 +0200
++++ ./src/pvrclient-mythtv.cpp 2020-11-16 23:29:31.028281599 +0100
+@@ -2413,7 +2413,7 @@ PVR_ERROR PVRClientMythTV::GetStreamTime
+ endTs = now;
+ streamTimes.SetPTSStart(0); // it is started from 0 by the ffmpeg demuxer
+ streamTimes.SetPTSBegin(0); // earliest pts player can seek back
+- streamTimes.SetPTSEnd(static_cast<int64_t>(difftime(endTs, begTs)) *
DVD_TIME_BASE);
++ streamTimes.SetPTSEnd(static_cast<int64_t>(difftime(endTs, begTs)) *
STREAM_TIME_BASE);
+ return PVR_ERROR_NO_ERROR;
+ }
+
diff --git a/kodi-pvr-mythtv.spec b/kodi-pvr-mythtv.spec
index 81f6c42..cce1fdb 100644
--- a/kodi-pvr-mythtv.spec
+++ b/kodi-pvr-mythtv.spec
@@ -6,7 +6,7 @@ Name: kodi-%(tr "." "-"
<<<%{kodi_addon})
# Use Epoch to manage upgrades from older upstream
# (
https://github.com/opdenkamp/xbmc-pvr-addons/)
Epoch: 1
-Version: 7.0.5
+Version: 7.1.1
Release: 1%{?dist}
Summary: MythTV PVR for Kodi
@@ -16,13 +16,14 @@ URL:
https://github.com/janbar/%{kodi_addon}/
Source0:
%{url}/archive/%{version}-%{kodi_codename}/%{kodi_addon}-%{version}.tar.gz
# Use external cppmyth library
Patch0: %{name}-7.0.5-use_external_cppmyth.patch
+# Fix build with latest Kodi releases
+Patch1: %{name}-7.1.1-build.patch
BuildRequires: cmake3
BuildRequires: gcc-c++
BuildRequires: kodi-devel >= %{kodi_version}
BuildRequires: pkgconfig(cppmyth) >= 2.14.1
-BuildRequires: platform-devel
-BuildRequires: zlib-devel
+BuildRequires: pkgconfig(zlib)
Requires: kodi >= %{kodi_version}
ExcludeArch: %{power64} ppc64le
@@ -54,6 +55,9 @@ find lib/cppmyth/ -type f -not -path
"lib/cppmyth/src/private/*" -delete
%changelog
+* Mon Nov 16 2020 Mohamed El Morabity <melmorabity(a)fedoraproject.org> - 1:7.1.1-1
+- Update to 7.1.1
+
* Thu Aug 20 2020 Mohamed El Morabity <melmorabity(a)fedoraproject.org> - 1:7.0.5-1
- Update to 7.0.5 (switch to Matrix branch)
diff --git a/sources b/sources
index e200b76..731364a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pvr.mythtv-7.0.5.tar.gz) =
ad94f44f0fa853776da62af7b23a54d884cb25b6fab3186b1bc02f9c4716e7cdeb371f5eb789d65221573117ed7afafcc2a7e1f53a004d42866b61d8deae1dac
+SHA512 (pvr.mythtv-7.1.1.tar.gz) =
9154924e7c433a8d0aa6c82a8e6b638310707d1df0607a19da7cc97431e66a38f11ab2d5e1c95ec05caf37f4a32ddce54efa4e94f07d19d2264422d38c4e6bad