455 Commits

Author SHA1 Message Date
Matthias Reichl
d40e6da679 update_binary-addons: fix PKG_REV bump for unofficial addons
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-07-13 16:04:37 +02:00
Matthias Reichl
02781b9cbf update_retroplayer-addons: drop loop over single item
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-07-13 16:04:37 +02:00
Matthias Reichl
2ae4537216 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-13 16:04:37 +02:00
Matthias Reichl
43e58805d7 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-13 16:04:37 +02:00
Matthias Reichl
212c181de6 addon update scripts: set modes via command line options
Use command line options to select PKG_REV bump and deleting
cloned git dis after update. git dirs are now kept by default,
deleting them has to be explicitly enabled via "-d".

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-07-13 16:04:37 +02:00
kszaq
a3f6e5a14a tools: drop mkpkg_linux-amlogic 2019-06-19 19:06:43 +01:00
chbmb
263d3b50ea
mkpkg_media_build
CrazyCat `linux_media` repository no longer exists on [Github](https://github.com/crazycat69/linux_media) but seems to have migrated and be active on [bitbucket](https://bitbucket.org/CrazyCat/linux_media).
2019-04-07 21:24:37 +01:00
MilhouseVH
d4f6326142 packages: align source code licence usage with project licence 2019-03-26 18:05:50 +00:00
MilhouseVH
e691b3b693 packages: correct original copyright 2019-03-26 16:43:42 +00:00
Matthias Reichl
d209e704ab update_retroplayer-addons: exclude non-working game addons
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-03-02 15:59:13 +01:00
Matthias Reichl
a65908b1d7 update_binary-addons: exclude vfs.nfs from updates
vfs.nfs isn't released yet

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-03-02 11:59:23 +01:00
Matthias Reichl
9c8860c5bc update_binary-addons: make missing addon check work again
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-03-02 11:59:11 +01:00
Matthias Reichl
3d60aba791 update_binary-addons: remove p8-platform bump
LibreELEC uses a locally managed, newer version of p8-platform

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-03-02 11:18:02 +01:00
Matthias Reichl
3f2eb80d8f update_binary-addons: exclude vfs.sacd from updates
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-03-02 11:18:02 +01:00
Matthias Reichl
8fb7fbbaf7 update_retroplayer-addons: exclude game.netplay from updates
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-03-02 11:18:02 +01:00
Matthias Reichl
78259e03a0 update addons: add possibility to exclude packages in updates
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-03-02 11:18:02 +01:00
Matthias Reichl
673f7d28a2 update_retroplayer-addons: don't bump PKG_REV on game addon bumps
As we are using tags, and the addon version should match the tag
version bumping PKG_REV on kodi game addon updates isn't needed.

As with update_binary-addons bumping PKG_REV may be wanted as
we are switching from HEAD to tags and can be enabled by setting
the PKG_BUMP_REV environment variable.

PKG_REV will also be bumped the script is run with "-f" as before.

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-03-02 11:17:19 +01:00
Matthias Reichl
8df1fcbfeb update_retroplayer-addons: switch to using tags
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-03-02 11:10:38 +01:00
Matthias Reichl
8e921e37a9 factor out common binary/retroplayer addon update functions
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-03-02 11:06:15 +01:00
Matthias Reichl
ca9897e76a update_retroplayer-addons: fix git directory clash
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-02-28 20:38:12 +01:00
Matthias Reichl
de946a4c5a update_binary-addons: fix unquoted path variables
also change missing tag ERROR to WARNING

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-02-28 20:37:25 +01:00
Matthias Reichl
4c170f5b0b update_binary-addons: add options to keep git dirs and bump PKG_REVs
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-02-28 17:44:16 +01:00
Matthias Reichl
d0cc97cdd6 update_binary-addons: update kodi addons to latest tag
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-02-28 17:40:38 +01:00
Matthias Reichl
dc9ceda279 update_retroplayer-addons: handle all game.* addons
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-01-27 14:04:44 +01:00
Matthias Reichl
7b11ece9b4 update_retroplayer-addons: colorize warnings and errors
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-01-27 14:04:44 +01:00
Matthias Reichl
9a6c8520a4 update_retroplayer-addons: sync libretro core versions with kodi
Instead of bumping libretro cores to their current master version
use the githash from depends file in kodi game addon.

This ensures we ship the same libretro core versions as Kodi.

When a kodi game addon is bumped the libretro package is automatically
bumped, too.

If the script is invoked with the "-f" option all libretro packages
will be synced to the version specified in the kodi game addon.

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-01-26 17:43:51 +01:00
CvH
765e99cfd6 update_retroplayer-addons: use default branch instead of master 2018-11-17 16:48:05 +01:00
CvH
e8742188fb
Merge pull request #3052 from lrusak/retroplayer-script
update_retroplayer-addons: use git ls-remote to avoid cloning the ent…
2018-11-17 16:46:47 +01:00
CvH
74b0c68e9f mkpkg_libretro-ppsspp: don't init all submodules 2018-10-27 19:19:56 +02:00
Lukas Rusak
04e382512b
update_retroplayer-addons: use git ls-remote to avoid cloning the entire repo 2018-10-23 16:22:12 -07:00
Ian Leonard
a36c818ae4 tools/mkpkg_lockdev: drop; lockdev is no more
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-10-05 20:15:10 +00:00
MilhouseVH
56b22b0677 mkpkg: use full rev 2018-08-25 05:15:00 +01:00
Sascha Kuehndel (InuSasha)
511fe30128
adafruit-libraries: update same packages and switch to full git hash 2018-08-21 10:05:11 +02:00
MilhouseVH
2ffe2df9c0 update_binary-addons: use full rev 2018-08-18 09:52:44 +01:00
CvH
ec9319ec8d spdx: tools/ 2018-07-17 23:58:49 +02:00
CvH
8d69a49d80 mkpkg_libretro-ppsspp: update to new repo 2018-07-04 14:17:23 +02:00
CvH
987dc53579 retroplayer: update emulation packages 2018-07-04 14:17:23 +02:00
MilhouseVH
6b9155cf8b tools: source packages reliably 2018-02-01 02:59:57 +00:00
cvh
48c14e2124 dvb-addons: added mkpkg 2017-12-14 11:21:58 +01:00
Lukas Rusak
d32afc8d86
mkpkg_linux-imx6: remove script 2017-11-11 09:14:19 -08:00
Lukas Rusak
6ae99dcc6b
tools/mkpkg/update_retroplayer-addons: use single branch 2017-09-05 10:35:29 -07:00
MilhouseVH
3bad9169dc emulation: drop obsolete scripts 2017-08-07 18:27:09 +01:00
MilhouseVH
adfefe15f1 update_retroplayer-addons: add sha256 support 2017-08-07 18:27:09 +01:00
MilhouseVH
355be18dbf update_binary-addons: add sha256 support 2017-08-07 18:27:09 +01:00
Sascha Kuehndel (InuSasha)
bc55354c11
adafruit-libraries: update all subpackages
- add script for automatic update
- fix build of DHT package
2017-07-19 08:13:12 +02:00
MilhouseVH
608dd132e3 update_binary-addons: add diagnostic message for resolved hashes 2017-07-07 17:37:22 +01:00
MilhouseVH
bc2553b363
update_binary-addons: make script branch aware 2017-05-27 14:44:19 -07:00
MilhouseVH
3abcbb3f5f tools/update_binary-addons: ignore game.* addons 2017-05-09 11:09:45 +01:00
MilhouseVH
e66832a06a Merge pull request #1294 from lrusak/kodi-18-retroplayer
add reworked retroplayer add-ons script
2017-02-07 22:34:51 +00:00
Lukas Rusak
e9723489df
rework old retroplayer scripts 2017-02-07 14:07:06 -08:00