diff --git a/roles/desktop-environment/tasks/hyprland.yml b/roles/desktop-environment/tasks/hyprland.yml index f563582..a103395 100644 --- a/roles/desktop-environment/tasks/hyprland.yml +++ b/roles/desktop-environment/tasks/hyprland.yml @@ -21,6 +21,7 @@ - build-essential - cmake - meson + - checkinstall # Aquamarine - hwdata - libdrm-dev @@ -95,6 +96,7 @@ version: "{{ item.version }}" force: true recursive: true + depth: 1 loop: - repo: "https://github.com/hyprwm/hyprutils.git" version: "v0.7.1" @@ -138,7 +140,7 @@ - name: Install hyprutils become: yes ansible.builtin.command: - cmd: "cmake --install build" + cmd: "checkinstall -y -D sudo cmake --install build" chdir: /usr/local/src/hyprutils - name: Build hyprwayland-scanner @@ -152,7 +154,7 @@ - name: Install hyprwayland-scanner become: yes ansible.builtin.command: - cmd: "cmake --install build" + cmd: "checkinstall -y -D sudo cmake --install build" chdir: /usr/local/src/hyprwayland-scanner - name: Build hyprlang @@ -166,7 +168,7 @@ - name: Install hyprlang become: yes ansible.builtin.command: - cmd: "cmake --install build" + cmd: "checkinstall -y -D sudo cmake --install build" chdir: /usr/local/src/hyprlang - name: Build hyprcursor @@ -180,7 +182,7 @@ - name: Install hyprcursor become: yes ansible.builtin.command: - cmd: "cmake --install build" + cmd: "checkinstall -y -D sudo cmake --install build" chdir: /usr/local/src/hyprcursor - name: Build Aquamarine @@ -194,7 +196,7 @@ - name: Install Aquamarine become: yes ansible.builtin.command: - cmd: "cmake --install build" + cmd: "checkinstall -y -D sudo cmake --install build" chdir: /usr/local/src/Aquamarine - name: Build hyprgraphics @@ -208,7 +210,7 @@ - name: Install hyprgraphics become: yes ansible.builtin.command: - cmd: "cmake --install build" + cmd: "checkinstall -y -D sudo cmake --install build" chdir: /usr/local/src/hyprgraphics - name: Build Hyprland @@ -219,9 +221,9 @@ - name: Install Hyprland become: true - community.general.make: + ansible.builtin.command: + cmd: "checkinstall -y -D sudo make install" chdir: /usr/local/src/Hyprland - target: install - name: Build xdg-desktop-portal-hyprland ansible.builtin.command: @@ -234,7 +236,7 @@ - name: Install xdg-desktop-portal-hyprland become: yes ansible.builtin.command: - cmd: "cmake --install build" + cmd: "checkinstall -y -D sudo cmake --install build" chdir: /usr/local/src/xdg-desktop-portal-hyprland - name: Build hyprland-qt-support @@ -248,7 +250,7 @@ - name: Install hyprland-qt-support become: yes ansible.builtin.command: - cmd: "cmake --install build" + cmd: "checkinstall -y -D sudo cmake --install build" chdir: /usr/local/src/hyprland-qt-support - name: Build hyprland-qtutils @@ -262,7 +264,7 @@ - name: Install hyprland-qtutils become: yes ansible.builtin.command: - cmd: "cmake --install build" + cmd: "checkinstall -y -D sudo cmake --install build" chdir: /usr/local/src/hyprland-qtutils - name: Reload systemd