alarm/kodi-rpi-git to 21.x.62170.781b6dace9-1

This commit is contained in:
graysky 2023-02-04 15:05:50 -05:00
parent 34e3fae6a2
commit dd7c7f7cd1
2 changed files with 17 additions and 3 deletions

View file

@ -13,8 +13,8 @@ pkgname=(
'kodi-rpi-git-eventclients' 'kodi-rpi-git-tools-texturepacker' 'kodi-rpi-git-dev'
)
_commitnumber=62155
_commit=d6861157b08e3bba0c812adb47d6ce607a973cf4
_commitnumber=62170
_commit=781b6dace967d0af7a0680a61cb851ecfddc9d40
# set this to anything to build with clang
# recommend manually setting -DUSE_LTO=OFF to -DUSE_LTO=$(nproc) in build()
@ -72,7 +72,7 @@ noextract=(
"flatbuffers-$_flatbuffers_version.tar.gz"
"libudfread-$_libudfread_version.tar.gz"
)
sha256sums=('39fd1233f212ad3c403cb2393a486ec5eb0e5c00b2f5f25c34c54818cbc04a33'
sha256sums=('aa914ca58c08bc840dc8b293052ac14b7e1c8251df848bae231b2ce632ba58ca'
'f38c4a4e7a4f4da6d8e83b8852489aa3bb6588a915dc41f5ee89d9aad305a06e'
'584f62a3896794408d46368e2ecf2c6217ab9c676ce85921b2d68b8961f49dfc'
'719130091e3adc9725ba72df808f24a14737a009dca5a4c38c601c0c76449b62'

View file

@ -22,6 +22,20 @@ post_install() {
fi
}
post_upgrade() {
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() {
echo "==> Optionally remove /var/lib/kodi/"
}