diff --git a/roles/desktop-environment/tasks/hyprland.yml b/roles/desktop-environment/tasks/hyprland.yml index 5c332c0..d70f6a0 100644 --- a/roles/desktop-environment/tasks/hyprland.yml +++ b/roles/desktop-environment/tasks/hyprland.yml @@ -39,6 +39,7 @@ - libtomlplusplus-dev - uuid-dev - libxcb-errors-dev + - libxcursor-dev # xdg-desktop-portal-hyprland - qt6-base-dev - libspa-0.2-dev @@ -58,12 +59,13 @@ - "hyprlang" - "hyprcursor" - "xdg-desktop-portal-hyprland" + - "Aquamarine" - name: Checkout hyprutils repo ansible.builtin.git: repo: 'https://github.com/hyprwm/hyprutils.git' dest: /usr/local/src/hyprutils - version: v0.1.5 + version: v0.2.1 force: true recursive: true @@ -71,15 +73,7 @@ ansible.builtin.git: repo: 'https://github.com/hyprwm/hyprwayland-scanner.git' dest: /usr/local/src/hyprwayland-scanner - version: v0.3.10 - force: true - recursive: true - -- name: Checkout Hyprland repo - ansible.builtin.git: - repo: 'https://github.com/hyprwm/Hyprland.git' - dest: /usr/local/src/Hyprland - version: v0.41.2 + version: v0.4.0 force: true recursive: true @@ -103,7 +97,23 @@ ansible.builtin.git: repo: 'https://github.com/hyprwm/xdg-desktop-portal-hyprland.git' dest: /usr/local/src/xdg-desktop-portal-hyprland - version: master + version: v1.3.3 + force: true + recursive: true + +- name: Checkout Aquamarine repo + ansible.builtin.git: + repo: 'https://github.com/hyprwm/aquamarine.git' + dest: /usr/local/src/Aquamarine + version: v0.3.1 + force: true + recursive: true + +- name: Checkout Hyprland repo + ansible.builtin.git: + repo: 'https://github.com/hyprwm/Hyprland.git' + dest: /usr/local/src/Hyprland + version: v0.42.0 force: true recursive: true @@ -163,6 +173,20 @@ cmd: "cmake --install build" chdir: /usr/local/src/hyprcursor +- name: Build Aquamarine + ansible.builtin.command: + cmd: "{{ item }}" + chdir: /usr/local/src/Aquamarine + loop: + - "cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr -S . -B ./build" + - "cmake --build ./build --config Release --target all" + +- name: Install Aquamarine + become: yes + ansible.builtin.command: + cmd: "cmake --install build" + chdir: /usr/local/src/Aquamarine + - name: Build Hyprland community.general.make: chdir: /usr/local/src/Hyprland