Commit Graph

484 Commits

Author SHA1 Message Date
Rudi Heitbaum
7918d5e0ae tools/mkpkg/update_common_functions: replace wget with curl for fetching archives 2025-05-15 11:29:39 +00:00
Rudi Heitbaum
f91c451d1c update_adafruit-libraries: drop now removed adafruit-libraries
follow on from cleanup in e65a0060e7
2024-09-08 10:21:14 +00:00
CvH
eaf308634e update_binary-addons: fix error at exit 2024-08-24 17:37:59 +02:00
Rudi Heitbaum
5b2be44a01 update_binary-addons: add -x option to skip no tag updates
without using the -x option, all binary addons are updated to the
latest hash is the branch if there are no tags set.

using the -x option, the binary addons are only updated to a newer
tag. when only a hash is present do not update the PKG_VERSION.

existing default behaviour of the script has not changed.

Co-authored-by: Matthias Reichl <github@hias.horus.com>
2024-08-17 09:21:20 +00:00
CvH
7f543e3c98 cleanup scripts: tools/ 2024-07-06 13:09:13 +02:00
Matthias Reichl
efc559a3dd mkpkg_bcm2835-driver: refactor and rename to mkpkg_bcm2835-bootloader
The old driver and tools are finally gone, only the firmware files
are important from the rpi firmware repo.

Signed-off-by: Matthias Reichl <hias@horus.com>
2024-02-13 16:55:58 +01:00
Garrett Brown
e7ab0e735b update_retroplayer-addons: remove excluded addons 2023-04-10 16:12:06 +02:00
Matthias Reichl
02121b7274 update_retroplayer-addons: make script more robust
Only auto-update libretro packages with explicit githash and handle
repository / PKG_URL changes automatically.

Signed-off-by: Matthias Reichl <hias@horus.com>
2023-01-27 17:14:28 +01:00
Matthias Reichl
c459090348 update_retroplayer-addons: temporarily add picodrive to exclude list
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>
2022-11-12 16:32:54 +01:00
Matthias Reichl
2176284b6e update_retroplayer-addons: improve tag resolution
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>
2022-01-10 19:14:04 +01:00
Matthias Reichl
a811118efe update_retroplayer-addons: allow overriding the tag suffix
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>
2022-01-10 19:14:04 +01:00
Matthias Reichl
6d6bab32bd update_retroplayer-addons: do stricter libretro version checks
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>
2022-01-10 19:14:04 +01:00
Portisch
b6da5ced51 update scripts: rework tag fetching with GitHub API
Use GitHub GraphQL API to sort fetched tags by date instead by version 
number.
2021-10-13 11:30:33 +02:00
Portisch
eecccee3c7 update_binary-addons: remove ADDONS_GIT_DIR if delete git dirs is set 2021-10-04 11:33:02 +02:00
Portisch
bec6d17054 update binary addons scripts: implement GITHUB_API_TOKEN alternative
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.
2021-10-04 11:31:18 +02:00
Matthias Reichl
18488b0f0e update_retroplayer-addons: support tar.gz archive links
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>
2021-09-24 17:21:53 +02:00
Portisch
32adf7fe45 update_common_functions: allow assigning PROJECT and ARCH values 2021-09-22 12:45:44 +02:00
heitbaum
ce60e6adeb soil: remove package 2021-07-29 23:02:40 +10:00
Christian Hewitt
fe881fa7d3 Merge pull request #5165 from CvH/10.0/dvb-driver
DVB Addons Update
2021-03-08 16:44:25 +04:00
Matthias Reichl
745dd0cad3 remove tools/mkpkg/mkpkg_libretro-ppsspp
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-02-28 09:17:31 +01:00
CvH
9e1e24e1c4 mkpkg_pvr: update cc to new url 2021-02-20 16:42:26 +01:00
Matthias Reichl
255bea76b4 update_retroplayer-addons: check for orphaned addon packages
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>
2021-02-17 11:10:28 +01:00
Matthias Reichl
f5dff7ab01 tools/mkpkg/update_binary-addons: exclude vfs.sacd
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>
2021-01-16 09:58:41 +01:00
Matthias Reichl
99b6f9c94e update_retroplayer-addons: match lastest tag with kodi branch in name
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>
2020-10-19 23:19:38 +02:00
Matthias Reichl
0a1bd36597 update_binary-addons: drop vfs.nfs and vfs.sacd from exclude list
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>
2020-04-20 13:24:34 +02:00