mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-15 23:42:37 +03:00
OsmAnd srclibs
This commit is contained in:
parent
6ba6a32559
commit
a363d2ea46
1 changed files with 17 additions and 0 deletions
|
@ -1475,6 +1475,23 @@ def getsrclib(spec, extlib_dir, sdk_path, basepath=False):
|
|||
os.remove(os.path.join(sdir, 'android.jar'))
|
||||
return sdir
|
||||
|
||||
if name == 'OsmAnd-tools':
|
||||
sdir = os.path.join(extlib_dir, 'OsmAnd-tools')
|
||||
vcs = getvcs('git',
|
||||
'https://github.com/osmandapp/OsmAnd-tools', sdir, sdk_path)
|
||||
vcs.gotorevision(ref)
|
||||
libdir = os.path.join(sdir, 'OsmAndMapCreator')
|
||||
if basepath:
|
||||
return sdir
|
||||
return libdir
|
||||
|
||||
if name == 'OsmAnd-core':
|
||||
sdir = os.path.join(extlib_dir, 'OsmAnd-core')
|
||||
vcs = getvcs('git',
|
||||
'https://github.com/osmandapp/OsmAnd-core', sdir, sdk_path)
|
||||
vcs.gotorevision(ref)
|
||||
return sdir
|
||||
|
||||
raise BuildException('Unknown srclib ' + name)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue