Commit graph

55 commits

Author SHA1 Message Date
cmitu
06f85349e1 kodi: fix installation on Bookworm
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
2024-01-28 07:02:17 +00:00
Jools Wills
ede7717f62 kodi - only add the pippl repos for Raspberry Pi OS (buster) and lower 2022-12-06 00:56:14 +00:00
cmitu
89c1152e4a kodi: fix installation on Ubuntu 22.04 and later
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
2022-11-26 15:37:34 +00:00
Jools Wills
6c5dd6e1b0 kodi - use download function for downloading apt key 2021-01-21 05:20:28 +00:00
Jools Wills
d14e9480e2 kodi - improve compatibility on Ubuntu
* 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
2020-11-06 20:38:52 +00:00
Jools Wills
f7fa1a3640 kodi - remove old code to remove kodi system 2020-07-03 05:42:50 +01:00
Jools Wills
5d3cf763d3 Merge branch 'master' into fkms_rpi4 2019-12-19 02:37:22 +00:00
cmitu
16c9075eed Update license links for a few scriptmodules 2019-12-19 02:37:02 +00:00
Jools Wills
004545ff0e
Revert "licenses: update/add links for a few scriptmodules" 2019-12-19 02:15:30 +00:00
cmitu
bf8eb1da32 Update license links for a few scriptmodules 2019-12-06 05:07:16 +00:00
Conn O'Griofa
54bc81b7ba kodi: unblock installation for fkms (buster)
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).
2019-09-21 03:42:33 +01:00
Jools Wills
38ee5bb0f0 kodi - don't try and remove policykit-1 when removing dependencies/additional repositories 2019-03-20 16:24:57 +00:00
Diogo Santos
5255979c6e
Add kodi virtual filesystems | Use kodi-standalone instead
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.
2019-02-06 22:03:22 +00:00
Jools Wills
470cb7bcd0 kodi - use $__os_codename for pippleware repo and hide apt-key warning 2018-02-07 21:59:43 +00:00
Jools Wills
518b888eab disable some modules (rpi1 / sdl1 etc) from the kms platform 2017-11-02 19:49:59 +00:00
Jools Wills
f658038711 kodi - switch back to pipplware repo
* 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
2017-10-07 17:14:59 +01:00
Jools Wills
af9e71ef56 kodi - no longer use pipplware repo / depends changes
* 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
2017-07-23 19:38:05 +01:00
Jools Wills
2a1cf825c6 kodi - add ppa:team-xbmc/ppa repository on x86 to get latest version - fixes #1966 2017-05-01 19:11:54 +01:00
Jools Wills
6e3a01ee96 kodi - add policykit-1 dependency, which is required to short reboot/shutdown options 2017-04-04 02:48:33 +01:00
Jools Wills
5926524aff added licences to modules 2017-03-01 13:51:12 +00:00
Jools Wills
3a8d476468 kodi - added additional packages for Kodi 17 - thanks to Rascas 2017-02-05 12:29:09 +00:00
Jools Wills
3b77f09ff2 disable kodi / splashscreen on xbian 2017-01-10 03:33:39 +00:00
Jools Wills
a704206f92 kodi - move/symlink config directory to configs/ports/kodi 2016-12-02 20:42:09 +00:00
Jools Wills
6e6a2b7c0d disable kodi and splashscreen modules on osmc 2016-10-17 00:31:41 +01:00
Jools Wills
61edb6acb8 move udev input chmod rules to helpers 2016-08-31 14:35:11 +01:00
Jools Wills
e385457a7b cosmetic - remove trailing spaces in copyright 2016-08-11 03:23:30 +01:00
Jools Wills
e8f581b274 kodi - don't allow kodi to be installed on OSMC (return error in depends) 2016-07-28 22:21:53 +01:00
Jools Wills
f05320b42f kodi - use kodi instead of kodi-standalone 2016-07-20 22:29:02 +01:00
Jools Wills
8cd36d43c5 kodi - remove dependencies (pipplware repo) on removal 2016-07-07 18:43:37 +01:00
Jools Wills
67e335e1e2 modules - _update_hook functionality -
* 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.
2016-06-15 20:17:21 +01:00
Jools Wills
83a1760a4a typo 2016-06-12 00:59:11 +01:00
Jools Wills
0e2e6ce184 kodi module fix -
* 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
2016-06-11 22:50:11 +01:00
Jools Wills
889f8ecdfa Initial rewrite of the setup menu, including per package/module management
* 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.
2016-06-06 22:08:36 +01:00
Jools Wills
2ff34e0e3a still need to include the main repository for armv7 optimised kodi due to other package requisites. 2016-04-29 02:48:01 +01:00
Jools Wills
296e1f8963 use armv7 optimised kodi repository for rpi2/rpi3 2016-04-28 06:37:40 +01:00
Jools Wills
c11c561c9d correct delSystem call, and make sure it uses the correct config path 2016-04-12 04:07:57 +01:00
Jools Wills
7a20f982c2 make sure we remove the directLaunch version of Kodi 2016-04-12 02:47:58 +01:00
Jools Wills
11e22bc92b added aptRemove function
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
2016-04-09 02:39:24 +01:00
Jools Wills
5294895826 removed directlaunch functionality from script due to problems with the ES directlaunch code. Kodi launches from ports again 2016-03-29 05:10:15 +01:00
Jools Wills
edf837015a add simple function for adding entries for "direct launching" from ES bar.
move kodi to direct launch
2016-03-05 00:57:39 +00:00
Jools Wills
184dda8c8e use !mali instead of !odroid 2016-01-17 00:36:03 +00:00
Jools Wills
13e5c227e0 more odroid exclusions. Some of the sdl1.x stuff may work, but would require X and on ubuntu on odroid-c1 you can't have mali-x11 and mali-fbdev installed at the same time 2016-01-04 19:55:01 +00:00
Jools Wills
903875ab97 use Kodi from the Raspbian repository (14.2 for wheezy, 15.1 for Jessie). Hopefully will be kept up to date. 2015-12-13 15:09:47 +00:00
Jools Wills
1675c3b7e1 rework the addPorts functionality, making it use addSystem and emulators.cfg like the rest of retropie. Although in most cases this doesn't add any benefit
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.
2015-11-07 14:30:03 +00:00
Jools Wills
b6c238e899 de-duplicate script creation /chown / chmod for ports with addPort function 2015-10-23 01:08:09 +01:00
Jools Wills
01f573dcd2 addPorts function to replace setESSytem duplication for ports 2015-10-22 19:23:09 +01:00
Jools Wills
d7f843d473 copyright sp / minor wording tweak 2015-10-12 00:09:22 +01:00
Florian
db0dd30692 CHG: Updated copyright information. 2015-10-11 21:03:16 +02:00
gizmo98
c961eeaf2f kodi: add hdmi cec support
https://github.com/RetroPie/RetroPie-Setup/issues/989
2015-09-30 19:44:49 +02:00
Jools Wills
ce8ede4def updated licence url (to RetroPie org). Remove . at end of licence url to avoid any confusion 2015-06-16 16:41:34 +01:00