diff --git a/fdroidserver/common.py b/fdroidserver/common.py index 68320b13..70ed471e 100644 --- a/fdroidserver/common.py +++ b/fdroidserver/common.py @@ -1582,6 +1582,17 @@ def getsrclib(spec, extlib_dir, sdk_path, basepath=False): raise BuildException('Error updating HoloColorPicker project') return sdir + if name == 'ColorPickerPreference': + sdir = os.path.join(extlib_dir, 'ColorPickerPreference') + vcs = getvcs('git', + 'https://github.com/frigus02/HoloColorPicker', 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 ColorPickerPreference project') + return sdir + if name == 'ChartLib': sdir = os.path.join(extlib_dir, 'ChartLib') vcs = getvcs('git',