48 lines
No EOL
931 B
YAML
48 lines
No EOL
931 B
YAML
---
|
|
|
|
- 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 |