fixing hyprland packages

This commit is contained in:
Matthew Stobbs
2025-03-10 22:00:58 -06:00
parent 2e885b31ac
commit 9e68ad9758
9 changed files with 20 additions and 14 deletions

View File

@@ -2,19 +2,19 @@
---
- name: Remove existing install
when:
- hyprland_protocols.clean
- hyprland_clean
become: true
loop: "{{ hyprland_protocols.installed_files }}"
loop_control:
loop_var: file
ansible.builtin.file:
state: absent
path: "{{ hyprland_protocols.prefix }}/{{ file }}"
path: "{{ hyprland.prefix }}/{{ file }}"
- name: Check if hyprland-protocols is installed
register: stat_hyprland_protocols_inst
ansible.builtin.stat:
path: "{{ hyprland_protocols.prefix }}/share/hyprland-protocols/protocols/hyprland-ctm-control-v1.xml"
path: "{{ hyprland.prefix }}/share/hyprland-protocols/protocols/hyprland-ctm-control-v1.xml"
- name: Build and install hyprland-protocols
when:
@@ -41,7 +41,7 @@
- name: Install hyprland-protocols
become: true
ansible.builtin.command:
creates: "{{ hyprland_protocols.prefix }}/share/hyprland-protocols/protocols/hyprland-ctm-control-v1.xml"
creates: "{{ hyprland.prefix }}/share/hyprland-protocols/protocols/hyprland-ctm-control-v1.xml"
chdir: "{{ hyprland_protocols.git_path }}"
argv:
- meson

View File

@@ -1,6 +1,6 @@
- name: Remove existing install
when:
- hyprpolkitagent_clean
- hyprland_clean
become: "{{ ext_become }}"
loop: "{{ hyprpolkitagent.installed_files }}"
loop_control:

View File

@@ -34,7 +34,7 @@
- cmake
- --no-warn-unused-cli
- -DCMAKE_BUILD_TYPE=Release
- -dDCMAKE_INSTALL_PREFIX={{ sdbus_cpp_2.prefix }}
- -DCMAKE_INSTALL_PREFIX={{ sdbus_cpp_2.prefix }}
- -S
- .
- -B
@@ -42,7 +42,7 @@
- name: Build sdbus-cpp-2
ansible.builtin.command:
creates: "{{ sdbus_cpp_2.git_path }}/build/Makefile"
creates: "{{ sdbus_cpp_2.git_path }}/build/libsdbus-c++.so"
chdir: "{{ sdbus_cpp_2.git_path }}"
argv:
- cmake