2021-04-11 16:00:07 +01:00
|
|
|
---
|
|
|
|
|
|
|
|
- name: Install dependencies
|
|
|
|
dnf:
|
|
|
|
name:
|
|
|
|
- pulseaudio-libs-devel
|
|
|
|
state: present
|
|
|
|
become: yes
|
|
|
|
|
|
|
|
- name: Clone duncanthrax/scream
|
|
|
|
git:
|
|
|
|
repo: 'https://github.com/duncanthrax/scream.git'
|
|
|
|
version: master
|
2022-04-25 12:48:36 +01:00
|
|
|
dest: ~/.cache/duncanthrax-scream
|
2021-04-11 16:00:07 +01:00
|
|
|
|
|
|
|
- name: Create build dir
|
|
|
|
file:
|
2022-04-25 12:48:36 +01:00
|
|
|
dest: ~/.cache/duncanthrax-scream/Receivers/unix/build
|
2021-04-11 16:00:07 +01:00
|
|
|
mode: '0755'
|
|
|
|
state: directory
|
|
|
|
|
|
|
|
- name: Cmake the Makefiles
|
|
|
|
command:
|
2022-04-25 12:48:36 +01:00
|
|
|
chdir: ~/.cache/duncanthrax-scream/Receivers/unix/build
|
2021-04-11 16:00:07 +01:00
|
|
|
cmd: cmake ..
|
2022-04-25 12:48:36 +01:00
|
|
|
creates: ~/.cache/duncanthrax-scream/Receivers/unix/build/Makefile
|
2021-04-11 16:00:07 +01:00
|
|
|
|
|
|
|
- name: Make all the things
|
|
|
|
command:
|
2022-04-25 12:48:36 +01:00
|
|
|
chdir: ~/.cache/duncanthrax-scream/Receivers/unix/build
|
2021-04-11 16:00:07 +01:00
|
|
|
cmd: make
|
2022-04-25 12:48:36 +01:00
|
|
|
creates: ~/.cache/duncanthrax-scream/Receivers/unix/build/scream
|
2021-04-11 16:00:07 +01:00
|
|
|
|
|
|
|
- name: make install
|
|
|
|
command:
|
2022-04-25 12:48:36 +01:00
|
|
|
chdir: /home/jonathan/.cache/duncanthrax-scream/Receivers/unix/build
|
2021-04-11 16:00:07 +01:00
|
|
|
cmd: make install
|
|
|
|
creates: /usr/local/bin/scream
|
|
|
|
become: yes
|
|
|
|
|
|
|
|
- name: Create systemd dir
|
|
|
|
file:
|
|
|
|
dest: ~/.config/systemd/user
|
|
|
|
mode: '0755'
|
|
|
|
state: directory
|
|
|
|
|
2021-11-16 15:23:42 +00:00
|
|
|
- name: Create scream systemd service
|
2021-04-11 16:00:07 +01:00
|
|
|
copy:
|
|
|
|
src: scream.service
|
2021-11-16 15:23:42 +00:00
|
|
|
mode: "0644"
|
2021-04-11 16:00:07 +01:00
|
|
|
dest: ~/.config/systemd/user/scream.service
|
2021-11-16 15:23:42 +00:00
|
|
|
notify: enable scream
|