mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-13 02:30:11 +01:00
ShowCaseView (Androzic fork thereof) srclib
This commit is contained in:
parent
48670b9e6c
commit
149cdff204
@ -1785,6 +1785,20 @@ def getsrclib(spec, extlib_dir, sdk_path, basepath=False):
|
||||
vcs.gotorevision(ref)
|
||||
return sdir
|
||||
|
||||
if name == 'ShowCase-Androzic':
|
||||
sdir = os.path.join(extlib_dir, 'ShowCase-Androzic')
|
||||
vcs = getvcs('git',
|
||||
'https://github.com/andreynovikov/ShowcaseView', sdir, sdk_path)
|
||||
vcs.gotorevision(ref)
|
||||
libdir = os.path.join(sdir, 'library')
|
||||
if subprocess.call([os.path.join(sdk_path, 'tools', 'android'),
|
||||
'update', 'project', '-p',
|
||||
libdir]) != 0:
|
||||
raise BuildException('Error updating ShowCase project')
|
||||
if basepath:
|
||||
return sdir
|
||||
return libdir
|
||||
|
||||
raise BuildException('Unknown srclib ' + name)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user