The Matrix branch of kodi game repo currently switches game.libretro
from Matrix to retroplayer branch which results in flipping back
game.libretro from 19.0.3 (the latest version in the Matrix branch)
to 19.0.2 as that is the latest tag in that branch.
Exclude it from automatic updates and let's update it manually for now
to avoid those flip-backs.
Signed-off-by: Matthias Reichl <hias@horus.com>
kodi game repo incorrectly switched from the bundled version to
libretro repo which doesn't work as it uses git submodules.
Exclude it until that's fixed to avoid build breakage by incorrect
bumps.
Signed-off-by: Matthias Reichl <hias@horus.com>
Make sure we always return the latest tag in the branch and
only apply tag-suffix filtering if more than one tag exists.
This ensures we won't pick up an older (eg -Nexus) tag if newer
(eg -Matrix) tags are present - like it's currently the case with
game addons which only get "-Matrix" tags.
Signed-off-by: Matthias Reichl <hias@horus.com>
The game addons are currently being tagged with "-Matrix"
as suffix which doesn't match the "Nexus" branch of the binary
addons repo.
Allow overriding the tag suffix so we don't fall back to earlier
-Nexus tags of the addon.
usage eg: ./update_retroplayer-addons Nexus Matrix
Signed-off-by: Matthias Reichl <hias@horus.com>
Only accept standard github archive URLs and warn about other URLs
that aren't supported by the update script.
This avoids trashing PKG_VERSION with garbage, eg in libretro-mrboom
Signed-off-by: Matthias Reichl <hias@horus.com>
When environment variable GITHUB_API_TOKEN like in ${HOME}/.${DISTRO,,}/options
is assigned the script will fetch all data direct from Github instead
clone every single package.
game addons have (mostly?) switched from zip to tar.gz links,
add support for extracting the version info from these as well
to fix game addon updates.
Signed-off-by: Matthias Reichl <hias@horus.com>
Report which game addon packages are only present in LE but not in
the kodi game binary addon repo.
These packages are not automatically bumped by the script and should
either be removed from LE or added to the kodi game binary repo.
Signed-off-by: Matthias Reichl <hias@horus.com>
This script selectively deletes files out of the specified download
directory to prune source tarballs that don't correspond with the
current version of its package in the tree according to the set
PROJECT, DEVICE and ARCH.
The script is also capable of building a new SOURCES dir to combine
different combinations of PROJECT, DEVICE and ARCH tarballs. This is
to move out known good tarballs to a new directory, and to delete the
old SOURCES dir once all desired tarballs have been moved.
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
This script uses quilt to refresh patches, e.g.:
./tools/refresh-patches linux
It tries to detect already applied patches and removes those.
The rest is refreshed, which means updating the hunk line offsets and
removing junk (so that the result is the same for everyone).
This makes it easy to update packages with large patch sets. It's
usable as-is without any additional git clone to rebase patches.
Note that there're alot of patches in-tree that contain multiple patches
per file. While quilt doesn't have a problem applying those, the
resulting file is a combined patch.
vfs.sacd has been deprecated in favour of audiodecoder.sacd and
removed from official kodi binary repo.
Add it to the exclude list until we finally remove the package so
the update script won't switch the version from tag to githash.
Signed-off-by: Matthias Reichl <hias@horus.com>
If no tag with the kodi branch name can be found, fall back to the
latest tag in the branch.
This fixes ambiguity if both a -Leia and a -Matrix tag point to the
same githash.
Signed-off-by: Matthias Reichl <hias@horus.com>
This script creates or updates the ffmpeg patch files from
the various feature branches and record patch info (repo,
branch, gitrevs) where the changes came from in the commit
message.
The feature branch to process can be specified via command a
line argument, "all" will create/update all known branches.
By default the patches are updated to HEAD of the branches.
If only a single branch is processed the full githash to use
instead of HEAD can be specified as an optional second argument.
This can be used to drop some of the top-most commits in the
branch, eg if later changes cause issues.
The script has to be run in a local ffmpeg git tree. eg:
$ cd ~/ffmpeg-git
$ ~/libreelec-git/tools/ffmpeg/gen-patches.sh all
Additional git commit options (eg -s) can be set via the
GIT_COMMIT_ARGS environment variable
Signed-off-by: Matthias Reichl <hias@horus.com>
vfs.nfs has recently been removed from kodi's binary addon repo
and vfs.sacd is now included in LibreELEC
Signed-off-by: Matthias Reichl <hias@horus.com>
kodi-platform version is no longer managed in kodi's git tree and
needs to be updated manually, like p8-platform
Signed-off-by: Matthias Reichl <hias@horus.com>