summaryrefslogtreecommitdiff
path: root/tools/dev_env_setup/playbooks/setup_jhbuild.yaml
blob: a8749a69f1fe1474f86099d6497f05619ad5e9cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
---
# vim:ff=unix ts=2 sw=2 ai expandtab

- 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
  sudo: False

- name: "Cloning jhbuild"
  git: repo=git://git.gnome.org/jhbuild
       dest=~/checkout/jhbuild
  sudo: False

- name: "Installing jhbuild - autogen"
  shell: cd ~/checkout/jhbuild && ./autogen.sh
  sudo: False

- name: "Installing jhbuild - make"
  shell: cd ~/checkout/jhbuild && make 
  sudo: False

- name: "Installing jhbuild - make install"
  shell: cd ~/checkout/jhbuild && make install
  sudo: False

- name: "Creating glib schemas dir"
  file: path=~/install/share/glib-2.0/schemas state=directory mode=755
  sudo: False


- name: "Creating /opt/gnome directory"
  file: path=/opt/gnome state=directory mode=777

- name: "Updating apt-file cache"
  shell: apt-file update


- name: "Installing jhbuild dependencies - this may take a very long time"
  shell: executable=/bin/bash echo -e "y\n" | ~/.local/bin/jhbuild sysdeps --install
  sudo: False

- name: "Installing auth key"
  template: src=../templates/.jhbuildrc-auth.j2 dest=~/.jhbuildrc-auth
  sudo: False

- name: "Cloning relevant modules - this will take a very long time - use htop and watch for git processes"
  shell: executable=/bin/bash ~/.local/bin/jhbuild update endless-apps
  sudo: False