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

QuickdicUtils srclib

This commit is contained in:
David Black 2013-04-24 18:25:37 +01:00
parent 7c5a9793ad
commit 117b3c2400

View File

@ -1759,6 +1759,17 @@ def getsrclib(spec, extlib_dir, sdk_path, basepath=False):
return sdir
return libdir
if name == 'QuickdicUtils':
sdir = os.path.join(extlib_dir, 'QuickdicUtils')
vcs = getvcs('git',
'https://code.google.com/p/quickdic-dictionary.util', 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 QuickdicUtils project')
return sdir
raise BuildException('Unknown srclib ' + name)