alarm/kodi-rpi-legacy to 20.1-5

This commit is contained in:
graysky 2023-05-13 07:49:26 -04:00
parent 3d700a47da
commit baecf4e51e
2 changed files with 34 additions and 8 deletions

View file

@ -0,0 +1,23 @@
From 19668d52077b6352522ee21b225e7672dad746e7 Mon Sep 17 00:00:00 2001
Date: Fri, 12 May 2023 15:08:12 -0400
Subject: [PATCH] ffmpeg: update for official 5.1.3
---
tools/depends/target/ffmpeg/FFMPEG-VERSION | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/depends/target/ffmpeg/FFMPEG-VERSION b/tools/depends/target/ffmpeg/FFMPEG-VERSION
index d80ab0a..b2f6ec1 100644
--- a/tools/depends/target/ffmpeg/FFMPEG-VERSION
+++ b/tools/depends/target/ffmpeg/FFMPEG-VERSION
@@ -1,5 +1,5 @@
LIBNAME=ffmpeg
BASE_URL=https://github.com/xbmc/FFmpeg
-VERSION=5.1.2-Nexus-Alpha3
+VERSION=5.1.3
ARCHIVE=$(LIBNAME)-$(VERSION).tar.gz
-SHA512=ce60852b8456d6f4bfc60de0ceadb33034d9b3eea8c0bc84d8b7199984ecbf334a2c4d9b42eade439d0ef30ce22e3b2ca0a49d4df837a18cd3136b4343ed3113
+SHA512=24d18a735a92c7c95fd8bc55eb764b517ed5302b951d2ed30cc97cc4e016d73aa06b737b52c2475ffe138503f6822c1289933553797d3075d4aec6212a2c727e
--
2.40.1

View file

@ -15,15 +15,15 @@ pkgname=(
'kodi-rpi-legacy-eventclients' 'kodi-rpi-legacy-tools-texturepacker' 'kodi-rpi-legacy-dev'
)
_commitnumber=62112
_commit=a57d718d58c0987f9bb7d3d18b20b5a1be655d0e
_commitnumber=62162
_commit=333ddbbca027e0b1c37a98d9d81b7837c2ba64ff
# set this to anything to build with clang
# recommend manually setting -DUSE_LTO=OFF to -DUSE_LTO=$(nproc) in build()
_clangbuild=
pkgver=20.1
pkgrel=4
pkgrel=5
arch=('armv7h')
url="https://github.com/graysky2/xbmc/tree/gs-gbm_nexus"
license=('GPL2')
@ -45,7 +45,7 @@ _init_version=1.136
_libdvdcss_version="1.4.3-Next-Nexus-Alpha2-2"
_libdvdnav_version="6.1.1-Next-Nexus-Alpha2-2"
_libdvdread_version="6.1.3-Next-Nexus-Alpha2-2"
_ffmpeg_version="4.4.1-Nexus-Alpha1"
_ffmpeg_version="5.1.3"
_crossguid_version="ca1bf4b810e2d188d04cb6286f957008ee1b7681"
_fstrcmp_version="0.7.D001"
_flatbuffers_version="2.0.0"
@ -55,13 +55,14 @@ source=(
"libdvdcss-$_libdvdcss_version.tar.gz::https://github.com/xbmc/libdvdcss/archive/$_libdvdcss_version.tar.gz"
"libdvdnav-$_libdvdnav_version.tar.gz::https://github.com/xbmc/libdvdnav/archive/$_libdvdnav_version.tar.gz"
"libdvdread-$_libdvdread_version.tar.gz::https://github.com/xbmc/libdvdread/archive/$_libdvdread_version.tar.gz"
"ffmpeg-$_ffmpeg_version.tar.gz::https://github.com/xbmc/FFmpeg/archive/$_ffmpeg_version.tar.gz"
"https://ffmpeg.org/releases/ffmpeg-$_ffmpeg_version.tar.gz"
"https://mirrors.kodi.tv/build-deps/sources/crossguid-$_crossguid_version.tar.gz"
"https://mirrors.kodi.tv/build-deps/sources/fstrcmp-$_fstrcmp_version.tar.gz"
"https://mirrors.kodi.tv/build-deps/sources/flatbuffers-$_flatbuffers_version.tar.gz"
"https://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-ffmpeg-update-for-official-5.1.3.patch
)
backup=(boot/kodi.config.txt etc/conf.d/kodi-standalone)
noextract=(
@ -74,22 +75,24 @@ noextract=(
"flatbuffers-$_flatbuffers_version.tar.gz"
"libudfread-$_libudfread_version.tar.gz"
)
sha256sums=('5ce7471588fd9f233208db97722ceaf7f4003b392fc92f8a05469b711838937a'
sha256sums=('7df944582f51eb722a269d4ac5cca74f74577b9f27e2545595f6bcc25d39f675'
'f38c4a4e7a4f4da6d8e83b8852489aa3bb6588a915dc41f5ee89d9aad305a06e'
'584f62a3896794408d46368e2ecf2c6217ab9c676ce85921b2d68b8961f49dfc'
'719130091e3adc9725ba72df808f24a14737a009dca5a4c38c601c0c76449b62'
'abbce62231baffe237e412689c71ffe01bfc83135afd375f1e538caae87729ed'
'ac1b734adc57333ffbb603d9d5b70a4133f10d76380085c61c77fa3537f63e95'
'6be27e0b3a4907f0cd3cfadec255ee1b925569e1bd06e67a4d2f4267299b69c4'
'e4018e850f80700acee8da296e56e15b1eef711ab15157e542e7d7e1237c3476'
'9ddb9031798f4f8754d00fca2f1a68ecf9d0f83dfac7239af1311e4fd9a565c4'
'2bf16726ac98d093156195bb049a663e07d3323e079c26912546f4e05c77bac5'
'b94c70baa45e30346224ceecfab031dd183e09303b1f97d6522f9941da9b0067'
'590a2fcc8d4855ef1e1196b7a81954670cd1d7580d94e41c8b5e99c5f206d37d')
'590a2fcc8d4855ef1e1196b7a81954670cd1d7580d94e41c8b5e99c5f206d37d'
'edb5cd7df4eb73535e94598f5cd06b922196e63cbe8518a116ffafa88af8c2d6')
prepare() {
[[ -d kodi-build ]] && rm -rf kodi-build
mkdir "$srcdir/kodi-build"
cd "xbmc-$_commit"
patch -p1 -i ../0001-ffmpeg-update-for-official-5.1.3.patch
}
build() {