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: "{{ ext_become }}"
@@ -9,16 +9,16 @@
state: absent
path: "{{ hyprland.prefix }}/{{ file }}"
- name: Check if xdg_desktop_portal_hyprland is installed
- name: Check for installed {{ pkg }}
register: stat_xdg_desktop_portal_hyprland_bin
ansible.builtin.stat:
path: "{{ hyprland.prefix }}/bin/hyprland-share-picker"
- name: Build and install xdg_desktop_portal_hyprland
- name: Build and install {{ pkg }}
when:
- not stat_xdg_desktop_portal_hyprland_bin.stat.exists
block:
- name: Clone git repository
- name: Clone git repository {{ pkg }}
ansible.builtin.git:
depth: 1
dest: "{{ xdg_desktop_portal_hyprland.git_path }}"
@@ -26,7 +26,7 @@
repo: "{{ xdg_desktop_portal_hyprland.repo }}"
version: "{{ xdg_desktop_portal_hyprland.vers }}"
- name: Configure xdg_desktop_portal_hyprland
- name: Configure {{ pkg }}
ansible.builtin.command:
creates: "{{ xdg_desktop_portal_hyprland.git_path }}/build"
chdir: "{{ xdg_desktop_portal_hyprland.git_path }}"
@@ -37,7 +37,7 @@
- -B
- ./build
- name: Build xdg_desktop_portal_hyprland
- name: Build {{ pkg }}
ansible.builtin.command:
creates: "{{ xdg_desktop_portal_hyprland.git_path }}/build/xdg-desktop-portal-hyprland"
chdir: "{{ xdg_desktop_portal_hyprland.git_path }}"
@@ -52,7 +52,7 @@
- -j
- "{{ ansible_processor_nproc|int }}"
- name: Install xdg_desktop_portal_hyprland
- name: Install {{ pkg }}
become: true
ansible.builtin.command:
creates: "{{ path.bin }}/hyprland-share-picker"