chiark / gitweb /
Add Otr4j srclib
authorKevin Everets <kevin@everets.org>
Wed, 30 Jan 2013 19:49:21 +0000 (14:49 -0500)
committerKevin Everets <kevin@everets.org>
Wed, 30 Jan 2013 19:49:21 +0000 (14:49 -0500)
fdroidserver/common.py

index e0846f99a267809f820e0cde9ffcbac4823e4c66..5186c170750d6b666ba2e62d7399096eae93841f 100644 (file)
@@ -1511,6 +1511,13 @@ def getsrclib(spec, extlib_dir, sdk_path, basepath=False):
             raise BuildException('Error updating AndrozicLib project')
         return sdir
 
+    if name == 'Otr4j':
+       sdir = os.path.join(extlib_dir, 'Otr4j')
+        vcs = getvcs('git',
+           'https://github.com/redsolution/otr4j.git', sdir, sdk_path)
+        vcs.gotorevision(ref)
+        return sdir
+
     raise BuildException('Unknown srclib ' + name)