mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-09 17:00:12 +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)
|
vcs.gotorevision(ref)
|
||||||
return sdir
|
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)
|
raise BuildException('Unknown srclib ' + name)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user