summaryrefslogtreecommitdiff
path: root/tools/dev_env_setup/playbooks/setup_jhbuild.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'tools/dev_env_setup/playbooks/setup_jhbuild.yaml')
-rw-r--r--tools/dev_env_setup/playbooks/setup_jhbuild.yaml34
1 files changed, 34 insertions, 0 deletions
diff --git a/tools/dev_env_setup/playbooks/setup_jhbuild.yaml b/tools/dev_env_setup/playbooks/setup_jhbuild.yaml
new file mode 100644
index 0000000..45a9df7
--- /dev/null
+++ b/tools/dev_env_setup/playbooks/setup_jhbuild.yaml
@@ -0,0 +1,34 @@
+---
+# vim:ff=unix ts=2 sw=2 ai expandtab
+-
+ hosts: dev_machine
+
+ sudo: False
+
+ vars_files:
+ - "../default_variables.yaml"
+
+ tasks:
+ - name: "Ensuring that git is installed"
+ apt: name=git update_cache=true cache_valid_time=259200
+
+ - name: "Creating checkout directory"
+ file: path=~/checkout state=directory mode=755
+
+ - name: "Cloning jhbuild"
+ git: repo=git://git.gnome.org/jhbuild
+ dest=~/checkout/jhbuild
+
+ - name: "Installing jhbuild - autogen"
+ shell: cd ~/checkout/jhbuild && ./autogen.sh
+
+ - name: "Installing jhbuild - make"
+ shell: cd ~/checkout/jhbuild && make
+
+ - name: "Installing jhbuild - make install"
+ shell: cd ~/checkout/jhbuild && make install
+
+ - name: "Creating glib schemas dir"
+ file: path=~/install/share/glib-2.0/schemas state=directory mode=755
+
+ - include: setup_default_ssh_key.yaml