continuing work on hyprland build

This commit is contained in:
Matthew Stobbs
2025-02-28 21:08:35 -07:00
parent ac87ba3f4c
commit 2a86ffb94b
22 changed files with 79 additions and 145 deletions

View File

@@ -1,8 +1,9 @@
- name: Set hyprcursor config
ansible.builtin.set_fact:
vers: "{{ pkgconfig.hyprcursor.version }}"
repo: "{{ pkgconfig.hyprcursor.repo }}"
pkg_deps: "{{ pkgconfig.hyprcursor.pkg_deps }}"
build_deps: "{{ pkgconfig.hyprcursor.build_deps[ansible_os_family] }}"
installed_files: "{{ pkgconfig.hyprcursor.build_installed_files }}"
git_path: "{{ d_tempdir.path }}/hyprcursor"
hyprcursor:
vers: "{{ pkgconfig.hyprcursor.version }}"
repo: "{{ pkgconfig.hyprcursor.repo }}"
pkg_deps: "{{ pkgconfig.hyprcursor.pkg_deps }}"
build_deps: "{{ pkgconfig.hyprcursor.build_deps[ansible_os_family] }}"
installed_files: "{{ pkgconfig.hyprcursor.build_installed_files }}"
git_path: "{{ d_tempdir.path }}/hyprcursor"

View File

@@ -0,0 +1,8 @@
- name: Set hyprgraphics config
ansible.builtin.set_fact:
hyprgraphics:
vers: "{{ pkgconfig.hyprgraphics.version }}"
repo: "{{ pkgconfig.hyprgraphics.repo }}"
build_deps: "{{ pkgconfig.hyprgraphics.build_deps[ansible_os_family] }}"
installed_files: "{{ pkgconfig.hyprgraphics.build_installed_files }}"
git_path: "{{ d_tempdir.path }}/hyprgraphics"

View File

@@ -0,0 +1,8 @@
- name: Set hyprland config
ansible.builtin.set_fact:
hyprland:
vers: "{{ pkgconfig.hyprland.version }}"
repo: "{{ pkgconfig.hyprland.repo }}"
pkg_deps: "{{ pkgconfig.hyprland.pkg_deps }}"
build_deps: "{{ pkgconfig.hyprland.build_deps[ansible_os_family] }}"
installed_files: "{{ pkgconfig.hyprland.build_installed_files }}"

View File

@@ -4,6 +4,6 @@
vers: "{{ pkgconfig.hyprlang.version }}"
repo: "{{ pkgconfig.hyprlang.repo }}"
pkg_deps: "{{ pkgconfig.hyprlang.pkg_deps }}"
build_deps: "{{ pkgconfig.hyrplang.build_deps[ansible_os_family] }}"
build_deps: "{{ pkgconfig.hyprlang.build_deps[ansible_os_family] }}"
git_path: "{{ d_tempdir.path }}/hyprlang"
installed_files: "{{ pkgconfig.hyprlang.build_installed_files }}"

View File

@@ -4,3 +4,5 @@
vers: "{{ pkgconfig.hyprwayland_scanner.version }}"
repo: "{{ pkgconfig.hyprwayland_scanner.repo }}"
build_deps: "{{ pkgconfig.hyprwayland_scanner.build_deps[ansible_os_family] }}"
git_path: "{{ d_tempdir.path }}/hyprwayland-scanner"
installed_files: "{{ pkgconfig.hyprwayland_scanner.build_installed_files }}"

View File

@@ -1,6 +0,0 @@
# vim: set filetype=yaml.ansible :
# TODO: implement
---
- name: append to syspkgs
debug:
msg: "NOT IMPLEMENTED YET"

View File

@@ -1,5 +1,5 @@
- name: Ensure pkg_deps are added
loop: aquamarine.pkg_deps
loop: "{{ aquamarine.pkg_deps }}"
loop_control:
loop_var: pkg_dep
vars:

13
tasks/pkgs/hyprland.yml Normal file
View File

@@ -0,0 +1,13 @@
- name: Ensure pkg_deps are added
loop: "{{ hyprland.pkg_deps }}"
loop_control:
loop_var: pkg_dep
vars:
pkg: "{{ pkg_dep }}"
ansible.builtin.include_tasks:
file: addpkg.yml
- name: Append to pkg_src
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + hyprland.build_deps }}"
pkg_src: "{{ pkg_src + ['hyprland'] }}"

View File

@@ -1,5 +1,5 @@
- name: Ensure pkg_deps are added
loop: hyprlang.pkg_deps
loop: "{{ hyprlang.pkg_deps }}"
loop_control:
loop_var: pkg_dep
vars: