Mostly complete, still needs cleanup

This commit is contained in:
Jonathan Cremin 2020-05-19 13:49:30 +01:00
parent a7eaa7dbfb
commit e17f84ad8a
18 changed files with 359 additions and 49 deletions

View file

@ -0,0 +1,48 @@
---
- name: Add luminance deps
apt:
name:
- autoconf
- autogen
- build-essential
- python-gi-dev
- libgtk-3-dev
- gsettings-desktop-schemas-dev
- libgnome-desktop-3-dev
- libxml2-utils
state: present
become: yes
- name: pip3 install phue
pip:
name: phue
state: present
executable: /usr/bin/pip3
become: yes
- name: clone luminance fork
git:
repo: https://github.com/jonbulica99/luminance.git
dest: /home/jonathan/Code/luminance
- name: autogen luminance
command:
chdir: /home/jonathan/Code/luminance
cmd: ./autogen.sh
- name: configure luminance
command:
chdir: /home/jonathan/Code/luminance
cmd: ./configure --prefix=/usr
- name: make luminance
command:
chdir: /home/jonathan/Code/luminance
cmd: make
- name: make install luminance
command:
chdir: /home/jonathan/Code/luminance
cmd: make install
become: yes