alarm/kodi-rpi-legacy to 20.3-2

This commit is contained in:
graysky 2024-01-30 15:17:23 -05:00
parent 7ac916508f
commit 2c415119eb

View file

@ -23,7 +23,7 @@ _commit=8bda950342221a2b210eab73c224935270506fa9
_clangbuild=
pkgver=20.3
pkgrel=1
pkgrel=2
arch=('armv7h')
url="https://github.com/graysky2/xbmc/tree/gs-gbm_nexus"
license=('GPL2')
@ -65,6 +65,10 @@ source=(
0001-ffmpeg-update-for-official-5.1.4.patch
flatbuffers-23.3.3.patch::https://github.com/xbmc/xbmc/commit/35be40daa39965a9ea5b3569eb7d515e6a14da5d.patch
pr23703.patch::https://patch-diff.githubusercontent.com/raw/xbmc/xbmc/pull/23703.patch
https://github.com/xbmc/xbmc/pull/23227.patch
https://github.com/xbmc/xbmc/commit/d2022ce1.patch
https://github.com/xbmc/xbmc/commit/6f5dff4b.patch
https://patch-diff.githubusercontent.com/raw/xbmc/xbmc/pull/24577.patch
)
backup=(boot/kodi.config.txt etc/conf.d/kodi-standalone)
noextract=(
@ -90,7 +94,11 @@ sha256sums=('d741f2dd5c8f80c9b725bb5694ffe7024e0f8000db0878164ef35392be5d13a0'
'590a2fcc8d4855ef1e1196b7a81954670cd1d7580d94e41c8b5e99c5f206d37d'
'9dd3923d87f645ed31d37bca6cd791798d7a486335e952dd09b8076bb4c1908b'
'ea7a409c4e260bd8f4f949cbd02b7a6609ac0ec5a6920b405abc63ec1a3e312b'
'41ed62f58f531ee65278eba2c05411c8948957989c6a21af4e19ca2623d5c03c')
'41ed62f58f531ee65278eba2c05411c8948957989c6a21af4e19ca2623d5c03c'
'c0570dfddbd42a88446695ec4af38f6cf8a5a99f95210eeefb596c155a18f9d9'
'4021ada2d3d1fe528601b5a25b04216d62011e2cc0fcac83038bf5a322305f0c'
'd853db69112a52481713079dbf50de195afba2a2425c471a5b0dfccf2f2da669'
'f88c72100fc0b1c7360525f6c959cfa26bd7c5c512a9e3f68d6fdb0edb2d27dc')
prepare() {
[[ -d kodi-build ]] && rm -rf kodi-build
@ -106,6 +114,15 @@ prepare() {
# expose CPU temp for RPis
patch -p1 -i ../pr23703.patch
# potential fix for thread priority crash
# https://gitlab.archlinux.org/archlinux/packaging/packages/kodi/-/issues/3
patch -p1 -i ../23227.patch
# Fix build with taglib 2
patch -p1 -i ../d2022ce1.patch
patch -p1 -i ../6f5dff4b.patch
patch -p1 -i ../24577.patch
}
build() {