diff -Nru kodi-pvr-wmc-1.4.4+git20160820/debian/changelog kodi-pvr-wmc-1.4.4+git20160820/debian/changelog --- kodi-pvr-wmc-1.4.4+git20160820/debian/changelog 2016-11-04 12:22:32.000000000 +0000 +++ kodi-pvr-wmc-1.4.4+git20160820/debian/changelog 2016-12-24 02:55:31.000000000 +0000 @@ -1,3 +1,11 @@ +kodi-pvr-wmc (1.4.4+git20160820-2) unstable; urgency=medium + + * Update d/control using cme fix + * Adapt to Kodi PVR api change - SeekTime + * Depend on PVR API version of Kodi we built the addon with + + -- Balint Reczey Sat, 24 Dec 2016 03:55:24 +0100 + kodi-pvr-wmc (1.4.4+git20160820-1) unstable; urgency=medium * Imported Upstream version 1.4.4+git20160820 diff -Nru kodi-pvr-wmc-1.4.4+git20160820/debian/control kodi-pvr-wmc-1.4.4+git20160820/debian/control --- kodi-pvr-wmc-1.4.4+git20160820/debian/control 2016-11-04 12:22:32.000000000 +0000 +++ kodi-pvr-wmc-1.4.4+git20160820/debian/control 2016-12-24 02:55:31.000000000 +0000 @@ -1,19 +1,22 @@ Source: kodi-pvr-wmc -Priority: extra Maintainer: Debian Multimedia Maintainers Uploaders: Balint Reczey -Build-Depends: debhelper (>= 9.0.0), cmake, - libkodiplatform-dev (>= 17.1.0), kodi-addons-dev (>= 17.0~beta3+dfsg1-2) -Standards-Version: 3.9.7 Section: libs +Priority: extra +Build-Depends: debhelper (>= 9.0.0), + cmake, + libkodiplatform-dev (>= 17.1.0), + kodi-addons-dev (>= 17.0~beta6~) +Standards-Version: 3.9.7 +Vcs-Browser: https://anonscm.debian.org/cgit/pkg-multimedia/kodi-pvr-wmc.git +Vcs-Git: https://anonscm.debian.org/git/pkg-multimedia/kodi-pvr-wmc.git Homepage: https://github.com/kodi-pvr/pvr.wmc.git -Vcs-Git: git://anonscm.debian.org/pkg-multimedia/kodi-pvr-wmc.git -Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-multimedia/kodi-pvr-wmc.git - Package: kodi-pvr-wmc Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends}, ${xbmc-addons-abi:Depends} +Depends: ${shlibs:Depends}, + ${misc:Depends}, + ${kodi:PVRAPI} Description: WMC PVR Addon for Kodi PVR client add-on that provides Live TV, PVR (Personal Video Recorder) functions and electronic program guide data for Kodi. The services are diff -Nru kodi-pvr-wmc-1.4.4+git20160820/debian/patches/0001-adapt-to-api-change-SeekTime.patch kodi-pvr-wmc-1.4.4+git20160820/debian/patches/0001-adapt-to-api-change-SeekTime.patch --- kodi-pvr-wmc-1.4.4+git20160820/debian/patches/0001-adapt-to-api-change-SeekTime.patch 1970-01-01 00:00:00.000000000 +0000 +++ kodi-pvr-wmc-1.4.4+git20160820/debian/patches/0001-adapt-to-api-change-SeekTime.patch 2016-12-24 02:55:31.000000000 +0000 @@ -0,0 +1,25 @@ +From 493b1612cb890be66e37c755a57cecfcf8d74a08 Mon Sep 17 00:00:00 2001 +From: Rainer Hochecker +Date: Sat, 26 Nov 2016 14:28:12 +0100 +Subject: [PATCH] adapt to api change - SeekTime + +--- + src/client.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/client.cpp b/src/client.cpp +index 69deae8..9edd65f 100644 +--- a/src/client.cpp ++++ b/src/client.cpp +@@ -725,7 +725,7 @@ extern "C" { + DemuxPacket* DemuxRead(void) { return NULL; } + unsigned int GetChannelSwitchDelay(void) { return 0; } + const char * GetLiveStreamURL(const PVR_CHANNEL &channel) { return ""; } +- bool SeekTime(int,bool,double*) { return false; } ++ bool SeekTime(double,bool,double*) { return false; } + void SetSpeed(int) {}; + bool IsRealTimeStream(void) { return true; } + PVR_ERROR GetRecordingEdl(const PVR_RECORDING&, PVR_EDL_ENTRY[], int*) { return PVR_ERROR_NOT_IMPLEMENTED; }; +-- +2.1.4 + diff -Nru kodi-pvr-wmc-1.4.4+git20160820/debian/patches/series kodi-pvr-wmc-1.4.4+git20160820/debian/patches/series --- kodi-pvr-wmc-1.4.4+git20160820/debian/patches/series 2016-11-04 12:22:32.000000000 +0000 +++ kodi-pvr-wmc-1.4.4+git20160820/debian/patches/series 2016-12-24 02:55:31.000000000 +0000 @@ -1 +1,2 @@ +0001-adapt-to-api-change-SeekTime.patch diff -Nru kodi-pvr-wmc-1.4.4+git20160820/debian/rules kodi-pvr-wmc-1.4.4+git20160820/debian/rules --- kodi-pvr-wmc-1.4.4+git20160820/debian/rules 2016-11-04 12:22:32.000000000 +0000 +++ kodi-pvr-wmc-1.4.4+git20160820/debian/rules 2016-12-24 02:55:31.000000000 +0000 @@ -9,7 +9,7 @@ DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) %: - dh $@ + dh $@ --with kodiaddon override_dh_auto_configure: dh_auto_configure -- -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=1 -DCMAKE_INSTALL_LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH)/kodi -DUSE_LTO=1