summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Laß2021-03-04 18:43:01 +0100
committerMichael Laß2021-03-04 18:44:38 +0100
commite39881dc7c8996dff8b3f5ff046104f47e1f0821 (patch)
tree00e3c7d23ec600228ac9d9b0741cd1d4b78fcf0f
parent01f737daf444db736e000c9205d53da4f2d7b7dc (diff)
downloadaur-kodi-platform-git.tar.gz
Remove fixed versioning
Since Kodi 19, there is no specific version of kodi-platform specified anymore. So this package can do what most -git packages do: just build the latest available revision.
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD25
2 files changed, 3 insertions, 26 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8f87b272408c..fd4713fa3fc6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = kodi-platform-git
pkgdesc = Kodi platform support library
- pkgver = r57.e8574b8
+ pkgver = r61.809c5e9
pkgrel = 1
url = https://github.com/xbmc/kodi-platform
arch = armv7h
@@ -14,7 +14,7 @@ pkgbase = kodi-platform-git
depends = p8-platform
provides = kodi-platform
conflicts = kodi-platform
- source = kodi-platform-git::git+https://github.com/xbmc/kodi-platform.git#commit=e8574b883
+ source = kodi-platform-git::git+https://github.com/xbmc/kodi-platform.git
md5sums = SKIP
pkgname = kodi-platform-git
diff --git a/PKGBUILD b/PKGBUILD
index 41b1a6cb4939..aeedde37b74e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,21 +3,8 @@
# This PKGBUILD is maintained on github:
# https://github.com/michaellass/AUR
-###############################################################################
-# INSTRUCTIONS #
-# ------------ #
-# #
-# API changes between different Kodi versions make it necessary to specify #
-# the version of Kodi you want to build this package for. You can choose #
-# between Krypton (17), Leia (18), Matrix (19) and git master (99). Do so in #
-# the following line. #
-# #
-###############################################################################
-
-API=18
-
pkgname=kodi-platform-git
-pkgver=r57.e8574b8
+pkgver=r61.809c5e9
pkgrel=1
pkgdesc='Kodi platform support library'
arch=('armv7h' 'i686' 'x86_64')
@@ -30,16 +17,6 @@ conflicts=('kodi-platform')
source=("${pkgname}::git+https://github.com/xbmc/kodi-platform.git")
md5sums=('SKIP')
-# Corresponding commit IDs are taken from
-# https://github.com/xbmc/xbmc/blob/$BRANCH/[project/]cmake/addons/depends/common/kodi-platform/kodi-platform.txt
-case "$API" in
- 17) source[0]="${pkgname}::git+https://github.com/xbmc/kodi-platform.git#commit=c8188d826" ;;
- 18) source[0]="${pkgname}::git+https://github.com/xbmc/kodi-platform.git#commit=e8574b883" ;;
- 19) ;;
- 99) ;;
- *) echo "Unknown API version. Follow instructions in PKGBUILD." && false
-esac
-
pkgver() {
cd "$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"