mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 15:00:30 +03:00
Merge commit 'refs/merge-requests/111' of git://gitorious.org/f-droid/fdroidserver into merge-requests/111
This commit is contained in:
commit
a30aa01253
1 changed files with 36 additions and 0 deletions
|
|
@ -1532,6 +1532,42 @@ def getsrclib(spec, extlib_dir, sdk_path, basepath=False):
|
||||||
vcs.gotorevision(ref)
|
vcs.gotorevision(ref)
|
||||||
return sdir
|
return sdir
|
||||||
|
|
||||||
|
if name == 'KoushWidgets':
|
||||||
|
sdir = os.path.join(extlib_dir, 'KoushWidgets')
|
||||||
|
vcs = getvcs('git',
|
||||||
|
'https://github.com/koush/Widgets', sdir, sdk_path)
|
||||||
|
vcs.gotorevision(ref)
|
||||||
|
libdir = os.path.join(sdir, 'Widgets')
|
||||||
|
if subprocess.call([os.path.join(sdk_path, 'tools', 'android'),
|
||||||
|
'update', 'project', '-p',
|
||||||
|
libdir]) != 0:
|
||||||
|
raise BuildException('Error updating KoushWidgets project')
|
||||||
|
if basepath:
|
||||||
|
return sdir
|
||||||
|
return libdir
|
||||||
|
|
||||||
|
if name == 'HoloColorPicker':
|
||||||
|
sdir = os.path.join(extlib_dir, 'HoloColorPicker')
|
||||||
|
vcs = getvcs('git',
|
||||||
|
'https://github.com/frigus02/HoloColorPicker', 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 HoloColorPicker project')
|
||||||
|
return sdir
|
||||||
|
|
||||||
|
if name == 'ChartLib':
|
||||||
|
sdir = os.path.join(extlib_dir, 'ChartLib')
|
||||||
|
vcs = getvcs('git',
|
||||||
|
'https://bitbucket.org/frigus02/chartlib', 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 ChartLib project')
|
||||||
|
return sdir
|
||||||
|
|
||||||
raise BuildException('Unknown srclib ' + name)
|
raise BuildException('Unknown srclib ' + name)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue