Since Bullseye, `kodi` should be installed from the RPT repos, since it's build 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.
I think Bullseye and previous had 'archive.raspberrypi.org' for RP repostories, 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
The Kodi PPA for Jammy (22.04) and later doesn't include `kodi-inputstream-rtmp` anymore.
Trying to install the version from the Ubuntu repositories will produce a conflict due to mismatched dependencies with the versions from the PPA, so don't try to install the package.
NOTE: the addon can be later installed from inside Kodi, which is also recommended in its installation page:
https://kodi.tv/addons/matrix/inputstream.rtmp
* not all the packages are available depending on distro / version so do a check and install what we can.
* remove the added ppa repository on removal
* improve the logic in depends and return an error if OS/platform isn't supported
As of version 2:18.4-4~buster, pipplware's Kodi package ships with
kodi-rbpi_v8 built to target Mesa/KMS for RPI4, but also works on
RPI3 in fkms mode.
The v7 binary is still present, so the packages will work for older
board revisions with the legacy graphics drivers.
Thanks to Rascas for providing the packages & updating the launcher
script to support RPI3 in fkms mode, and popcornmix (built from his
leia_pi4 Kodi branch).
In Kodi 18, some components where split from the Kodi binary, the kodi-vfs_* binary addons. For people to use, for example, the integrated nfs, sftp, etc, filesystems and open compressed archives, they need to have them installed.
"kodi-standalone" can now be used instead of "kodi", it doesn't crash on exit anymore.
* pipplware kodi updates are not making it into Jessie so we need to switch back to their repo
* using original pipplware repo rather than bintray as bintray account was suspended
* no longer need for separate repos/packages for armv6/7 - package now includes both
* kodi packages are now uploaded to the main raspbian repo
* only add repository on x86 in install mode
* only try to remove old mene / pipplware repos if on rpi
* add _update_hook function support - these get run on updating retropie-setup.
* add update_hook functions for modules so they show up as installed on retropie-setup 4.x - eg modules that
previously just apt-get installed a package.
* fix some left over use of __depends_mode (now md_mode) - fixes pippleware kodi 16 repo install
* make sure we force an apt-get update in case one was done before the repo was added
* rp_module_menus is no more - instead use rp_module_section with one of
- core (core packages)
- main (main packages - which will be installed by default in the image)
- opt (optional packages)
- exp (experimental packages)
- driver (driver packages)
- config (configuration packages / tools)
* The setup menu organises the data based on the above sections. more could be added in the future if needed. Packages (internally modules), can be added / configured / removed individually, or as entire sections.
* The setup menu will automatically detect if a binary is available to be installed. the nobin flag is no longer needed. modules that install directly from binary via aptInstall or via a prebuilt binary need to use an install_bin_ function instead of install_
* rp_module_section of type "config" will have the "gui_" function called first if it's available, otherwise a standard depends/sources/build/install/configure will be called
* configure is no longer used for "gui" configuration function - use gui_ instead. Had already started to move to this before, but now it is required.
update Kodi to use pipplware repo mirror on RPI, for Kodi 16 with joypad control. Thanks to Herb and Rascas
add remove function to Kodi module and support removing repository / key when removing dependencies
for things like doom / quake where there may be multiple engines, it makes switching available from runcommand etc. it would also allow adding additional launch options with say different wads / settings and so on. It also
simplifies the actual module scripting.