alarm/kodi-rpi-legacy to 19.1-7

This commit is contained in:
graysky 2021-07-13 19:55:34 -04:00
parent 9c09ac4b5b
commit 0d07616c35

View file

@ -15,7 +15,7 @@ pkgname=(
'kodi-rpi-legacy-eventclients' 'kodi-rpi-legacy-tools-texturepacker' 'kodi-rpi-legacy-dev'
)
pkgver=19.1
pkgrel=6
pkgrel=7
_commit=f955df92d4e5d2a290261c3d29e87059b1443db7
arch=('armv7h')
url="https://github.com/graysky2/xbmc/tree/gs-gbm_matrix"
@ -59,6 +59,7 @@ source=(
kodi.config.txt
use-mcpu-avoiding-march-and-mtune.patch
0001-mcpu-cortex-application-to-ffmpeg.patch
0002-fix-illegal-access-warnings-error.patch::https://github.com/xbmc/xbmc/commit/bfb08a4a32e31349f7578efd2de78a8e394a2946.patch
)
backup=(boot/kodi.config.txt etc/conf.d/kodi-standalone)
noextract=(
@ -84,10 +85,11 @@ sha256sums=('6a6adf5bdb5af2dfc3e972d9d9de5d4b4eb5d21fba49eb57b65810dcfa3dea91'
'62f2223fb9181d1d6338451375628975775f7522185266cd5296571ac152bc45'
'b38e0bbef7faac2b82fed550a0c19b0d4e7f6737d5321d4fd8f216b80f8aee8a'
'5ad9f95c53e8f29853c1fefa0a20a301be4045e2c7ae49d1164bc74d94155627'
'd3f1be7fed28a5efcb29a6fe8f09039c694dfcda3c055a22679c35d2c705d8c0'
'04cd3a4290ebd6584535cd107aaf9c2d0effa3e8713cf1d6abd6fe74fc142dad'
'41bc9a846de2468a1cb90485b7d02dc7a761a65a2e82c36e64876812573fa64e'
'ca91d35bf6d87ed6e43f366a87babf26eed9f186ca362edb59ae242fc62b3692'
'16d6c79ff3a3d3653f21d77a36326a0335c8cec49a9c06dbc2de0ed143e50a9f'
'76eafede11af936bb554932b2be71ce91d4bf1c07107d847500ebbf3ff7d7245')
'76eafede11af936bb554932b2be71ce91d4bf1c07107d847500ebbf3ff7d7245'
'4f639508d1d9e7467aa37008ee2ceb71784b1dec4859bdb750a2066f5328cbde')
prepare() {
[[ -d kodi-build ]] && rm -rf kodi-build
@ -102,6 +104,9 @@ prepare() {
# patch kodi build system to apply the patch we just copied over
patch -Np1 -i ../0001-mcpu-cortex-application-to-ffmpeg.patch
# fix illegal access warnings/errors with Java >=9
patch -Np1 -i ../0002-fix-illegal-access-warnings-error.patch
}
build() {
@ -118,8 +123,7 @@ build() {
export CXXFLAGS="${CFLAGS}"
_args=(
-DCORE_PLATFORM_NAME="x11 gbm"
-DAPP_RENDER_SYSTEM=gles
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_INSTALL_PREFIX=/usr
-DCMAKE_INSTALL_LIBDIR=/usr/lib
-DUSE_LTO=OFF
@ -145,6 +149,8 @@ build() {
-DFSTRCMP_URL="$srcdir/fstrcmp-$_fstrcmp_version.tar.gz"
-DFLATBUFFERS_URL="$srcdir/flatbuffers-$_flatbuffers_version.tar.gz"
-DUDFREAD_URL="$srcdir/libudfread-$_libudfread_version.tar.gz"
-DAPP_RENDER_SYSTEM=gles
-DCORE_PLATFORM_NAME="x11 gbm"
)
cmake "${_args[@]}" ../"xbmc-$_commit"