chiark / gitweb /
Some new srclibs
authorDavid Black <david8black@gmail.com>
Mon, 17 Sep 2012 11:47:44 +0000 (12:47 +0100)
committerDavid Black <david8black@gmail.com>
Mon, 17 Sep 2012 11:47:44 +0000 (12:47 +0100)
fdroidserver/common.py

index 587b2c2c840336a07f9a44930cfaf214a271f0fe..563ec096fde4a6517eb1bac3b07a61f1d5cb9e23 100644 (file)
@@ -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)