1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-17 10:40:12 +02:00

XChange srclib

This commit is contained in:
David Black 2013-04-07 19:39:53 +01:00
parent d54031294a
commit acadbdbaa9

View File

@ -1654,6 +1654,13 @@ def getsrclib(spec, extlib_dir, sdk_path, basepath=False):
return sdir
return libdir
elif name == 'XChange':
sdir = os.path.join(extlib_dir, 'XChange')
vcs = getvcs('git',
'https://github.com/timmolter/XChange', sdir, sdk_path)
vcs.gotorevision(ref)
return sdir
raise BuildException('Unknown srclib ' + name)