fixing hyprland packages
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
- name: Remove existing install
|
||||
when:
|
||||
- hyprpolkitagent_clean
|
||||
- hyprland_clean
|
||||
become: "{{ ext_become }}"
|
||||
loop: "{{ hyprpolkitagent.installed_files }}"
|
||||
loop_control:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user