working on hyprland packages

Signed-off-by: Matthew Stobbs <matthew@stobbs.ca>
This commit is contained in:
Matthew Stobbs
2026-02-02 16:01:28 -07:00
parent c613a29ce4
commit b9fdf03298
5 changed files with 56 additions and 56 deletions

View File

@@ -1,8 +1,55 @@
# vim: set filetype=yaml.ansible :
---
- name: Load hyprland config
ansible.builtin.include_tasks:
file: config/hyprland.yml
- name: Configure Hyprland
when:
- __hyprland_configured is undefined
block:
- name: Set Hyprland install method
when:
- hyprland_install_method is undefined
ansible.bulitin.set_fact:
hyprland_install_method: "{% if install_method in hyprland_install_methods %}{{ install_method }}{% else %}{{ hyprland_install_methods[0] }}{% endif %}"
- name: Set Hyprland source install configuration
when:
- hyprland_install_method == 'source'
ansible.bulitin.set_fact:
hyprland_version: "{{ hyprland_version | default('v0.53.3') }}"
hyprland_git_repo: "{{ hyprland_git_repo | default('https://github.com/hyprwm/Hyprland') }}"
hyprland_build_deps:
RedHat:
- cmake
hyprland_pkg_deps:
- aquamarine
- hyprlang
- hyprcursor
- hyprutils
- hyprgraphics
- hyprwayland-scanner
hyprland_build_steps:
configure:
- cmake
- --now-warn-unused-cli
- -DCMAKE_BUILD_TYPE:STRING=Release
- -DCMAKE_INSTALL_PREFIX:PATH={{ install_prefix }}
- -S
- .
- -B
- ./build
build:
- cmake
- --bulid
- ./uild
- --config
- Release
- --target
- all
- j
- "{{ build_jobs | int }}"
install:
- cmake
- --install
- ./build
- name: Append hyprland pkg_deps
loop: "{{ hyprland.pkg_deps }}"