mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-09 00:40:11 +01:00
Add srclib for musicbrainz
This commit is contained in:
parent
ce371d8b98
commit
a05c43d708
@ -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…
Reference in New Issue
Block a user