Update Hyprland to v0.46.2

This commit is contained in:
Oliver Traber 2024-12-21 19:44:27 +01:00
parent 6ea4904537
commit ee86257e93
Signed by: Bluemedia
GPG key ID: C0674B105057136C

View file

@ -7,7 +7,7 @@
- name: Add unstable repository
become: yes
ansible.builtin.apt_repository:
repo: deb http://deb.debian.org/debian unstable main contrib non-free-firmware
repo: "deb http://deb.debian.org/debian unstable main contrib non-free-firmware"
state: present
update_cache: true
@ -38,6 +38,9 @@
- libzip-dev
- librsvg2-dev
- libxcb-util-dev
# hyprgraphics
- libjxl-dev
- libmagic-dev
# Hyprland
- libpango1.0-dev
- libtomlplusplus-dev
@ -52,6 +55,7 @@
- libxcb-res0-dev
- xwayland
- libzip4t64
- libre2-dev
# xdg-desktop-portal-hyprland
- qt6-base-dev
- libspa-0.2-dev
@ -73,6 +77,7 @@
- "hyprcursor"
- "xdg-desktop-portal-hyprland"
- "Aquamarine"
- "hyprgraphics"
- name: Checkout hyprutils repo
ansible.builtin.git:
@ -94,7 +99,7 @@
ansible.builtin.git:
repo: 'https://github.com/hyprwm/hyprlang.git'
dest: /usr/local/src/hyprlang
version: v0.5.3
version: v0.6.0
force: true
recursive: true
@ -110,22 +115,29 @@
ansible.builtin.git:
repo: 'https://github.com/hyprwm/xdg-desktop-portal-hyprland.git'
dest: /usr/local/src/xdg-desktop-portal-hyprland
version: v1.3.8
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.0
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.45.0
version: v0.46.2
force: true
recursive: true
@ -199,6 +211,20 @@
cmd: "cmake --install build"
chdir: /usr/local/src/Aquamarine
- name: Build hyprgraphics
ansible.builtin.command:
cmd: "{{ item }}"
chdir: /usr/local/src/hyprgraphics
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 --parallel 4"
- name: Install hyprgraphics
become: yes
ansible.builtin.command:
cmd: "cmake --install build"
chdir: /usr/local/src/hyprgraphics
- name: Build Hyprland
community.general.make:
chdir: /usr/local/src/Hyprland