aboutsummaryrefslogtreecommitdiff
path: root/addons/kodi.binary.global.main
diff options
context:
space:
mode:
authorAlwin Esch <alwin.esch@web.de>2017-05-15 14:32:58 +0200
committerAlwin Esch <alwin.esch@web.de>2017-05-15 14:32:58 +0200
commit3b05b50329074390d7a9f197dccf509af9c1db37 (patch)
treec6a438be3c8fa7e973dd30647fccb20bc967ccd9 /addons/kodi.binary.global.main
parent4551978380dfcc9bd31c3c150a97fda95d440c30 (diff)
[cmake][addons] automate addon.xml version set
This automate the set of versions on addon.xml in kodi and also allow set of them on addon itself. On a Version change need only the number inside the Header "version.h" replaced, everything else becomes then set from cmake.
Diffstat (limited to 'addons/kodi.binary.global.main')
-rw-r--r--addons/kodi.binary.global.main/addon.xml.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/addons/kodi.binary.global.main/addon.xml.in b/addons/kodi.binary.global.main/addon.xml.in
new file mode 100644
index 0000000000..f60bbb5562
--- /dev/null
+++ b/addons/kodi.binary.global.main/addon.xml.in
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<addon id="kodi.binary.global.main" version="@ADDON_GLOBAL_VERSION_MAIN@" provider-name="Team Kodi">
+ <backwards-compatibility abi="@ADDON_GLOBAL_VERSION_MAIN_MIN@"/>
+ <requires>
+ <import addon="xbmc.core" version="0.1.0"/>
+ </requires>
+</addon>