Skip to content
Snippets Groups Projects
Commit edc9dbbf authored by Rechi's avatar Rechi Committed by Marko Semet
Browse files

addons: only update to tags

parent c564e933
Branches
No related tags found
No related merge requests found
......@@ -3,3 +3,79 @@ build-dir/
.flatpak-builder/
repo
repo-binary-addons/
audiodecoder.2sf/
audiodecoder.asap/
audiodecoder.dumb/
audiodecoder.fluidsynth/
audiodecoder.gme/
audiodecoder.gsf/
audiodecoder.modplug/
audiodecoder.ncsf/
audiodecoder.nosefart/
audiodecoder.openmpt/
audiodecoder.organya/
audiodecoder.qsf/
audiodecoder.sidplay/
audiodecoder.snesapu/
audiodecoder.ssf/
audiodecoder.stsound/
audiodecoder.timidity/
audiodecoder.upse/
audiodecoder.usf/
audiodecoder.vgmstream/
audiodecoder.wsr/
audioencoder.flac/
audioencoder.lame/
audioencoder.vorbis/
audioencoder.wav/
game.libretro.2048/
game.libretro.mrboom/
game.libretro/
imagedecoder.mpo/
imagedecoder.raw/
inputstream.adaptive/
inputstream.rtmp/
peripheral.joystick/
peripheral.xarcade/
pvr.argustv/
pvr.demo/
pvr.dvblink/
pvr.dvbviewer/
pvr.filmon/
pvr.hdhomerun/
pvr.hts/
pvr.iptvsimple/
pvr.mediaportal.tvserver/
pvr.mythtv/
pvr.nextpvr/
pvr.njoy/
pvr.octonet/
pvr.pctv/
pvr.sledovanitv.cz/
pvr.stalker/
pvr.teleboy/
pvr.vbox/
pvr.vdr.vnsi/
pvr.vuplus/
pvr.wmc/
pvr.zattoo/
screensaver.asteroids/
screensaver.asterwave/
screensaver.biogenesis/
screensaver.cpblobs/
screensaver.greynetic/
screensaver.matrixtrails/
screensaver.pingpong/
screensaver.pyro/
screensaver.stars/
screensavers.rsxs/
vfs.libarchive/
vfs.rar/
vfs.sftp/
visualization.fishbmc/
visualization.goom/
visualization.projectm/
visualization.shadertoy/
visualization.spectrum/
visualization.waveform/
{
"name": "vfs.nfs",
"buildsystem": "cmake-ninja",
"sources": [
{
"type": "git",
"url": "https://github.com/notspiff/vfs.nfs",
"commit": "d9ede317f40923d21645ac6fa118127a70b83730"
}
]
}
{
"name": "vfs.sacd",
"buildsystem": "cmake-ninja",
"sources": [
{
"type": "git",
"url": "https://github.com/xbmc/vfs.sacd",
"commit": "4ade5fe422a2d08bb61f827e5382bc141456f6fd"
}
]
}
......@@ -14,14 +14,22 @@ ADDON_SRC_PREFIX = 'src'
def addon_manifest(def_dir, addon):
with open(os.path.join(def_dir, addon + '.txt'), 'r') as f:
a, r, v = f.read().strip().split(' ')
ls_remote = subprocess.check_output(['git', 'ls-remote', '-q', r, v])
c = ls_remote.decode().split('\t')[0]
if not os.path.exists(addon):
subprocess.check_output(['git', 'clone', '--branch={}'.format(v), '--single-branch', r])
else:
subprocess.check_output(['git', 'config', 'remote.origin.fetch', '+refs/heads/{v}:refs/remotes/origin/{v}'.format(v=v)], cwd=a)
subprocess.check_output(['git', 'fetch', '--all', '-p'], cwd=a)
t = subprocess.check_output(['git', 'describe', '--abbrev=0', '--tags', 'origin/{}'.format(v)], cwd=a)
t = t.decode().strip()
c = subprocess.check_output(['git', 'rev-parse', t], cwd=a)
c = c.decode().strip()
mf = {
'name': addon,
'buildsystem': 'cmake-ninja',
'sources': [{
'type': 'git',
'url': r,
'tag': t,
'commit': c,
}]
}
......
......@@ -186,9 +186,7 @@ modules:
- addons/screensaver.pingpong.json
- addons/screensaver.pyro.json
- addons/screensaver.stars.json
- addons/vfs.nfs.json
- addons/vfs.rar.json
- addons/vfs.sacd.json
- addons/visualization.fishbmc.json
- addons/visualization.shadertoy.json
- addons/visualization.spectrum.json
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment