Commit Graph

576 Commits

Author SHA1 Message Date
Andre Heider
a6991f0aba pkg-config: add support for multiple sysroots 2020-02-10 08:53:39 +01:00
MilhouseVH
3c2dce4256 tools/dashboard: stop creating empty Generic build dir 2020-01-26 19:34:22 +00:00
Matthias Reichl
80f1b14da0 Merge pull request #4092 from MilhouseVH/le10_generator
buildsystem: switch to dynamic scheduler
2020-01-21 00:13:51 +01:00
MilhouseVH
3e1497b98d tools/mtstats.py: fix percentage calc; fix typos 2020-01-16 16:28:52 +00:00
Andre Heider
978cdeb5a6 build: use xargs to collect packages' json info 2020-01-15 18:49:15 +00:00
MilhouseVH
748befe904 scripts/genbuildplan.py: drop --reorder; cleanup args handling, and other processing. 2020-01-15 18:49:14 +00:00
MilhouseVH
d234b73a23 Merge pull request #4082 from HiassofT/le10-unofficial-bump-fix
update_binary-addons: fix unofficial addon bumping
2020-01-08 16:10:51 +00:00
MilhouseVH
06e0928840 Merge pull request #3140 from InuSasha/features/build-root
buildsystem: add possibility to move the build paths outside the git …
2020-01-08 15:21:22 +00:00
Jonas Karlman
757a9beb66 tools/docker: reorder to match checkdeps 2020-01-06 11:31:22 +00:00
MilhouseVH
6774e7731c tools/mtstats.py: refactor to give more detailed/accurate breakdowns 2019-12-31 13:49:53 +00:00
Matthias Reichl
80e2910726 update_binary-addons: allow specifying branch for unofficial addons
Since Kodi Matrix hasn't branched yet and is still developed in
master the kodi branch name (master) and the branch name used in
addons (Matrix) doesn't match.

Allow to optionally specify the addon branch name on the command line,
eg "./update_binary-addons master Matrix".

This fixes visualization.pictureit bumps for master which picked
up the master branch of the addon instead of the Matrix branch.

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-12-29 19:10:54 +01:00
Matthias Reichl
6f7e62d67a update_binary-addons: prefer Kodi branch over HEAD for unofficial addons
This fixes bumping visualization.pictureit which has separate branches
for Leia and Matrix.

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-12-29 14:04:01 +01:00
MilhouseVH
6105f67998 post_install_addon: new package function 2019-11-17 20:50:31 +00:00
MilhouseVH
ab30d350cb tools/docker: add eoan support 2019-11-10 02:49:58 +00:00
MilhouseVH
b11aa6a6e8 tools/docker: remove obsolete and duplicate packages 2019-11-10 02:49:55 +00:00
MilhouseVH
6eb226b1fb buildsystem: use /usr/bin/python3 in scripts 2019-11-07 10:33:47 +00:00
Christian Hewitt
708dbf91dd Merge pull request #3935 from MilhouseVH/le10_checkunpack
tools/checkunpack: mass unpack tester
2019-10-29 09:37:48 +04:00
MilhouseVH
a28a9c9980 tools/checkunpack: mass unpack tester 2019-10-25 02:25:11 +01:00
MilhouseVH
8814747508 tools/fixlexcode.py: support embedded backtick comments as used by ffmpegx 2019-10-15 00:52:20 +01:00
MilhouseVH
0f2bb9d1bc tools/fixlecode.py: initial commit 2019-10-14 19:04:28 +01:00
MilhouseVH
4b568f8815 tools/dashboard: support THREADCOUNT=0 2019-08-10 22:33:11 +01:00
Matthias Reichl
db9b48abfe update_binary-addons: fix PKG_REV bump for unofficial addons
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-07-12 23:41:36 +02:00
Matthias Reichl
69a7660940 update_retroplayer-addons: drop loop over single item
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-07-12 16:29:02 +02:00
Matthias Reichl
38a137c923 addon update scripts: refactor repo fetching and package updating
Kodi binary and game addons always reference branches in the addon
repo. The only exception is the kodi-platform package which references
a githash.

This allows us to simplify remote repo fetch and tag / branch HEAD
resolving: we don't need named branches in the working copy but can
simply query remote branches or use a detached branch if we need the
actual contents.

With this change the same (out-of-tree) directory containing cloned
repos can be used to update both kodi Leia and master addon versions,
without needing another clone.

Also refactor the package update code, drop update_to_latest_tag from
common functions (it was only used by update_binary-addons,
update_retroplayer-addons needs slightly different logic) and use
update_pkg function. update_retroplayer-addons now also uses update_pkg
instead of duplicating nearly identical code.

Several variable names have been cleaned up to follow a common naming
pattern.

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-07-12 16:29:02 +02:00
Matthias Reichl
3e97dce6c5 addon update scripts: change PKG_REV update logic
When updating versioned / tagged addons reset PKG_REV to 1.

When updating unversioned / untagged addons always bump PKG_REV
as we don't know if the version has been changed or not.

If the "-b/--bump-pkg-rev" option is used PKG_REV will be bumped
on all addons that weren't updated. Use this to ensure all addons
will have a newer version than before.

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-07-12 16:12:39 +02:00