1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-13 02:30:11 +01:00

Merge commit 'refs/merge-requests/113' of git://gitorious.org/f-droid/fdroidserver into merge-requests/113

This commit is contained in:
Ciaran Gultnieks 2013-03-08 13:07:52 +00:00
commit 2105d1eb22

View File

@ -1568,6 +1568,24 @@ def getsrclib(spec, extlib_dir, sdk_path, basepath=False):
raise BuildException('Error updating ChartLib project')
return sdir
if name == 'MeterLib':
sdir = os.path.join(extlib_dir, 'MeterLib')
vcs = getvcs('git',
'https://github.com/zaren678/HdhomerunSignalMeterLib', sdir, sdk_path)
vcs.gotorevision(ref)
if subprocess.call([os.path.join(sdk_path, 'tools', 'android'),
'update', 'project', '-p',
sdir]) != 0:
raise BuildException('Error updating MeterLib project')
return sdir
if name == 'SunriseSunset':
sdir = os.path.join(extlib_dir, 'SunriseSunset')
vcs = getvcs('git',
'https://github.com/mikereedell/sunrisesunsetlib-java', sdir, sdk_path)
vcs.gotorevision(ref)
return sdir
raise BuildException('Unknown srclib ' + name)