mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-15 23:42:37 +03:00
Add anysoftkeyboard-api as srclib
This commit is contained in:
parent
d3e2f9e5c4
commit
7a23c4e17f
1 changed files with 12 additions and 0 deletions
|
@ -853,6 +853,18 @@ def getsrclib(spec, extlib_dir, sdk_path):
|
|||
raise BuildException('Error updating NewQuickAction3D project')
|
||||
return sdir
|
||||
|
||||
if name == 'AnySoftKeyboard-API':
|
||||
sdir = os.path.join(extlib_dir, 'AnySoftKeyboard-API')
|
||||
vcs = getvcs('git',
|
||||
'https://github.com/AnySoftKeyboard/AnySoftKeyboard-API.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 AnySoftKeyboard-API project')
|
||||
return sdir
|
||||
|
||||
|
||||
raise BuildException('Unknown srclib ' + name)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue