alarm/kodi-rpi-legacy to 20.0-7

This commit is contained in:
graysky 2023-02-21 06:00:51 -05:00
parent 194d39a95a
commit c167409973
2 changed files with 5 additions and 17 deletions

View file

@ -23,7 +23,7 @@ _commit=2464903eb19ac84f8883a78f4f8cb626bed225d7
_clangbuild= _clangbuild=
pkgver=20.0 pkgver=20.0
pkgrel=6 pkgrel=7
arch=('armv7h') arch=('armv7h')
url="https://github.com/graysky2/xbmc/tree/gs-gbm_nexus" url="https://github.com/graysky2/xbmc/tree/gs-gbm_nexus"
license=('GPL2') license=('GPL2')
@ -62,7 +62,6 @@ source=(
"https://mirrors.kodi.tv/build-deps/sources/libudfread-$_libudfread_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" "ArchARM-kodi-init-v$_init_version.tar.gz::https://github.com/graysky2/kodi-standalone-service/archive/v$_init_version.tar.gz"
kodi.config.txt kodi.config.txt
"https://github.com/xbmc/xbmc/pull/22658.patch"
"https://github.com/xbmc/xbmc/pull/22714.patch" "https://github.com/xbmc/xbmc/pull/22714.patch"
) )
backup=(boot/kodi.config.txt etc/conf.d/kodi-standalone) backup=(boot/kodi.config.txt etc/conf.d/kodi-standalone)
@ -87,16 +86,13 @@ sha256sums=('82a64bc1eb2112679db74a49c1ed1a6e5ddcad1334b71320f48ad1089475b8d3'
'2bf16726ac98d093156195bb049a663e07d3323e079c26912546f4e05c77bac5' '2bf16726ac98d093156195bb049a663e07d3323e079c26912546f4e05c77bac5'
'b94c70baa45e30346224ceecfab031dd183e09303b1f97d6522f9941da9b0067' 'b94c70baa45e30346224ceecfab031dd183e09303b1f97d6522f9941da9b0067'
'590a2fcc8d4855ef1e1196b7a81954670cd1d7580d94e41c8b5e99c5f206d37d' '590a2fcc8d4855ef1e1196b7a81954670cd1d7580d94e41c8b5e99c5f206d37d'
'b970818a13508aacee149bfa7a791b442efd8522a6f6eba6d923c20f2927d1c5' '677745404a2b000674c74eefe1ce345331260906d3bc449c6fe79c8f4c014845')
'6ff6dec4e7fca2357602a9fad4ca46f5e96430ec6dde9e3938fcd9963d715b4e')
prepare() { prepare() {
[[ -d kodi-build ]] && rm -rf kodi-build [[ -d kodi-build ]] && rm -rf kodi-build
mkdir "$srcdir/kodi-build" mkdir "$srcdir/kodi-build"
cd "xbmc-$_commit" cd "xbmc-$_commit"
# FS#77390
patch -p1 -i ../22658.patch
# fix nfsv4 lockout # fix nfsv4 lockout
patch -p1 -i ../22714.patch patch -p1 -i ../22714.patch
} }
@ -168,7 +164,7 @@ package_kodi-rpi-legacy() {
'bluez-libs' 'curl' 'dav1d' 'desktop-file-utils' 'hicolor-icon-theme' 'fmt' 'bluez-libs' 'curl' 'dav1d' 'desktop-file-utils' 'hicolor-icon-theme' 'fmt'
'lcms2' 'libass' 'libbluray' 'libcdio' 'libcec-rpi' 'libmicrohttpd' 'libnfs' 'lcms2' 'libass' 'libbluray' 'libcdio' 'libcec-rpi' 'libmicrohttpd' 'libnfs'
'libplist' 'libpulse' 'libxslt' 'lirc' 'mariadb-libs' 'libplist' 'libpulse' 'libxslt' 'lirc' 'mariadb-libs'
'mesa' 'pipewire' 'python-pillow' 'python-pycryptodomex' 'mesa' 'libpipewire' 'python-pillow' 'python-pycryptodomex'
'python-simplejson' 'shairplay' 'smbclient' 'sndio' 'spdlog' 'sqlite' 'python-simplejson' 'shairplay' 'smbclient' 'sndio' 'spdlog' 'sqlite'
'taglib' 'tinyxml' 'libxkbcommon' 'polkit' 'linux>=5.4.35' 'lzo' 'libinput' 'taglib' 'tinyxml' 'libxkbcommon' 'polkit' 'linux>=5.4.35' 'lzo' 'libinput'
'pcre' 'pcre'
@ -181,6 +177,7 @@ package_kodi-rpi-legacy() {
'linux-rpi-legacy: limited HW accelerated decoding' 'linux-rpi-legacy: limited HW accelerated decoding'
'python-pybluez: Bluetooth support' 'python-pybluez: Bluetooth support'
'pulseaudio: PulseAudio support' 'pulseaudio: PulseAudio support'
'pipewire: PipeWire support'
) )
install='kodi.install' install='kodi.install'
provides=('xbmc' "kodi=${pkgver}" "kodi-common=${pkgver}") provides=('xbmc' "kodi=${pkgver}" "kodi-common=${pkgver}")
@ -226,6 +223,7 @@ package_kodi-rpi-legacy() {
install -Dm0644 "$_initshit/doc/kodi.service.1" "$pkgdir/usr/share/man/man1/kodi.service.1" install -Dm0644 "$_initshit/doc/kodi.service.1" "$pkgdir/usr/share/man/man1/kodi.service.1"
# avoid error <general>: GetDirectory - Error getting /usr/lib/kodi/addons # avoid error <general>: GetDirectory - Error getting /usr/lib/kodi/addons
# https://bugs.archlinux.org/task/77366
mkdir -p "$pkgdir"/usr/lib/kodi/addons mkdir -p "$pkgdir"/usr/lib/kodi/addons
} }

View file

@ -24,16 +24,6 @@ post_install() {
post_upgrade() { post_upgrade() {
post_install post_install
# https://bugs.archlinux.org/task/77341
if ! grep -q -r '^KODI_AE_SINK=ALSA' /etc/conf.d/kodi-standalone; then
cat <<END
>>> If audio is broken, add the following line to /etc/conf.d/kodi-standalone
then restart kodi.service: KODI_AE_SINK=ALSA
END
fi
} }
post_remove() { post_remove() {