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

MeterLib srclib

This commit is contained in:
David Black 2013-03-01 17:59:01 +00:00
parent 99a4ca87b0
commit 2c0f772efd

View File

@ -1568,6 +1568,17 @@ 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
raise BuildException('Unknown srclib ' + name)