alarm/kodi-rpi-git to 22.x.65933.ec30a61225-1

This commit is contained in:
graysky 2024-05-14 17:35:35 -04:00
parent 59f8f4af3e
commit 258ebceeb2

View file

@ -19,10 +19,10 @@ pkgname=(
# recommend manually setting -DUSE_LTO=OFF to -DUSE_LTO=$(nproc) in build()
_clangbuild=
pkgver=21.x.65537.0a3db83708
pkgver=22.x.65933.ec30a61225
pkgrel=1
arch=('aarch64' 'armv7h')
url="https://github.com/graysky2/xbmc/tree/gs-gbm_omega"
url="https://github.com/graysky2/xbmc/tree/gs-gbm_master"
license=('GPL2')
makedepends=(
'afpfs-ng' 'bluez-libs' 'cmake' 'curl' 'dav1d' 'doxygen' 'git' 'glew'
@ -44,8 +44,8 @@ makedepends_aarch64=('java-environment<21')
[[ -n "$_clangbuild" ]] && makedepends+=('clang' 'lld' 'llvm')
_gitname="gs-gbm_omega"
_majorver="21.x"
_gitname="gs-gbm_master"
_majorver="22.x"
_init_version=1.137
_libdvdcss_version="1.4.3-Next-Nexus-Alpha2-2"
_libdvdnav_version="6.1.1-Next-Nexus-Alpha2-2"
@ -56,7 +56,7 @@ _fstrcmp_version="0.7.D001"
_flatbuffers_version="23.3.3"
_libudfread_version="1.1.2"
source=(
"xbmc-$_gitname"::git+https://github.com/graysky2/xbmc.git#branch=gs-gbm_omega
"xbmc-$_gitname"::git+https://github.com/graysky2/xbmc.git#branch=gs-gbm_master
"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"
@ -68,7 +68,6 @@ source=(
"ArchARM-kodi-init-v$_init_version.tar.gz::https://github.com/graysky2/kodi-standalone-service/archive/v$_init_version.tar.gz"
kodi.config.txt
000-temp-revert-fences.patch
0001-ffmpeg-build-with-lto-when-DUSE_LTO-ON.patch
)
backup=(boot/kodi.config.txt etc/conf.d/kodi-standalone)
noextract=(
@ -92,8 +91,7 @@ sha256sums=('SKIP'
'2bf16726ac98d093156195bb049a663e07d3323e079c26912546f4e05c77bac5'
'8f8ab84a0cf3bd382edb118e475b336ca2fe1e1d4da3ad8e4637f8278ed9179c'
'5ac76e6ff16d8f0f60a414647bddb13b46402563dd02d69a05e90c0ddbb085f0'
'e812fc2f74d71915c3179785a8f99647612bd21ce96f866769ee1bc58682ee3b'
'9d2d52787abf59ceaf116e5d9e7b2ed33ce789d74766c9e407da34e86c796999')
'e812fc2f74d71915c3179785a8f99647612bd21ce96f866769ee1bc58682ee3b')
pkgver() {
cd "xbmc-$_gitname"
@ -110,9 +108,6 @@ prepare() {
# fix https://forum.kodi.tv/showthread.php?tid=376430
patch -p1 -i ../000-temp-revert-fences.patch
# use LTO for ffmpeg builds
patch -p1 -i ../0001-ffmpeg-build-with-lto-when-DUSE_LTO-ON.patch
}
build() {
@ -196,7 +191,7 @@ build() {
}
package_kodi-rpi-git() {
pkgdesc="Media player and entertainment hub with hw accel for RPi 3 and above, gbm_omega fork"
pkgdesc="Media player and entertainment hub with hw accel for RPi 3 and above, gbm_master fork"
depends=(
'bluez-libs' 'curl' 'dav1d' 'desktop-file-utils' 'hicolor-icon-theme' 'fmt'
'lcms2' 'libass' 'libbluray' 'libcdio' 'libcec' 'libmicrohttpd' 'libnfs'