Use Hyprland instead of sway #1
|
@ -15,6 +15,9 @@
|
|||
- build-essential
|
||||
- cmake
|
||||
- meson
|
||||
# hyprcursor
|
||||
- libzip-dev
|
||||
- librsvg2-dev
|
||||
# Hyprland
|
||||
- libpango1.0-dev
|
||||
- libtomlplusplus-dev
|
||||
|
@ -33,13 +36,14 @@
|
|||
loop:
|
||||
- "Hyprland"
|
||||
- "hyprlang"
|
||||
- "hyprcursor"
|
||||
- "xdg-desktop-portal-hyprland"
|
||||
|
||||
- name: Checkout Hyprland repo
|
||||
ansible.builtin.git:
|
||||
repo: 'https://github.com/hyprwm/Hyprland.git'
|
||||
dest: /usr/local/src/Hyprland
|
||||
version: v0.35.0
|
||||
version: v0.37.1
|
||||
force: true
|
||||
recursive: true
|
||||
|
||||
|
@ -47,7 +51,15 @@
|
|||
ansible.builtin.git:
|
||||
repo: 'https://github.com/hyprwm/hyprlang.git'
|
||||
dest: /usr/local/src/hyprlang
|
||||
version: v0.4.0
|
||||
version: v0.5.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.4
|
||||
force: true
|
||||
recursive: true
|
||||
|
||||
|
@ -59,17 +71,6 @@
|
|||
force: true
|
||||
recursive: true
|
||||
|
||||
- name: Build Hyprland
|
||||
community.general.make:
|
||||
chdir: /usr/local/src/Hyprland
|
||||
target: all
|
||||
|
||||
- name: Install Hyprland
|
||||
become: true
|
||||
community.general.make:
|
||||
chdir: /usr/local/src/Hyprland
|
||||
target: install
|
||||
|
||||
- name: Build hyprlang
|
||||
ansible.builtin.command:
|
||||
cmd: "{{ item }}"
|
||||
|
@ -84,6 +85,31 @@
|
|||
cmd: "cmake --install build"
|
||||
chdir: /usr/local/src/hyprlang
|
||||
|
||||
- name: Build hyprcursor
|
||||
ansible.builtin.command:
|
||||
cmd: "{{ item }}"
|
||||
chdir: /usr/local/src/hyprcursor
|
||||
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 hyprcursor
|
||||
become: yes
|
||||
ansible.builtin.command:
|
||||
cmd: "cmake --install build"
|
||||
chdir: /usr/local/src/hyprcursor
|
||||
|
||||
- name: Build Hyprland
|
||||
community.general.make:
|
||||
chdir: /usr/local/src/Hyprland
|
||||
target: all
|
||||
|
||||
- name: Install Hyprland
|
||||
become: true
|
||||
community.general.make:
|
||||
chdir: /usr/local/src/Hyprland
|
||||
target: install
|
||||
|
||||
- name: Build xdg-desktop-portal-hyprland
|
||||
ansible.builtin.command:
|
||||
cmd: "{{ item }}"
|
||||
|
|
Loading…
Reference in a new issue