alarm/kodi-rpi to 21.0-5

Add python-setuptools as 3.12 no longer comes with distutils on board
and cmake/scripts/linux/Install.cmake calls distutils
This commit is contained in:
graysky 2024-05-13 17:03:19 -04:00
parent 2746f2e3b0
commit be9d16a73b

View file

@ -15,28 +15,28 @@ pkgname=(
'kodi-rpi-eventclients' 'kodi-rpi-tools-texturepacker' 'kodi-rpi-dev'
)
_commitnumber=65539
_commit=7ead006b14bf638bb1928e389b5552ec32288222
_commitnumber=65604
_commit=97e00d4b693ae20da5c9b9c4dd91b762b8351ff1
# set this to anything to build with clang
# recommend manually setting -DUSE_LTO=OFF to -DUSE_LTO=$(nproc) in build()
_clangbuild=
pkgver=21.0
pkgrel=4
pkgrel=5
arch=('aarch64' 'armv7h')
url="https://github.com/graysky2/xbmc/tree/gs-gbm_omega"
license=('GPL2')
makedepends=(
'afpfs-ng' 'bluez-libs' 'cmake' 'curl' 'dav1d' 'doxygen' 'git' 'glew'
'gperf' 'hicolor-icon-theme' 'jdk17-openjdk' 'fmt' 'libaacs' 'libass'
'gperf' 'hicolor-icon-theme' 'fmt' 'libaacs' 'libass'
'libbluray' 'libcdio' 'libcec' 'libgl' 'mariadb-libs' 'libmicrohttpd'
'libmodplug' 'libmpeg2' 'libnfs' 'libplist' 'libpulse'
'libxrandr' 'libxslt' 'lirc' 'lzo' 'mesa' 'nasm'
'pipewire' 'python-pycryptodomex' 'python-pillow' 'python-pybluez'
'python-simplejson' 'shairplay' 'smbclient' 'sndio' 'spdlog' 'taglib'
'tinyxml' 'swig' 'upower' 'giflib' 'rapidjson' 'ghostscript' 'meson' 'gtest'
'graphviz' 'libinput' 'libxkbcommon' 'pcre' 'libdisplay-info' 'tinyxml2'
'graphviz' 'libinput' 'libxkbcommon' 'pcre' 'libdisplay-info' 'tinyxml2' 'python-setuptools'
)
# there are incompatibilities with recent java releases
@ -71,7 +71,6 @@ source=(
kodi.config.txt
0001-temp-revert-fences.patch
0002-ffmpeg-build-with-lto-when-duse-lto.patch::https://github.com/xbmc/xbmc/commit/2cc6f1728ccb67ef575fe57680dd42836e3d6a1f.patch
0003-revert-platformlinux-prefer-pipewire.patch::https://github.com/xbmc/xbmc/commit/aff8e6b3a0bfd8a0163a63aa003c45e1680f65c5.patch
)
backup=(boot/kodi.config.txt etc/conf.d/kodi-standalone)
noextract=(
@ -84,7 +83,7 @@ noextract=(
"flatbuffers-$_flatbuffers_version.tar.gz"
"libudfread-$_libudfread_version.tar.gz"
)
sha256sums=('9917487bc8dfef0c12d7c59c736c09072284df3c7befbc8ac418488e5116add8'
sha256sums=('3a07933a16e51251dcaefa77b5ecb1da5bcc70c800918baa980ea05a6588b36d'
'f38c4a4e7a4f4da6d8e83b8852489aa3bb6588a915dc41f5ee89d9aad305a06e'
'584f62a3896794408d46368e2ecf2c6217ab9c676ce85921b2d68b8961f49dfc'
'719130091e3adc9725ba72df808f24a14737a009dca5a4c38c601c0c76449b62'
@ -96,8 +95,7 @@ sha256sums=('9917487bc8dfef0c12d7c59c736c09072284df3c7befbc8ac418488e5116add8'
'8f8ab84a0cf3bd382edb118e475b336ca2fe1e1d4da3ad8e4637f8278ed9179c'
'5ac76e6ff16d8f0f60a414647bddb13b46402563dd02d69a05e90c0ddbb085f0'
'e812fc2f74d71915c3179785a8f99647612bd21ce96f866769ee1bc58682ee3b'
'5a2f1c5fa9189d56eaf7e05024071c57e11f92b4eeb68b4bb0555c1fdd66c890'
'd5eeb876bd64346083f8d0652f2a64ec13b31105c6a494c957e3fa5cb52b41d9')
'5a2f1c5fa9189d56eaf7e05024071c57e11f92b4eeb68b4bb0555c1fdd66c890')
prepare() {
[[ -d kodi-build ]] && rm -rf kodi-build
@ -111,9 +109,6 @@ prepare() {
# honor LTO settings when building ffmpeg
patch -p1 -i ../0002-ffmpeg-build-with-lto-when-duse-lto.patch
# https://github.com/xbmc/xbmc/issues/25006
patch -p1 -i ../0003-revert-platformlinux-prefer-pipewire.patch
}
build() {