more work being done
This commit is contained in:
@@ -1,48 +0,0 @@
|
||||
# vim: set filetype=yaml.ansible :
|
||||
---
|
||||
- name: Remove existing install {{ pkg }}
|
||||
when:
|
||||
- aquamarine.clean
|
||||
vars:
|
||||
file_list: "{{ srcconfig.aquamarine.build_installed_files }}"
|
||||
ansible.builtin.include_tasks:
|
||||
file: helpers/clean_install.yml
|
||||
|
||||
- name: Check for installed {{ pkg }}
|
||||
register: stat_aquamarine_inst
|
||||
ansible.builtin.stat:
|
||||
path: "{{ hyprland.prefix }}/{{ lib_path }}/libaquamarine.so"
|
||||
|
||||
- name: Build and install {{ pkg }}
|
||||
when:
|
||||
- not stat_aquamarine_inst.stat.exists
|
||||
block:
|
||||
- name: Do repo clone {{ pkg }}
|
||||
vars:
|
||||
src_pkg: aquamarine
|
||||
src_path: "{{ srcconfig.aquamarine.src_path }}"
|
||||
src_gitrepo: "{{ srcconfig.aquamarine.gitrepo }}"
|
||||
src_version: "{{ aquamarine.vers }}"
|
||||
ansible.builtin.include_tasks:
|
||||
file: helpers/git.yml
|
||||
|
||||
- name: Apply patch for alpine linux {{ pkg }}
|
||||
when:
|
||||
- ansible_os_family == 'Alpine'
|
||||
ansible.posix.patch:
|
||||
basedir: "{{ aquamarine.git_path }}"
|
||||
src: aquamarine/Alpine.patch
|
||||
state: present
|
||||
strip: 1
|
||||
|
||||
- name: Do build and install {{ pkg }}
|
||||
vars:
|
||||
do_become: true
|
||||
src_path: "{{ srcconfig.aquamarine.src_path }}"
|
||||
configure: "{{ srcconfig.aquamarine.configure }}"
|
||||
build_creates: "{{ srcconfig.aquamarine.build_creates }}"
|
||||
build: "{{ srcconfig.aquamarine.build }}"
|
||||
install_creates: "{{ srcconfig.aquamarine.install_creates }}"
|
||||
install: "{{ srcconfig.aquamarine.install }}"
|
||||
ansible.builtin.include_tasks:
|
||||
file: helpers/cmake_build.yml
|
||||
Reference in New Issue
Block a user