alarm/kodi-rpi-legacy to 19.5.57808.e619f5ae9e-2

This commit is contained in:
graysky 2022-12-28 15:43:31 -05:00
parent 782a87a7d4
commit 9c64dea9d9

View file

@ -19,7 +19,7 @@ _commit=e619f5ae9ef316a64a5d37b3868933c92fc66e90
_commitnumber=57808
pkgver=19.5."$_commitnumber.${_commit:0:10}"
pkgrel=1
pkgrel=2
arch=('armv7h')
url="https://github.com/graysky2/xbmc/tree/gs-gbm_matrix"
license=('GPL2')
@ -61,6 +61,7 @@ source=(
"http://mirrors.kodi.tv/build-deps/sources/libudfread-$_libudfread_version.tar.gz"
"ArchARM-kodi-init-v$_init_version.tar.gz::https://github.com/graysky2/kodi-standalone-service/archive/v$_init_version.tar.gz"
kodi.config.txt
0001-upstream-build-fixes-from-debian.patch::https://patch-diff.githubusercontent.com/raw/xbmc/xbmc/pull/22291.patch
)
backup=(boot/kodi.config.txt etc/conf.d/kodi-standalone)
noextract=(
@ -87,13 +88,16 @@ sha256sums=('53f77b7cf22e15705034c83d2d25aa1ae4584e30f466031980d09af5be302178'
'62f2223fb9181d1d6338451375628975775f7522185266cd5296571ac152bc45'
'5ad9f95c53e8f29853c1fefa0a20a301be4045e2c7ae49d1164bc74d94155627'
'b94c70baa45e30346224ceecfab031dd183e09303b1f97d6522f9941da9b0067'
'590a2fcc8d4855ef1e1196b7a81954670cd1d7580d94e41c8b5e99c5f206d37d')
'590a2fcc8d4855ef1e1196b7a81954670cd1d7580d94e41c8b5e99c5f206d37d'
'6678d438a780f36b94a9ac76de271e017e00e8925809412d940a106a8795ddfe')
prepare() {
[[ -d kodi-build ]] && rm -rf kodi-build
mkdir "$srcdir/kodi-build"
#cd "xbmc-$_commit"
cd "xbmc-$_commit"
patch -p1 -i ../0001-upstream-build-fixes-from-debian.patch
}
build() {
@ -127,7 +131,7 @@ build() {
-DFLATBUFFERS_URL="$srcdir/flatbuffers-$_flatbuffers_version.tar.gz"
-DUDFREAD_URL="$srcdir/libudfread-$_libudfread_version.tar.gz"
-DAPP_RENDER_SYSTEM=gles
-DCORE_PLATFORM_NAME=gbm
-DCORE_PLATFORM_NAME="gbm x11"
)
# https://github.com/google/flatbuffers/issues/7404