updated src builds
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
- name: Remove existing install
|
||||
- name: Remove existing install of {{ pkg }}
|
||||
when:
|
||||
- hyprland_clean
|
||||
become: "{{ ext_become }}"
|
||||
@@ -9,12 +9,12 @@
|
||||
state: absent
|
||||
path: "{{ hyprland.prefix }}/{{ file }}"
|
||||
|
||||
- name: Check if hyprland_qt_support is installed
|
||||
- name: Check for installed {{ pkg }}
|
||||
register: stat_hyprland_qt_support_bin
|
||||
ansible.builtin.stat:
|
||||
path: "{{ hyprland.prefix }}/bin/hyprland_qt_support"
|
||||
|
||||
- name: Build and install hyprland_qt_support
|
||||
- name: Build and install {{ pkg }}
|
||||
when:
|
||||
- not stat_hyprland_qt_support_bin.stat.exists
|
||||
block:
|
||||
@@ -26,7 +26,7 @@
|
||||
repo: "{{ hyprland_qt_support.repo }}"
|
||||
version: "{{ hyprland_qt_support.vers }}"
|
||||
|
||||
- name: Configure hyprland_qt_support
|
||||
- name: Configure {{ pkg }}
|
||||
ansible.builtin.command:
|
||||
creates: "{{ hyprland_qt_support.git_path }}/build"
|
||||
chdir: "{{ hyprland_qt_support.git_path }}"
|
||||
@@ -41,7 +41,7 @@
|
||||
- -B
|
||||
- ./build
|
||||
|
||||
- name: Build hyprland_qt_support
|
||||
- name: Build {{ pkg }}
|
||||
ansible.builtin.command:
|
||||
creates: "{{ hyprland_qt_support.git_path }}/build/hyprland_qt_support"
|
||||
chdir: "{{ hyprland_qt_support.git_path }}"
|
||||
@@ -56,7 +56,7 @@
|
||||
- -j
|
||||
- "{{ ansible_processor_nproc|int }}"
|
||||
|
||||
- name: Install hyprland_qt_support
|
||||
- name: Install {{ pkg }}
|
||||
become: true
|
||||
ansible.builtin.command:
|
||||
creates: "{{ path.bin }}/hyprland_qt_support"
|
||||
|
||||
Reference in New Issue
Block a user