mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-15 23:42:37 +03:00
Fix setup of ViewPagerTabs srclib
This commit is contained in:
parent
f63d57b512
commit
f3b90d8fa1
1 changed files with 4 additions and 0 deletions
|
@ -732,6 +732,10 @@ def getsrclib(spec, extlib_dir):
|
|||
vcs = getvcs('git',
|
||||
'https://github.com/astuetz/android-viewpagertabs.git', sdir)
|
||||
vcs.gotorevision(ref)
|
||||
pp = open(os.path.join(sdir, 'project.properties'), 'w')
|
||||
pp.write('android.library=true\n')
|
||||
pp.write('target=android-15\n')
|
||||
pp.close()
|
||||
if subprocess.call(['android', 'update', 'project', '-p',
|
||||
sdir]) != 0:
|
||||
raise BuildException('Error updating ViewPagerTabs project')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue