Files
ansible_role_package/tasks/pkgs/hyprland_qt_support.yml
2025-03-12 15:11:48 -06:00

31 lines
1012 B
YAML

# vim: set filetype=yaml.ansible :
---
- name: Add hyprland_qt_support
when:
- hyprland_qt_support_configured is undefined
block:
- name: Load hyprland_qt_support config
ansible.builtin.include_tasks:
file: config/hyprland_qt_support.yml
- name: Append hyprland_qt_support pkg_deps
loop: "{{ hyprland_qt_support.pkg_deps }}"
loop_control:
loop_var: hyprland_qt_support_pkg_dep
vars:
pkg: "{{ hyprland_qt_support_pkg_dep }}"
ansible.builtin.include_tasks:
file: "pkgs/{{ hyprland_qt_support_pkg_dep }}.yml"
- name: Append hyprland_qt_support build_deps to pkg_sys
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + hyprland_qt_support.build_deps }}"
- name: Append hyprland_qt_support to pkg_src
ansible.builtin.set_fact:
pkg_src: "{{ pkg_src + ['hyprland_qt_support'] }}"
- name: Set hyprland_qt_support_configured
ansible.builtin.set_fact:
hyprland_qt_support_configured: true