mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-15 23:42:37 +03:00
Add srclib for musicbrainz
This commit is contained in:
parent
ce371d8b98
commit
a05c43d708
1 changed files with 10 additions and 0 deletions
|
@ -1687,6 +1687,16 @@ def getsrclib(spec, extlib_dir, sdk_path, basepath=False):
|
|||
vcs.gotorevision(ref)
|
||||
return sdir
|
||||
|
||||
if name == 'MusicBrainz-API':
|
||||
sdir = os.path.join(extlib_dir, 'MusicBrainz-API')
|
||||
vcs = getvcs('git',
|
||||
'https://github.com/jdamcd/musicbrainz-android', sdir, sdk_path)
|
||||
vcs.gotorevision(ref)
|
||||
libdir = os.path.join(sdir, 'api')
|
||||
if basepath:
|
||||
return sdir
|
||||
return libdir
|
||||
|
||||
raise BuildException('Unknown srclib ' + name)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue