Use upstream ffmpeg as the base version and add support for creating
kodi ffmpeg fork patchsets.
Downstream patchsets now can set their base repo/version if they aren't
based on upstream ffmpeg.
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>
update the `docker run` command to set `--log-driver none` otherwise the logs go through to journald
observed the journald logs during the testing of systemd v250
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.