From 660045acdbae8bf130d9ac2a6be71c45793d9632 Mon Sep 17 00:00:00 2001 From: BluemediaDev Date: Sun, 2 Feb 2025 00:37:08 +0100 Subject: [PATCH] Update Hyprland to v0.47.1 (incl. dependencies) --- roles/desktop-environment/tasks/hyprland.yml | 87 +++++++------------- 1 file changed, 29 insertions(+), 58 deletions(-) diff --git a/roles/desktop-environment/tasks/hyprland.yml b/roles/desktop-environment/tasks/hyprland.yml index 173e154..e93ae2b 100644 --- a/roles/desktop-environment/tasks/hyprland.yml +++ b/roles/desktop-environment/tasks/hyprland.yml @@ -79,67 +79,38 @@ - "Aquamarine" - "hyprgraphics" -- name: Checkout hyprutils repo +- name: Checkout required source repositories ansible.builtin.git: - repo: 'https://github.com/hyprwm/hyprutils.git' - dest: /usr/local/src/hyprutils - version: v0.2.6 - force: true - recursive: true - -- name: Checkout hyprwayland-scanner repo - ansible.builtin.git: - repo: 'https://github.com/hyprwm/hyprwayland-scanner.git' - dest: /usr/local/src/hyprwayland-scanner - version: v0.4.2 - force: true - recursive: true - -- name: Checkout hyprlang repo - ansible.builtin.git: - repo: 'https://github.com/hyprwm/hyprlang.git' - dest: /usr/local/src/hyprlang - version: v0.6.0 - force: true - recursive: true - -- name: Checkout hyprcursor repo - ansible.builtin.git: - repo: 'https://github.com/hyprwm/hyprcursor.git' - dest: /usr/local/src/hyprcursor - version: v0.1.10 - force: true - recursive: true - -- name: Checkout xdg-desktop-portal-hyprland repo - ansible.builtin.git: - repo: 'https://github.com/hyprwm/xdg-desktop-portal-hyprland.git' - dest: /usr/local/src/xdg-desktop-portal-hyprland - version: v1.3.9 - force: true - -- name: Checkout Aquamarine repo - ansible.builtin.git: - repo: 'https://github.com/hyprwm/aquamarine.git' - dest: /usr/local/src/Aquamarine - version: v0.5.1 - force: true - recursive: true - -- name: Checkout hyprgraphics repo - ansible.builtin.git: - repo: 'https://github.com/hyprwm/hyprgraphics.git' - dest: /usr/local/src/hyprgraphics - version: v0.1.1 - force: true - -- name: Checkout Hyprland repo - ansible.builtin.git: - repo: 'https://github.com/hyprwm/Hyprland.git' - dest: /usr/local/src/Hyprland - version: v0.46.2 + repo: "{{ item.repo }}" + dest: "{{ item.dest }}" + version: "{{ item.version }}" force: true recursive: true + loop: + - repo: "https://github.com/hyprwm/hyprutils.git" + version: "v0.5.0" + dest: "/usr/local/src/hyprutils" + - repo: "https://github.com/hyprwm/hyprwayland-scanner.git" + version: "v0.4.4" + dest: "/usr/local/src/hyprwayland-scanner" + - repo: "https://github.com/hyprwm/hyprlang.git" + version: "v0.6.0" + dest: "/usr/local/src/hyprlang" + - repo: "https://github.com/hyprwm/hyprcursor.git" + version: "v0.1.11" + dest: "/usr/local/src/hyprcursor" + - repo: "https://github.com/hyprwm/xdg-desktop-portal-hyprland.git" + version: "v1.3.9" + dest: "/usr/local/src/xdg-desktop-portal-hyprland" + - repo: "https://github.com/hyprwm/aquamarine.git" + version: "v0.7.2" + dest: "/usr/local/src/Aquamarine" + - repo: "https://github.com/hyprwm/hyprgraphics.git" + version: "v0.1.1" + dest: "/usr/local/src/hyprgraphics" + - repo: "https://github.com/hyprwm/Hyprland.git" + version: "v0.47.1" + dest: "/usr/local/src/Hyprland" - name: Build hyprutils ansible.builtin.command: