updated src builds

This commit is contained in:
Matthew Stobbs
2025-03-16 20:17:28 -06:00
parent 43f539253f
commit bfd3afd353
20 changed files with 128 additions and 128 deletions

View File

@@ -1,4 +1,4 @@
- name: Remove existing install
- name: Remove existing install {{ pkg }}
when:
- hyprland_clean
become: true
@@ -9,23 +9,23 @@
state: absent
path: "{{ hyprland.prefix }}/{{ file }}"
- name: Check if aquamarine is installed
- name: Check for installed {{ pkg }}
register: stat_aquamarine_inst
ansible.builtin.stat:
path: "{{ hyprland.prefix }}/{{ lib_path }}/libaquamarine.so"
- name: Build and install aquamarine
- name: Build and install {{ pkg }}
when:
- not stat_aquamarine_inst.stat.exists
block:
- name: Clone git repository
- name: Clone git repository {{ pkg }}
ansible.builtin.git:
depth: 1
dest: "{{ aquamarine.git_path }}"
repo: "{{ aquamarine.repo }}"
version: "{{ aquamarine.vers }}"
- name: Apply patch for alpine linux
- name: Apply patch for alpine linux {{ pkg }}
when:
- ansible_os_family == 'Alpine'
ansible.posix.patch:
@@ -34,7 +34,7 @@
state: present
strip: 1
- name: Configure aquamarine
- name: Configure {{ pkg }}
ansible.builtin.command:
creates: "{{ aquamarine.git_path }}/build"
chdir: "{{ aquamarine.git_path }}"
@@ -48,7 +48,7 @@
- -B
- ./build
- name: Build aquamarine
- name: Build {{ pkg }}
ansible.builtin.command:
creates: "{{ aquamarine.git_path }}/build/libaquamarine.so"
chdir: "{{ aquamarine.git_path }}"
@@ -63,7 +63,7 @@
- -j
- "{{ ansible_processor_nproc|int }}"
- name: Install aquamarine
- name: Install {{ pkg }}
become: true
ansible.builtin.command:
creates: "{{ hyprland.prefix }}/{{ lib_path }}/libaquamarine.so"