From d3e2f9e5c4dcb47b30d9210b1ab22dfaa8337e1d Mon Sep 17 00:00:00 2001 From: David Black Date: Mon, 17 Sep 2012 12:47:44 +0100 Subject: [PATCH] Some new srclibs --- fdroidserver/common.py | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/fdroidserver/common.py b/fdroidserver/common.py index 587b2c2c..563ec096 100644 --- a/fdroidserver/common.py +++ b/fdroidserver/common.py @@ -820,7 +820,7 @@ def getsrclib(spec, extlib_dir, sdk_path): raise BuildException("Maven build failed for BitcoinJWallet srclib") return sdir - if name == 'Android-Color-Picker': + if name == 'Color-Picker': sdir = os.path.join(extlib_dir, 'Color-Picker') vcs = getvcs('git', 'https://github.com/brk3/android-color-picker.git', sdir, sdk_path) @@ -831,6 +831,28 @@ def getsrclib(spec, extlib_dir, sdk_path): raise BuildException('Error updating Color-Picker project') return sdir + if name == 'Processing-Multitouch': + sdir = os.path.join(extlib_dir, 'Processing-Multitouch') + vcs = getvcs('git', + 'https://github.com/rjmarsan/AndroidProcessingMultitouch.git', sdir, sdk_path) + vcs.gotorevision(ref) + if subprocess.call([os.path.join(sdk_path, 'tools', 'android'), + 'update', 'project', '-p', + sdir]) != 0: + raise BuildException('Error updating Multitouch project') + return sdir + + if name == 'NewQuickAction3D': + sdir = os.path.join(extlib_dir, 'NewQuickAction3D') + vcs = getvcs('git', + 'https://github.com/alt236/NewQuickAction3D.git', sdir, sdk_path) + vcs.gotorevision(ref) + if subprocess.call([os.path.join(sdk_path, 'tools', 'android'), + 'update', 'project', '-p', + sdir]) != 0: + raise BuildException('Error updating NewQuickAction3D project') + return sdir + raise BuildException('Unknown srclib ' + name)