diff options
author | Michael Laß | 2021-03-04 18:43:01 +0100 |
---|---|---|
committer | Michael Laß | 2021-03-04 18:44:38 +0100 |
commit | e39881dc7c8996dff8b3f5ff046104f47e1f0821 (patch) | |
tree | 00e3c7d23ec600228ac9d9b0741cd1d4b78fcf0f | |
parent | 01f737daf444db736e000c9205d53da4f2d7b7dc (diff) | |
download | aur-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-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 3 insertions, 26 deletions
@@ -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 @@ -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)" |