RetroPie / RetroPie-Setup

Shell script to set up a Raspberry Pi/Odroid/PC with RetroArch emulator and various cores
Other
10k stars 1.38k forks source link

kodi: fix installation on Bookworm/Bullseye #3853

Closed cmitu closed 6 months ago

cmitu commented 6 months ago

Since Bullseye, kodi should be installed from the RPT repos, since it's built with the necessary patches/optimization directly by the RP folks. However, the version in the repos don't always overrides the version present in the upstream Debian/Raspbian repositories [1] and installation fails.

Added a workaround to always prefer the Kodi packages originating from archive.raspberrypi.com/archive.raspberrypi.org and also fixed the Raspbian detection on Bookworm.

I think Bullseye and previous had 'archive.raspberrypi.org' for RP repositories, while Bookworm has switched to 'archive.raspberrypi.com', so we can't use the URL for pinning. Added a pin based on the 'l'(Location ?) field of the release from the repository.

[1] https://github.com/raspberrypi/bookworm-feedback/issues/144

NB: for Netflix/Amazon/Disney+/etc. (basically DRM-enabled content), kodi can use the libwidevinecdm0 package to enable streaming. Not sure if we want it enabled/added by default or just mention it in the documentation.

joolswills commented 6 months ago

Thank you.