From acadbdbaa96d7189bda6f3ef41fed6fb3fa0b533 Mon Sep 17 00:00:00 2001 From: David Black Date: Sun, 7 Apr 2013 19:39:53 +0100 Subject: [PATCH] XChange srclib --- fdroidserver/common.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/fdroidserver/common.py b/fdroidserver/common.py index 9a43045b..80e5f46a 100644 --- a/fdroidserver/common.py +++ b/fdroidserver/common.py @@ -1654,6 +1654,13 @@ def getsrclib(spec, extlib_dir, sdk_path, basepath=False): return sdir return libdir + elif name == 'XChange': + sdir = os.path.join(extlib_dir, 'XChange') + vcs = getvcs('git', + 'https://github.com/timmolter/XChange', sdir, sdk_path) + vcs.gotorevision(ref) + return sdir + raise BuildException('Unknown srclib ' + name)