mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-15 15:32:30 +03:00
one srclib, k9Mail via jberkel
This commit is contained in:
parent
9b82009870
commit
6d9982dc00
1 changed files with 11 additions and 0 deletions
|
@ -1448,6 +1448,17 @@ def getsrclib(spec, extlib_dir, sdk_path, basepath=False):
|
|||
return sdir
|
||||
return libdir
|
||||
|
||||
if name == 'K9Mail-XOAuth':
|
||||
sdir = os.path.join(extlib_dir, 'K9Mail-XOAUTH')
|
||||
vcs = getvcs('git',
|
||||
'https://github.com/jberkel/k9mail.git', 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 KMail-XOAUTH project')
|
||||
return sdir
|
||||
|
||||
raise BuildException('Unknown srclib ' + name)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue