627 Commits

Author SHA1 Message Date
Matthias Reichl
b9dc1d390b 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 19:50:19 +01:00
Matthias Reichl
a14b5dbf17 update_retroplayer-addons: temporarily exclude game.libretro
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>
2022-11-13 01:08:29 +01:00
Matthias Reichl
c7945fd286 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 23:11:07 +01:00
heitbaum
1dd7f1bc24 tools: docker: focal: update to using gcc-10 2022-05-16 11:22:29 +00:00
Ian Leonard
848a36ff82 Dockerfiles: add zstd to docker dependencies
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2022-05-16 11:22:29 +00:00
Matthias Reichl
da6765db4f 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 20:20:07 +01:00
Matthias Reichl
aef5e1af14 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 20:20:06 +01:00
Matthias Reichl
e69ce148be 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 20:20:06 +01:00
Portisch
adbfe62cbe update scripts: rework tag fetching with GitHub API
Use GitHub GraphQL API to sort fetched tags by date instead by version 
number.
2022-01-10 20:19:24 +01:00
Portisch
7a95a37153 update_binary-addons: remove ADDONS_GIT_DIR if delete git dirs is set 2022-01-10 20:17:45 +01:00
Portisch
3d59376eda 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.
2022-01-10 20:17:45 +01:00
Matthias Reichl
e75a88aa4c 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>
2022-01-10 20:17:45 +01:00
Portisch
477b1fd9d3 update_common_functions: allow assigning PROJECT and ARCH values 2022-01-10 20:17:45 +01:00
Matthias Reichl
38bdeb0532 ffmpeg gen-patches.sh: use jc's test/4.3.2/rpi_main branch
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-08-26 12:40:53 +02:00
heitbaum
ce60e6adeb soil: remove package 2021-07-29 23:02:40 +10:00
CvH
13403ab109
Merge pull request #5448 from knaerzche/fix-patch-arch
tools: refresh-patches: fix PATCH_ARCH
2021-07-03 19:34:41 +02:00
Matthias Reichl
2aa49f449a ffmpeg gen-patches.sh: use jc's jc/dev/4.3.2/clean_3 branch
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-06-28 20:26:02 +02:00
Alex Bee
44b53d2ef8 tools: refresh-patches: fix PATCH_ARCH 2021-06-22 18:51:37 +02:00
CvH
bb1ac7462b
Merge pull request #5309 from heitbaum/td
tools/docker: add sid, groovy, hirsute containers
2021-04-22 20:57:25 +02:00
heitbaum
c634225faa tools/docker: delete xenial container 2021-04-13 22:29:46 +00:00
heitbaum
98fec932b5 tools/docker: update readme 2021-04-13 22:29:38 +00:00
Jernej Skrabec
0d8e7898ac tools/ffmpeg: change v4l2-request repo url 2021-04-11 11:49:07 +02:00
heitbaum
087a414d45 tools/docker: add groovy container 2021-04-10 08:31:20 +00:00
heitbaum
379bbb0752 tools/docker: add hirsute container 2021-04-10 08:31:20 +00:00
heitbaum
3f1cc498c7 tools/docker: add sid container 2021-04-10 08:31:19 +00: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
CvH
16f32a6a23
Merge pull request #5044 from lrusak/linux-required-config
linux: check for required config options before building
2021-03-05 18:11:11 +01: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
Lukas Rusak
d33beeefed
scripts: add adjust_kernel_config to help adjust kernel options 2021-02-24 17:29:41 -08:00
Lukas Rusak
c1054355a1
scripts: add check_kernel_config to help enable kernel options per distro 2021-02-24 17:29:33 -08: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
Ian Leonard
c3e04b1a9d tools/packages-checker: initial commit
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-01-27 00:09:36 +00:00
Ian Leonard
5780d2a58a tools/download-cleaner: add new tool
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>
2021-01-18 19:42:24 +00:00
Andre Heider
804807bed2 tools: add script to refresh patches
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.
2021-01-17 12:26:11 +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
e2ca4f5e9d ffmpeg: update rpi patch
Patch created using revisions 922f5ee..fbcd774
from branch dev/4.3.1/drm_prime_1 of https://github.com/jc-kynesim/rpi-ffmpeg
2020-12-19 10:40:44 +01:00
Jonas Karlman
69fae8524b ffmpeg: update v4l2-request patch
Patch created using revisions 922f5ee..fa7165e
from branch v4l2-request-hwaccel-4.3.1 of https://github.com/Kwiboo/FFmpeg
2020-10-21 23:07:21 +02: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
CvH
474ee0a7c4
Merge pull request #4481 from HiassofT/le10-ffmpeg43-patches
ffmpeg: update to 4.3, rework patchset and option handling
2020-07-19 09:51:04 +02:00
Ian Leonard
9566ef9c23 docker/eoan: remove as Eoan is EOL
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2020-07-14 17:09:26 +00:00
Matthias Reichl
1ff4329545 tools/ffmpeg: add gen-patches.sh script
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>
2020-07-09 16:40:58 +02:00
Jonas Karlman
d7312385e0 tools/docker: update readme 2020-05-30 11:18:27 +00:00
Jonas Karlman
b1f259b9f3 tools/docker: add focal container 2020-05-30 10:18:24 +00:00
Jonas Karlman
73ac19dc70 tools/docker: add buster container 2020-05-29 20:57:32 +00:00
Jonas Karlman
9f0c84db12 tools/docker: add libparse-yapp-perl package 2020-05-29 20:57:09 +00: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
Matthias Reichl
4dbd3c5196 update_binary-addons: drop kodi-platform bump
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>
2020-03-13 10:51:34 +01:00
MilhouseVH
653298b18a buildsystem: allow onexit trap to be selectively ignored 2020-02-19 10:24:15 +00:00
CvH
e0f57797fe
Merge pull request #4163 from HiassofT/le10-mkpkg-retroplayer
update_retroplayer-addons: stop defaulting to retroplayer branch
2020-02-18 17:00:37 +01:00