From 9c186e63e71ea79609d460a03df8327b699c7dbf Mon Sep 17 00:00:00 2001 From: Daniel Narvaez Date: Fri, 23 Nov 2012 17:40:21 +0000 Subject: Add metacity We need a patch in the latest version for journal --- (limited to 'devbot') diff --git a/devbot/build.py b/devbot/build.py index 78ad400..d6f42fb 100644 --- a/devbot/build.py +++ b/devbot/build.py @@ -82,9 +82,12 @@ def build_autotools(module): jobs = multiprocessing.cpu_count() * 2 - command.run([autogen, - "--prefix", config.install_dir, - "--libdir", config.lib_dir]) + args = [autogen, + "--prefix", config.install_dir, + "--libdir", config.lib_dir] + args.extend(module.options) + + command.run(args) command.run(["make", "-j", "%d" % jobs]) command.run(["make", "install"]) diff --git a/devbot/config.py b/devbot/config.py index 8fbb930..aabacb3 100644 --- a/devbot/config.py +++ b/devbot/config.py @@ -25,6 +25,7 @@ class Module: self.repo = info["repo"] self.branch = info.get("branch", "master") self.auto_install = info.get("auto-install", False) + self.options = info.get("options", []) if get_pref("BUILD_IN_SOURCE"): self.out_of_source = False -- cgit v0.9.1