1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-17 18:50:11 +02:00

Fix setup of ViewPagerTabs srclib

This commit is contained in:
Ciaran Gultnieks 2012-09-02 21:39:15 +01:00
parent f63d57b512
commit f3b90d8fa1

View File

@ -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')