From aad9d007c9cd8f10a188f758bdb3ff1e0a523869 Mon Sep 17 00:00:00 2001 From: vpeter4 Date: Wed, 31 Oct 2018 16:55:49 +0100 Subject: [PATCH] Fix build version shown in Kodi from Version: IPTV_VERSION to Version: 3.5.5 --- CMakeLists.txt | 3 +++ pvr.iptvsimple/addon.xml.in | 2 +- pvr.iptvsimple/changelog.txt | 3 +++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 64ed74c8e..e1686fb33 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -29,6 +29,9 @@ set(IPTV_SOURCES src/client.cpp set(IPTV_HEADERS src/client.h src/PVRIptvData.h) +addon_version(pvr.iptvsimple IPTV) +add_definitions(-DIPTV_VERSION=${IPTV_VERSION}) + build_addon(pvr.iptvsimple IPTV DEPLIBS) include(CPack) diff --git a/pvr.iptvsimple/addon.xml.in b/pvr.iptvsimple/addon.xml.in index 4f9f4518b..b58279609 100644 --- a/pvr.iptvsimple/addon.xml.in +++ b/pvr.iptvsimple/addon.xml.in @@ -1,7 +1,7 @@ @ADDON_DEPENDS@ diff --git a/pvr.iptvsimple/changelog.txt b/pvr.iptvsimple/changelog.txt index 04a4bdd14..4c445c428 100644 --- a/pvr.iptvsimple/changelog.txt +++ b/pvr.iptvsimple/changelog.txt @@ -1,3 +1,6 @@ +v3.5.6 +- Correctly show build version in Kodi + v3.5.5 - Bump zlib to version 1.2.11