update ghostty

- refactor remaiing source packages to new standard
This commit is contained in:
Matthew Stobbs
2025-03-29 15:21:34 -06:00
parent 5645cc7dd6
commit 59a31858f4
9 changed files with 107 additions and 55 deletions

View File

@@ -1,30 +1,52 @@
- name: Clone git repository {{ pkg }}
ansible.builtin.git:
depth: 1
dest: "{{ d_tempdir.path }}/uwsm"
repo: "{{ uwsm.repo }}"
version: "v{{ uwsm.vers }}"
- name: Build {{ pkg }}
ansible.builtin.command:
creates: "{{ d_tempdir.path }}/uwsm/build"
chdir: "{{ d_tempdir.path }}/uwsm"
argv:
- meson
- setup
- --prefix={{ hyprland.prefix }}
- -Duuctl=enabled
- -Dfumon=enabled
- -Duwsm-app=enabled
- build
- name: Install {{ pkg }}
# vim: set filetype=yaml.ansible :
---
- name: Remove existing install {{ pkg }}
when:
- uwsm.clean
become: true
ansible.builtin.command:
creates: "{{ hyprland.prefix }}/bin/uwsm"
chdir: "{{ d_tempdir.path }}/uwsm"
argv:
- meson
- install
- -C
- build
loop: "{{ uwsm.installed_files }}"
loop_control:
loop_var: file
ansible.builtin.file:
state: absent
path: "{{ file }}"
- name: Check for installed {{ pkg }}
register: stat_uwsm_inst
ansible.builtin.stat:
path: "{{ uwsm.prefix }}"
- name: Build and install {{ uwsm }}
when:
- not stat_uwsm_inst.stat.exists
block:
- name: Clone git repository {{ pkg }}
ansible.builtin.git:
depth: 1
dest: "{{ d_tempdir.path }}/uwsm"
repo: "{{ uwsm.repo }}"
version: "v{{ uwsm.vers }}"
- name: Build {{ pkg }}
ansible.builtin.command:
creates: "{{ d_tempdir.path }}/uwsm/build"
chdir: "{{ d_tempdir.path }}/uwsm"
argv:
- meson
- setup
- --prefix={{ uwsm.prefix }}
- -Duuctl=enabled
- -Dfumon=enabled
- -Duwsm-app=enabled
- build
- name: Install {{ pkg }}
become: true
ansible.builtin.command:
creates: "{{ uwsm.prefix }}/bin/uwsm"
chdir: "{{ d_tempdir.path }}/uwsm"
argv:
- meson
- install
- -C
- build