updated src builds

This commit is contained in:
Matthew Stobbs
2025-03-16 20:17:28 -06:00
parent 43f539253f
commit bfd3afd353
20 changed files with 128 additions and 128 deletions

View File

@@ -1,4 +1,4 @@
- name: Remove existing install - name: Remove existing install {{ pkg }}
when: when:
- hyprland_clean - hyprland_clean
become: true become: true
@@ -9,23 +9,23 @@
state: absent state: absent
path: "{{ hyprland.prefix }}/{{ file }}" path: "{{ hyprland.prefix }}/{{ file }}"
- name: Check if aquamarine is installed - name: Check for installed {{ pkg }}
register: stat_aquamarine_inst register: stat_aquamarine_inst
ansible.builtin.stat: ansible.builtin.stat:
path: "{{ hyprland.prefix }}/{{ lib_path }}/libaquamarine.so" path: "{{ hyprland.prefix }}/{{ lib_path }}/libaquamarine.so"
- name: Build and install aquamarine - name: Build and install {{ pkg }}
when: when:
- not stat_aquamarine_inst.stat.exists - not stat_aquamarine_inst.stat.exists
block: block:
- name: Clone git repository - name: Clone git repository {{ pkg }}
ansible.builtin.git: ansible.builtin.git:
depth: 1 depth: 1
dest: "{{ aquamarine.git_path }}" dest: "{{ aquamarine.git_path }}"
repo: "{{ aquamarine.repo }}" repo: "{{ aquamarine.repo }}"
version: "{{ aquamarine.vers }}" version: "{{ aquamarine.vers }}"
- name: Apply patch for alpine linux - name: Apply patch for alpine linux {{ pkg }}
when: when:
- ansible_os_family == 'Alpine' - ansible_os_family == 'Alpine'
ansible.posix.patch: ansible.posix.patch:
@@ -34,7 +34,7 @@
state: present state: present
strip: 1 strip: 1
- name: Configure aquamarine - name: Configure {{ pkg }}
ansible.builtin.command: ansible.builtin.command:
creates: "{{ aquamarine.git_path }}/build" creates: "{{ aquamarine.git_path }}/build"
chdir: "{{ aquamarine.git_path }}" chdir: "{{ aquamarine.git_path }}"
@@ -48,7 +48,7 @@
- -B - -B
- ./build - ./build
- name: Build aquamarine - name: Build {{ pkg }}
ansible.builtin.command: ansible.builtin.command:
creates: "{{ aquamarine.git_path }}/build/libaquamarine.so" creates: "{{ aquamarine.git_path }}/build/libaquamarine.so"
chdir: "{{ aquamarine.git_path }}" chdir: "{{ aquamarine.git_path }}"
@@ -63,7 +63,7 @@
- -j - -j
- "{{ ansible_processor_nproc|int }}" - "{{ ansible_processor_nproc|int }}"
- name: Install aquamarine - name: Install {{ pkg }}
become: true become: true
ansible.builtin.command: ansible.builtin.command:
creates: "{{ hyprland.prefix }}/{{ lib_path }}/libaquamarine.so" creates: "{{ hyprland.prefix }}/{{ lib_path }}/libaquamarine.so"

View File

@@ -1,15 +1,15 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Build ghostty from source - name: Install and build source for {{ pkg }}
block: block:
- name: Clone ghostty git repository - name: Clone git repository {{ pkg }}
ansible.builtin.git: ansible.builtin.git:
depth: 1 depth: 1
dest: "{{ d_tempdir.path }}/ghostty" dest: "{{ d_tempdir.path }}/ghostty"
repo: "{{ ghostty.repo }}" repo: "{{ ghostty.repo }}"
version: "{{ ghostty.vers }}" version: "{{ ghostty.vers }}"
- name: Build ghostty - name: Build {{ pkg }}
become: "{{ ext_become }}" become: "{{ ext_become }}"
register: c_ghostty_build register: c_ghostty_build
ansible.builtin.command: ansible.builtin.command:

View File

@@ -1,4 +1,4 @@
- name: Remove existing install - name: Remove existing install of {{ pkg }}
when: when:
- hyprland_clean - hyprland_clean
become: "{{ ext_become }}" become: "{{ ext_become }}"
@@ -9,23 +9,23 @@
state: absent state: absent
path: "{{ hyprland.prefix }}/{{ file }}" path: "{{ hyprland.prefix }}/{{ file }}"
- name: Check if hyprcursor is installed - name: Check for installed {{ pkg }}
register: stat_hyprcursor_inst register: stat_hyprcursor_inst
ansible.builtin.stat: ansible.builtin.stat:
path: "{{ hyprland.prefix }}/bin/hyprcursor-util" path: "{{ hyprland.prefix }}/bin/hyprcursor-util"
- name: Build and install hyprcursor - name: Build and install {{ pkg }}
when: when:
- not stat_hyprcursor_inst.stat.exists - not stat_hyprcursor_inst.stat.exists
block: block:
- name: Clone git repository - name: Clone git repository {{ pkg }}
ansible.builtin.git: ansible.builtin.git:
depth: 1 depth: 1
dest: "{{ hyprcursor.git_path }}" dest: "{{ hyprcursor.git_path }}"
repo: "{{ hyprcursor.repo }}" repo: "{{ hyprcursor.repo }}"
version: "{{ hyprcursor.vers }}" version: "{{ hyprcursor.vers }}"
- name: Configure hyprcursor - name: Configure {{ pkg }}
ansible.builtin.command: ansible.builtin.command:
creates: "{{ hyprcursor.git_path }}/build" creates: "{{ hyprcursor.git_path }}/build"
chdir: "{{ hyprcursor.git_path }}" chdir: "{{ hyprcursor.git_path }}"
@@ -39,7 +39,7 @@
- -B - -B
- ./build - ./build
- name: Build hyprcursor - name: Build {{ pkg }}
ansible.builtin.command: ansible.builtin.command:
creates: "{{ hyprcursor.git_path }}/build/hyprcursor.so" creates: "{{ hyprcursor.git_path }}/build/hyprcursor.so"
chdir: "{{ hyprcursor.git_path }}" chdir: "{{ hyprcursor.git_path }}"
@@ -54,7 +54,7 @@
- -j - -j
- "{{ ansible_processor_nproc|int }}" - "{{ ansible_processor_nproc|int }}"
- name: Install hyprcursor - name: Install {{ pkg }}
become: true become: true
ansible.builtin.command: ansible.builtin.command:
creates: "{{ path.bin }}/hyprcursor" creates: "{{ path.bin }}/hyprcursor"

View File

@@ -1,4 +1,4 @@
- name: Remove existing install - name: Remove existing install of {{ pkg }}
when: when:
- hyprland_clean - hyprland_clean
become: "{{ ext_become }}" become: "{{ ext_become }}"
@@ -9,23 +9,23 @@
state: absent state: absent
path: "{{ hyprland.prefix }}/{{ file }}" path: "{{ hyprland.prefix }}/{{ file }}"
- name: Check if hyprgraphics is installed - name: Check for existing install {{ pkg }}
register: stat_hyprgraphics_inst register: stat_hyprgraphics_inst
ansible.builtin.stat: ansible.builtin.stat:
path: "{{ hyprland.prefix }}/{{ lib_path }}/libhyprgraphics.so" path: "{{ hyprland.prefix }}/{{ lib_path }}/libhyprgraphics.so"
- name: Build and install hyprgraphics - name: Build and install {{ pkg }}
when: when:
- not stat_hyprgraphics_inst.stat.exists - not stat_hyprgraphics_inst.stat.exists
block: block:
- name: Clone git repository - name: Clone git repository {{ pkg }}
ansible.builtin.git: ansible.builtin.git:
depth: 1 depth: 1
dest: "{{ hyprgraphics.git_path }}" dest: "{{ hyprgraphics.git_path }}"
repo: "{{ hyprgraphics.repo }}" repo: "{{ hyprgraphics.repo }}"
version: "{{ hyprgraphics.vers }}" version: "{{ hyprgraphics.vers }}"
- name: Configure hyprgraphics - name: Configure {{ pkg }}
ansible.builtin.command: ansible.builtin.command:
creates: "{{ hyprgraphics.git_path }}/build" creates: "{{ hyprgraphics.git_path }}/build"
chdir: "{{ hyprgraphics.git_path }}" chdir: "{{ hyprgraphics.git_path }}"
@@ -39,7 +39,7 @@
- -B - -B
- ./build - ./build
- name: Build hyprgraphics - name: Build {{ pkg }}
ansible.builtin.command: ansible.builtin.command:
creates: "{{ hyprgraphics.git_path }}/build/libhyprgraphics.so" creates: "{{ hyprgraphics.git_path }}/build/libhyprgraphics.so"
chdir: "{{ hyprgraphics.git_path }}" chdir: "{{ hyprgraphics.git_path }}"
@@ -54,7 +54,7 @@
- -j - -j
- "{{ ansible_processor_nproc|int }}" - "{{ ansible_processor_nproc|int }}"
- name: Install hyprgraphics - name: Install {{ pkg }}
become: true become: true
ansible.builtin.command: ansible.builtin.command:
creates: "{{ path.bin }}/hyprgraphics" creates: "{{ path.bin }}/hyprgraphics"

View File

@@ -1,4 +1,4 @@
- name: Remove existing install - name: Remove existing install of {{ pkg }}
when: when:
- hyprland_clean - hyprland_clean
become: "{{ ext_become }}" become: "{{ ext_become }}"
@@ -9,16 +9,16 @@
state: absent state: absent
path: "{{ hyprland.prefix }}/{{ file }}" path: "{{ hyprland.prefix }}/{{ file }}"
- name: Check if hypridle is installed - name: Check for existing install of {{ pkg }}
register: stat_hypridle_bin register: stat_hypridle_bin
ansible.builtin.stat: ansible.builtin.stat:
path: "{{ hyprland.prefix }}/bin/hypridle" path: "{{ hyprland.prefix }}/bin/hypridle"
- name: Build and install hypridle - name: Build and install {{ pkg }}
when: when:
- not stat_hypridle_bin.stat.exists - not stat_hypridle_bin.stat.exists
block: block:
- name: Clone git repository - name: Clone git repository {{ pkg }}
ansible.builtin.git: ansible.builtin.git:
depth: 1 depth: 1
dest: "{{ hypridle.git_path }}" dest: "{{ hypridle.git_path }}"
@@ -26,14 +26,14 @@
repo: "{{ hypridle.repo }}" repo: "{{ hypridle.repo }}"
version: "{{ hypridle.vers }}" version: "{{ hypridle.vers }}"
- name: Apply cmakelists patch - name: Apply cmakelists patch {{ pkg }}
ansible.posix.patch: ansible.posix.patch:
basedir: "{{ hypridle.git_path }}" basedir: "{{ hypridle.git_path }}"
src: hypridle/cmakelists.patch src: hypridle/cmakelists.patch
state: present state: present
strip: 1 strip: 1
- name: Configure hypridle - name: Configure {{ pkg }}
ansible.builtin.command: ansible.builtin.command:
creates: "{{ hypridle.git_path }}/build" creates: "{{ hypridle.git_path }}/build"
chdir: "{{ hypridle.git_path }}" chdir: "{{ hypridle.git_path }}"
@@ -47,7 +47,7 @@
- -B - -B
- ./build - ./build
- name: Build hypridle - name: Build {{ pkg }}
ansible.builtin.command: ansible.builtin.command:
creates: "{{ hypridle.git_path }}/build/hypridle" creates: "{{ hypridle.git_path }}/build/hypridle"
chdir: "{{ hypridle.git_path }}" chdir: "{{ hypridle.git_path }}"
@@ -62,7 +62,7 @@
- -j - -j
- "{{ ansible_processor_nproc|int }}" - "{{ ansible_processor_nproc|int }}"
- name: Install hypridle - name: Install {{ pkg }}
become: true become: true
ansible.builtin.command: ansible.builtin.command:
creates: "{{ path.bin }}/hypridle" creates: "{{ path.bin }}/hypridle"

View File

@@ -1,4 +1,4 @@
- name: Remove existing install - name: Remove existing install of {{ pkg }}
when: when:
- hyprland_clean - hyprland_clean
become: "{{ ext_become }}" become: "{{ ext_become }}"
@@ -9,12 +9,12 @@
state: absent state: absent
path: "{{ hyprland.prefix }}/{{ file }}" path: "{{ hyprland.prefix }}/{{ file }}"
- name: Check if hyprland is installed - name: Check for existing install of {{ pkg }}
register: stat_hyprland_bin register: stat_hyprland_bin
ansible.builtin.stat: ansible.builtin.stat:
path: "{{ hyprland.prefix }}/bin/Hyprland" path: "{{ hyprland.prefix }}/bin/Hyprland"
- name: Build and install hyprland - name: Build and install {{ pkg }}
when: when:
- not stat_hyprland_bin.stat.exists - not stat_hyprland_bin.stat.exists
block: block:
@@ -26,7 +26,7 @@
repo: "{{ hyprland.repo }}" repo: "{{ hyprland.repo }}"
version: "{{ hyprland.vers }}" version: "{{ hyprland.vers }}"
- name: Configure hyprland - name: Configure {{ pkg }}
ansible.builtin.command: ansible.builtin.command:
creates: "{{ hyprland.git_path }}/build" creates: "{{ hyprland.git_path }}/build"
chdir: "{{ hyprland.git_path }}" chdir: "{{ hyprland.git_path }}"
@@ -40,7 +40,7 @@
- -B - -B
- ./build - ./build
- name: Build hyprland - name: Build {{ pkg }}
ansible.builtin.command: ansible.builtin.command:
creates: "{{ hyprland.git_path }}/build/Hyprland" creates: "{{ hyprland.git_path }}/build/Hyprland"
chdir: "{{ hyprland.git_path }}" chdir: "{{ hyprland.git_path }}"
@@ -55,7 +55,7 @@
- -j - -j
- "{{ ansible_processor_nproc|int }}" - "{{ ansible_processor_nproc|int }}"
- name: Install hyprland - name: Install {{ pkg }}
become: true become: true
ansible.builtin.command: ansible.builtin.command:
creates: "{{ path.bin }}/hyprland" creates: "{{ path.bin }}/hyprland"

View File

@@ -1,6 +1,6 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Remove existing install - name: Remove existing install of {{ pkg }}
when: when:
- hyprland_clean - hyprland_clean
become: true become: true
@@ -11,7 +11,7 @@
state: absent state: absent
path: "{{ hyprland.prefix }}/{{ file }}" path: "{{ hyprland.prefix }}/{{ file }}"
- name: Check if hyprland-protocols is installed - name: Check for existing install of {{ pkg }}
register: stat_hyprland_protocols_inst register: stat_hyprland_protocols_inst
ansible.builtin.stat: ansible.builtin.stat:
path: "{{ hyprland.prefix }}/share/hyprland-protocols/protocols/hyprland-ctm-control-v1.xml" path: "{{ hyprland.prefix }}/share/hyprland-protocols/protocols/hyprland-ctm-control-v1.xml"
@@ -28,7 +28,7 @@
repo: "{{ hyprland_protocols.repo }}" repo: "{{ hyprland_protocols.repo }}"
version: "{{ hyprland_protocols.vers }}" version: "{{ hyprland_protocols.vers }}"
- name: Build hyprland-protocols - name: Build {{ pkg }}
ansible.builtin.command: ansible.builtin.command:
creates: "{{ hyprland_protocols.git_path }}/build/build.ninja" creates: "{{ hyprland_protocols.git_path }}/build/build.ninja"
chdir: "{{ hyprland_protocols.git_path }}" chdir: "{{ hyprland_protocols.git_path }}"
@@ -38,7 +38,7 @@
- --prefix={{ hyprland.prefix }} - --prefix={{ hyprland.prefix }}
- build - build
- name: Install hyprland-protocols - name: Install {{ pkg }}
become: true become: true
ansible.builtin.command: ansible.builtin.command:
creates: "{{ hyprland.prefix }}/share/hyprland-protocols/protocols/hyprland-ctm-control-v1.xml" creates: "{{ hyprland.prefix }}/share/hyprland-protocols/protocols/hyprland-ctm-control-v1.xml"

View File

@@ -1,4 +1,4 @@
- name: Remove existing install - name: Remove existing install of {{ pkg }}
when: when:
- hyprland_clean - hyprland_clean
become: "{{ ext_become }}" become: "{{ ext_become }}"
@@ -9,12 +9,12 @@
state: absent state: absent
path: "{{ hyprland.prefix }}/{{ file }}" path: "{{ hyprland.prefix }}/{{ file }}"
- name: Check if hyprland_qt_support is installed - name: Check for installed {{ pkg }}
register: stat_hyprland_qt_support_bin register: stat_hyprland_qt_support_bin
ansible.builtin.stat: ansible.builtin.stat:
path: "{{ hyprland.prefix }}/bin/hyprland_qt_support" path: "{{ hyprland.prefix }}/bin/hyprland_qt_support"
- name: Build and install hyprland_qt_support - name: Build and install {{ pkg }}
when: when:
- not stat_hyprland_qt_support_bin.stat.exists - not stat_hyprland_qt_support_bin.stat.exists
block: block:
@@ -26,7 +26,7 @@
repo: "{{ hyprland_qt_support.repo }}" repo: "{{ hyprland_qt_support.repo }}"
version: "{{ hyprland_qt_support.vers }}" version: "{{ hyprland_qt_support.vers }}"
- name: Configure hyprland_qt_support - name: Configure {{ pkg }}
ansible.builtin.command: ansible.builtin.command:
creates: "{{ hyprland_qt_support.git_path }}/build" creates: "{{ hyprland_qt_support.git_path }}/build"
chdir: "{{ hyprland_qt_support.git_path }}" chdir: "{{ hyprland_qt_support.git_path }}"
@@ -41,7 +41,7 @@
- -B - -B
- ./build - ./build
- name: Build hyprland_qt_support - name: Build {{ pkg }}
ansible.builtin.command: ansible.builtin.command:
creates: "{{ hyprland_qt_support.git_path }}/build/hyprland_qt_support" creates: "{{ hyprland_qt_support.git_path }}/build/hyprland_qt_support"
chdir: "{{ hyprland_qt_support.git_path }}" chdir: "{{ hyprland_qt_support.git_path }}"
@@ -56,7 +56,7 @@
- -j - -j
- "{{ ansible_processor_nproc|int }}" - "{{ ansible_processor_nproc|int }}"
- name: Install hyprland_qt_support - name: Install {{ pkg }}
become: true become: true
ansible.builtin.command: ansible.builtin.command:
creates: "{{ path.bin }}/hyprland_qt_support" creates: "{{ path.bin }}/hyprland_qt_support"

View File

@@ -1,4 +1,4 @@
- name: Remove existing install - name: Remove existing install of {{ pkg }}
when: when:
- hyprland_clean - hyprland_clean
become: "{{ ext_become }}" become: "{{ ext_become }}"
@@ -9,16 +9,16 @@
state: absent state: absent
path: "{{ hyprland.prefix }}/{{ file }}" path: "{{ hyprland.prefix }}/{{ file }}"
- name: Check if hyprland_qtutils is installed - name: Check for installed {{ pkg }}
register: stat_hyprland_qtutils_bin register: stat_hyprland_qtutils_bin
ansible.builtin.stat: ansible.builtin.stat:
path: "{{ hyprland.prefix }}/bin/hyprland_qtutils" path: "{{ hyprland.prefix }}/bin/hyprland_qtutils"
- name: Build and install hyprland_qtutils - name: Build and install {{ pkg }}
when: when:
- not stat_hyprland_qtutils_bin.stat.exists - not stat_hyprland_qtutils_bin.stat.exists
block: block:
- name: Clone git repository - name: Clone git repository {{ pkg }}
ansible.builtin.git: ansible.builtin.git:
depth: 1 depth: 1
dest: "{{ hyprland_qtutils.git_path }}" dest: "{{ hyprland_qtutils.git_path }}"
@@ -26,7 +26,7 @@
repo: "{{ hyprland_qtutils.repo }}" repo: "{{ hyprland_qtutils.repo }}"
version: "{{ hyprland_qtutils.vers }}" version: "{{ hyprland_qtutils.vers }}"
- name: Configure hyprland_qtutils - name: Configure {{ pkg }}
ansible.builtin.command: ansible.builtin.command:
creates: "{{ hyprland_qtutils.git_path }}/build" creates: "{{ hyprland_qtutils.git_path }}/build"
chdir: "{{ hyprland_qtutils.git_path }}" chdir: "{{ hyprland_qtutils.git_path }}"
@@ -40,7 +40,7 @@
- -B - -B
- ./build - ./build
- name: Build hyprland_qtutils - name: Build {{ pkg }}
ansible.builtin.command: ansible.builtin.command:
creates: "{{ hyprland_qtutils.git_path }}/build/hyprland_qtutils" creates: "{{ hyprland_qtutils.git_path }}/build/hyprland_qtutils"
chdir: "{{ hyprland_qtutils.git_path }}" chdir: "{{ hyprland_qtutils.git_path }}"
@@ -55,7 +55,7 @@
- -j - -j
- "{{ ansible_processor_nproc|int }}" - "{{ ansible_processor_nproc|int }}"
- name: Install hyprland_qtutils - name: Install {{ pkg }}
become: true become: true
ansible.builtin.command: ansible.builtin.command:
creates: "{{ path.bin }}/hyprland_qtutils" creates: "{{ path.bin }}/hyprland_qtutils"

View File

@@ -1,4 +1,4 @@
- name: Remove existing install - name: Remove existing install {{ pkg }}
when: when:
- hyprland_clean - hyprland_clean
become: true become: true
@@ -9,23 +9,23 @@
state: absent state: absent
path: "{{ hyprland.prefix }}/{{ file }}" path: "{{ hyprland.prefix }}/{{ file }}"
- name: Check if hyprlang is installed - name: Check for installed {{ pkg }}
register: stat_hyprlang_inst register: stat_hyprlang_inst
ansible.builtin.stat: ansible.builtin.stat:
path: "{{ hyprland.prefix }}/{{ lib_path }}/libhyprlang.so" path: "{{ hyprland.prefix }}/{{ lib_path }}/libhyprlang.so"
- name: Build and install hyprlang - name: Build and install {{ pkg }}
when: when:
- not stat_hyprlang_inst.stat.exists - not stat_hyprlang_inst.stat.exists
block: block:
- name: Clone git repository - name: Clone git repository {{ pkg }}
ansible.builtin.git: ansible.builtin.git:
depth: 1 depth: 1
dest: "{{ hyprlang.git_path }}" dest: "{{ hyprlang.git_path }}"
repo: "{{ hyprlang.repo }}" repo: "{{ hyprlang.repo }}"
version: "{{ hyprlang.vers }}" version: "{{ hyprlang.vers }}"
- name: Configure hyprlang - name: Configure {{ pkg }}
ansible.builtin.command: ansible.builtin.command:
creates: "{{ hyprlang.git_path }}/build" creates: "{{ hyprlang.git_path }}/build"
chdir: "{{ hyprlang.git_path }}" chdir: "{{ hyprlang.git_path }}"
@@ -39,7 +39,7 @@
- -B - -B
- ./build - ./build
- name: Build hyprlang - name: Build {{ pkg }}
ansible.builtin.command: ansible.builtin.command:
creates: "{{ hyprlang.git_path }}/build/hyprlang.so" creates: "{{ hyprlang.git_path }}/build/hyprlang.so"
chdir: "{{ hyprlang.git_path }}" chdir: "{{ hyprlang.git_path }}"
@@ -54,7 +54,7 @@
- -j - -j
- "{{ ansible_processor_nproc|int }}" - "{{ ansible_processor_nproc|int }}"
- name: Install hyprlang - name: Install {{ pkg }}
become: true become: true
ansible.builtin.command: ansible.builtin.command:
creates: "{{ path.bin }}/hyprlang" creates: "{{ path.bin }}/hyprlang"

View File

@@ -1,4 +1,4 @@
- name: Remove existing install - name: Remove existing install {{ pkg }}
when: when:
- hyprland_clean - hyprland_clean
become: "{{ ext_become }}" become: "{{ ext_become }}"
@@ -9,16 +9,16 @@
state: absent state: absent
path: "{{ hyprland.prefix }}/{{ file }}" path: "{{ hyprland.prefix }}/{{ file }}"
- name: Check if hyprlock is installed - name: Check for installed {{ pkg }}
register: stat_hyprlock_bin register: stat_hyprlock_bin
ansible.builtin.stat: ansible.builtin.stat:
path: "{{ hyprland.prefix }}/bin/hyprlock" path: "{{ hyprland.prefix }}/bin/hyprlock"
- name: Build and install hyprlock - name: Build and install {{ pkg }}
when: when:
- not stat_hyprlock_bin.stat.exists - not stat_hyprlock_bin.stat.exists
block: block:
- name: Clone git repository - name: Clone git repository {{ pkg }}
ansible.builtin.git: ansible.builtin.git:
depth: 1 depth: 1
dest: "{{ hyprlock.git_path }}" dest: "{{ hyprlock.git_path }}"
@@ -26,14 +26,14 @@
repo: "{{ hyprlock.repo }}" repo: "{{ hyprlock.repo }}"
version: "{{ hyprlock.vers }}" version: "{{ hyprlock.vers }}"
- name: Apply cmakelists patch - name: Apply cmakelists patch {{ pkg }}
ansible.posix.patch: ansible.posix.patch:
basedir: "{{ hyprlock.git_path }}" basedir: "{{ hyprlock.git_path }}"
src: hyprlock/cmakelists.patch src: hyprlock/cmakelists.patch
state: present state: present
strip: 1 strip: 1
- name: Configure hyprlock - name: Configure {{ pkg }}
ansible.builtin.command: ansible.builtin.command:
creates: "{{ hyprlock.git_path }}/build" creates: "{{ hyprlock.git_path }}/build"
chdir: "{{ hyprlock.git_path }}" chdir: "{{ hyprlock.git_path }}"
@@ -47,7 +47,7 @@
- -B - -B
- ./build - ./build
- name: Build hyprlock - name: Build {{ pkg }}
ansible.builtin.command: ansible.builtin.command:
creates: "{{ hyprlock.git_path }}/build/hyprlock" creates: "{{ hyprlock.git_path }}/build/hyprlock"
chdir: "{{ hyprlock.git_path }}" chdir: "{{ hyprlock.git_path }}"
@@ -62,7 +62,7 @@
- -j - -j
- "{{ ansible_processor_nproc|int }}" - "{{ ansible_processor_nproc|int }}"
- name: Install hyprlock - name: Install {{ pkg }}
become: true become: true
ansible.builtin.command: ansible.builtin.command:
creates: "{{ path.bin }}/hyprlock" creates: "{{ path.bin }}/hyprlock"

View File

@@ -1,4 +1,4 @@
- name: Remove existing install - name: Remove existing install {{ pkg }}
when: when:
- hyprland_clean - hyprland_clean
become: "{{ ext_become }}" become: "{{ ext_become }}"
@@ -9,16 +9,16 @@
state: absent state: absent
path: "{{ hyprland.prefix }}/{{ file }}" path: "{{ hyprland.prefix }}/{{ file }}"
- name: Check if hyprpaper is installed - name: Check for installed {{ pkg }}
register: stat_hyprpaper_bin register: stat_hyprpaper_bin
ansible.builtin.stat: ansible.builtin.stat:
path: "{{ hyprland.prefix }}/bin/hyprpaper" path: "{{ hyprland.prefix }}/bin/hyprpaper"
- name: Build and install hyprpaper - name: Build and install {{ pkg }}
when: when:
- not stat_hyprpaper_bin.stat.exists - not stat_hyprpaper_bin.stat.exists
block: block:
- name: Clone git repository - name: Clone git repository {{ pkg }}
ansible.builtin.git: ansible.builtin.git:
depth: 1 depth: 1
dest: "{{ hyprpaper.git_path }}" dest: "{{ hyprpaper.git_path }}"
@@ -26,7 +26,7 @@
repo: "{{ hyprpaper.repo }}" repo: "{{ hyprpaper.repo }}"
version: "{{ hyprpaper.vers }}" version: "{{ hyprpaper.vers }}"
- name: Configure hyprpaper - name: Configure {{ pkg }}
ansible.builtin.command: ansible.builtin.command:
creates: "{{ hyprpaper.git_path }}/build" creates: "{{ hyprpaper.git_path }}/build"
chdir: "{{ hyprpaper.git_path }}" chdir: "{{ hyprpaper.git_path }}"
@@ -40,7 +40,7 @@
- -B - -B
- ./build - ./build
- name: Build hyprpaper - name: Build {{ pkg }}
ansible.builtin.command: ansible.builtin.command:
creates: "{{ hyprpaper.git_path }}/build/hyprpaper" creates: "{{ hyprpaper.git_path }}/build/hyprpaper"
chdir: "{{ hyprpaper.git_path }}" chdir: "{{ hyprpaper.git_path }}"
@@ -55,7 +55,7 @@
- -j - -j
- "{{ ansible_processor_nproc|int }}" - "{{ ansible_processor_nproc|int }}"
- name: Install hyprpaper - name: Install {{ pkg }}
become: true become: true
ansible.builtin.command: ansible.builtin.command:
creates: "{{ path.bin }}/hyprpaper" creates: "{{ path.bin }}/hyprpaper"

View File

@@ -1,4 +1,4 @@
- name: Remove existing install - name: Remove existing install {{ pkg }}
when: when:
- hyprland_clean - hyprland_clean
become: "{{ ext_become }}" become: "{{ ext_become }}"
@@ -9,16 +9,16 @@
state: absent state: absent
path: "{{ hyprland.prefix }}/{{ file }}" path: "{{ hyprland.prefix }}/{{ file }}"
- name: Check if hyprpicker is installed - name: Check for installed {{ pkg }}
register: stat_hyprpicker_bin register: stat_hyprpicker_bin
ansible.builtin.stat: ansible.builtin.stat:
path: "{{ hyprland.prefix }}/bin/hyprpicker" path: "{{ hyprland.prefix }}/bin/hyprpicker"
- name: Build and install hyprpicker - name: Build and install {{ pkg }}
when: when:
- not stat_hyprpicker_bin.stat.exists - not stat_hyprpicker_bin.stat.exists
block: block:
- name: Clone git repository - name: Clone git repository {{ pkg }}
ansible.builtin.git: ansible.builtin.git:
depth: 1 depth: 1
dest: "{{ hyprpicker.git_path }}" dest: "{{ hyprpicker.git_path }}"
@@ -26,7 +26,7 @@
repo: "{{ hyprpicker.repo }}" repo: "{{ hyprpicker.repo }}"
version: "{{ hyprpicker.vers }}" version: "{{ hyprpicker.vers }}"
- name: Configure hyprpicker - name: Configure {{ pkg }}
ansible.builtin.command: ansible.builtin.command:
creates: "{{ hyprpicker.git_path }}/build" creates: "{{ hyprpicker.git_path }}/build"
chdir: "{{ hyprpicker.git_path }}" chdir: "{{ hyprpicker.git_path }}"
@@ -40,7 +40,7 @@
- -B - -B
- ./build - ./build
- name: Build hyprpicker - name: Build {{ pkg }}
ansible.builtin.command: ansible.builtin.command:
creates: "{{ hyprpicker.git_path }}/build/hyprpicker" creates: "{{ hyprpicker.git_path }}/build/hyprpicker"
chdir: "{{ hyprpicker.git_path }}" chdir: "{{ hyprpicker.git_path }}"
@@ -55,7 +55,7 @@
- -j - -j
- "{{ ansible_processor_nproc|int }}" - "{{ ansible_processor_nproc|int }}"
- name: Install hyprpicker - name: Install {{ pkg }}
become: true become: true
ansible.builtin.command: ansible.builtin.command:
creates: "{{ path.bin }}/hyprpicker" creates: "{{ path.bin }}/hyprpicker"

View File

@@ -1,4 +1,4 @@
- name: Remove existing install - name: Remove existing install {{ pkg }}
when: when:
- hyprland_clean - hyprland_clean
become: "{{ ext_become }}" become: "{{ ext_become }}"
@@ -9,16 +9,16 @@
state: absent state: absent
path: "{{ hyprland.prefix }}/{{ file }}" path: "{{ hyprland.prefix }}/{{ file }}"
- name: Check if hyprpolkitagent is installed - name: Check for installed {{ pkg }}
register: stat_hyprpolkitagent_bin register: stat_hyprpolkitagent_bin
ansible.builtin.stat: ansible.builtin.stat:
path: "{{ hyprland.prefix }}/bin/hyprpolkitagent" path: "{{ hyprland.prefix }}/bin/hyprpolkitagent"
- name: Build and install hyprpolkitagent - name: Build and install {{ pkg }}
when: when:
- not stat_hyprpolkitagent_bin.stat.exists - not stat_hyprpolkitagent_bin.stat.exists
block: block:
- name: Clone git repository - name: Clone git repository {{ pkg }}
ansible.builtin.git: ansible.builtin.git:
depth: 1 depth: 1
dest: "{{ hyprpolkitagent.git_path }}" dest: "{{ hyprpolkitagent.git_path }}"
@@ -26,7 +26,7 @@
repo: "{{ hyprpolkitagent.repo }}" repo: "{{ hyprpolkitagent.repo }}"
version: "{{ hyprpolkitagent.vers }}" version: "{{ hyprpolkitagent.vers }}"
- name: Configure hyprpolkitagent - name: Configure {{ pkg }}
ansible.builtin.command: ansible.builtin.command:
creates: "{{ hyprpolkitagent.git_path }}/build" creates: "{{ hyprpolkitagent.git_path }}/build"
chdir: "{{ hyprpolkitagent.git_path }}" chdir: "{{ hyprpolkitagent.git_path }}"
@@ -40,7 +40,7 @@
- -B - -B
- ./build - ./build
- name: Build hyprpolkitagent - name: Build {{ pkg }}
ansible.builtin.command: ansible.builtin.command:
creates: "{{ hyprpolkitagent.git_path }}/build/hyprpolkitagent" creates: "{{ hyprpolkitagent.git_path }}/build/hyprpolkitagent"
chdir: "{{ hyprpolkitagent.git_path }}" chdir: "{{ hyprpolkitagent.git_path }}"
@@ -55,7 +55,7 @@
- -j - -j
- "{{ ansible_processor_nproc|int }}" - "{{ ansible_processor_nproc|int }}"
- name: Install hyprpolkitagent - name: Install {{ pkg }}
become: true become: true
ansible.builtin.command: ansible.builtin.command:
creates: "{{ path.bin }}/hyprpolkitagent" creates: "{{ path.bin }}/hyprpolkitagent"

View File

@@ -1,4 +1,4 @@
- name: Remove existing install - name: Remove existing install {{ pkg }}
when: when:
- hyprland_clean - hyprland_clean
become: "{{ ext_become }}" become: "{{ ext_become }}"
@@ -9,23 +9,23 @@
state: absent state: absent
path: "{{ hyprland.prefix }}/{{ file }}" path: "{{ hyprland.prefix }}/{{ file }}"
- name: Check if hyprutils is installed - name: Check for installed {{ pkg }}
register: stat_hyprutils_inst register: stat_hyprutils_inst
ansible.builtin.stat: ansible.builtin.stat:
path: "{{ hyprland.prefix }}/{{ lib_path }}/libhyprutils.so" path: "{{ hyprland.prefix }}/{{ lib_path }}/libhyprutils.so"
- name: Build and install hyprutils - name: Build and install {{ pkg }}
when: when:
- not stat_hyprutils_inst.stat.exists - not stat_hyprutils_inst.stat.exists
block: block:
- name: Clone git repository - name: Clone git repository {{ pkg }}
ansible.builtin.git: ansible.builtin.git:
depth: 1 depth: 1
dest: "{{ hyprutils.git_path }}" dest: "{{ hyprutils.git_path }}"
repo: "{{ hyprutils.repo }}" repo: "{{ hyprutils.repo }}"
version: "{{ hyprutils.vers }}" version: "{{ hyprutils.vers }}"
- name: Configure hyprutils - name: Configure {{ pkg }}
ansible.builtin.command: ansible.builtin.command:
creates: "{{ hyprutils.git_path }}/build" creates: "{{ hyprutils.git_path }}/build"
chdir: "{{ hyprutils.git_path }}" chdir: "{{ hyprutils.git_path }}"
@@ -39,7 +39,7 @@
- -B - -B
- ./build - ./build
- name: Build hyprutils - name: Build {{ pkg }}
ansible.builtin.command: ansible.builtin.command:
creates: "{{ hyprutils.git_path }}/build/hyprutils.so" creates: "{{ hyprutils.git_path }}/build/hyprutils.so"
chdir: "{{ hyprutils.git_path }}" chdir: "{{ hyprutils.git_path }}"
@@ -54,7 +54,7 @@
- -j - -j
- "{{ ansible_processor_nproc|int }}" - "{{ ansible_processor_nproc|int }}"
- name: Install hyprutils - name: Install {{ pkg }}
become: true become: true
ansible.builtin.command: ansible.builtin.command:
creates: "{{ path.bin }}/hyprutils" creates: "{{ path.bin }}/hyprutils"

View File

@@ -1,4 +1,4 @@
- name: Remove existing install - name: Remove existing install {{ pkg }}
when: when:
- hyprland_clean - hyprland_clean
become: "{{ ext_become }}" become: "{{ ext_become }}"
@@ -9,12 +9,12 @@
state: absent state: absent
path: "{{ hyprland.prefix }}/{{ file }}" path: "{{ hyprland.prefix }}/{{ file }}"
- name: Check if hyprwayland-scanner is installed - name: Check for installed {{ pkg }}
register: stat_hyprwayland_scanner_inst register: stat_hyprwayland_scanner_inst
ansible.builtin.stat: ansible.builtin.stat:
path: "{{ hyprland.prefix }}/bin/hyprwayland-scanner" path: "{{ hyprland.prefix }}/bin/hyprwayland-scanner"
- name: Build and install hyprwayland-scanner - name: Build and install {{ pkg }}
when: when:
- not stat_hyprwayland_scanner_inst.stat.exists - not stat_hyprwayland_scanner_inst.stat.exists
block: block:
@@ -25,7 +25,7 @@
repo: "{{ hyprwayland_scanner.repo }}" repo: "{{ hyprwayland_scanner.repo }}"
version: "{{ hyprwayland_scanner.vers }}" version: "{{ hyprwayland_scanner.vers }}"
- name: Configure hyprwayland-scanner - name: Configure {{ pkg }}
ansible.builtin.command: ansible.builtin.command:
creates: "{{ d_tempdir.path }}/hyprwayland-scanner/build" creates: "{{ d_tempdir.path }}/hyprwayland-scanner/build"
chdir: "{{ d_tempdir.path }}/hyprwayland-scanner" chdir: "{{ d_tempdir.path }}/hyprwayland-scanner"
@@ -35,7 +35,7 @@
- -B - -B
- build - build
- name: Build hyprwayland-scanner - name: Build {{ pkg }}
ansible.builtin.command: ansible.builtin.command:
creates: "{{ d_tempdir.path }}/hyprwayland-scanner/build/hyprwayland-scanner" creates: "{{ d_tempdir.path }}/hyprwayland-scanner/build/hyprwayland-scanner"
chdir: "{{ d_tempdir.path }}/hyprwayland-scanner" chdir: "{{ d_tempdir.path }}/hyprwayland-scanner"
@@ -46,7 +46,7 @@
- -j - -j
- "{{ ansible_processor_nproc|int }}" - "{{ ansible_processor_nproc|int }}"
- name: Install hyprwayland-scanner - name: Install {{ pkg }}
become: true become: true
ansible.builtin.command: ansible.builtin.command:
creates: "{{ path.bin }}/hyprwayland-scanner" creates: "{{ path.bin }}/hyprwayland-scanner"

View File

@@ -1,4 +1,4 @@
- name: Remove existing install - name: Remove existing install {{ pkg }}
when: when:
- nwg_hello.clean - nwg_hello.clean
become: true become: true
@@ -9,23 +9,23 @@
state: absent state: absent
path: "{{ file }}" path: "{{ file }}"
- name: Check if nwg-hello is installed - name: Check for installed {{ pkg }}
register: stat_nwg_hello_inst register: stat_nwg_hello_inst
ansible.builtin.stat: ansible.builtin.stat:
path: /etc/nwg-hello path: /etc/nwg-hello
- name: Build and install nwg-hello - name: Build and install {{ pkg }}
when: when:
- not stat_nwg_hello_inst.stat.exists - not stat_nwg_hello_inst.stat.exists
block: block:
- name: Clone git repository - name: Clone git repository {{ pkg }}
ansible.builtin.git: ansible.builtin.git:
depth: 1 depth: 1
dest: "{{ nwg_hello.git_path }}" dest: "{{ nwg_hello.git_path }}"
repo: "{{ nwg_hello.git_repo }}" repo: "{{ nwg_hello.git_repo }}"
version: "{{ nwg_hello.vers }}" version: "{{ nwg_hello.vers }}"
- name: Apply patch Alpine linux - name: Apply patch Alpine linux {{ pkg }}
when: when:
- ansible_os_family == 'Alpine' - ansible_os_family == 'Alpine'
ansible.posix.patch: ansible.posix.patch:
@@ -34,7 +34,7 @@
state: present state: present
strip: 1 strip: 1
- name: Install nwg-hello - name: Install {{ pkg }}
become: true become: true
ansible.builtin.command: ansible.builtin.command:
creates: /etc/nwg-hello creates: /etc/nwg-hello

View File

@@ -1,4 +1,4 @@
- name: Remove existing install - name: Remove existing install {{ pkg }}
when: when:
- sdbus_cpp_2.clean - sdbus_cpp_2.clean
become: true become: true
@@ -9,16 +9,16 @@
state: absent state: absent
path: "{{ sdbus_cpp_2.prefix }}/{{ file }}" path: "{{ sdbus_cpp_2.prefix }}/{{ file }}"
- name: Check if sdbus-cpp-2 is installed - name: Check for installed {{ pkg }}
register: stat_sdbus_cpp_2_inst register: stat_sdbus_cpp_2_inst
ansible.builtin.stat: ansible.builtin.stat:
path: "{{ sdbus_cpp_2.prefix }}/{{ lib_path }}/libsdbus-c++.so" path: "{{ sdbus_cpp_2.prefix }}/{{ lib_path }}/libsdbus-c++.so"
- name: Build and install sdbus-cpp-2 - name: Build and install {{ pkg }}
when: when:
- not stat_sdbus_cpp_2_inst.stat.exists - not stat_sdbus_cpp_2_inst.stat.exists
block: block:
- name: Clone git repository - name: Clone git repository {{ pkg }}
ansible.builtin.git: ansible.builtin.git:
depth: 1 depth: 1
recursive: true recursive: true
@@ -26,7 +26,7 @@
repo: "{{ sdbus_cpp_2.repo }}" repo: "{{ sdbus_cpp_2.repo }}"
version: "{{ sdbus_cpp_2.vers }}" version: "{{ sdbus_cpp_2.vers }}"
- name: Configure sdbus-cpp-2 - name: Configure {{ pkg }}
ansible.builtin.command: ansible.builtin.command:
creates: "{{ sdbus_cpp_2.git_path }}/build" creates: "{{ sdbus_cpp_2.git_path }}/build"
chdir: "{{ sdbus_cpp_2.git_path }}" chdir: "{{ sdbus_cpp_2.git_path }}"
@@ -40,7 +40,7 @@
- -B - -B
- ./build - ./build
- name: Build sdbus-cpp-2 - name: Build {{ pkg }}
ansible.builtin.command: ansible.builtin.command:
creates: "{{ sdbus_cpp_2.git_path }}/build/libsdbus-c++.so" creates: "{{ sdbus_cpp_2.git_path }}/build/libsdbus-c++.so"
chdir: "{{ sdbus_cpp_2.git_path }}" chdir: "{{ sdbus_cpp_2.git_path }}"
@@ -55,7 +55,7 @@
- -j - -j
- "{{ ansible_processor_nproc|int }}" - "{{ ansible_processor_nproc|int }}"
- name: Install sdbus_cpp_2 - name: Install {{ pkg }}
become: true become: true
ansible.builtin.command: ansible.builtin.command:
creates: "{{ sdbus_cpp_2.prefix }}/{{ lib_path }}/libsdbus-c++.so" creates: "{{ sdbus_cpp_2.prefix }}/{{ lib_path }}/libsdbus-c++.so"

View File

@@ -1,11 +1,11 @@
- name: Clone git repository - name: Clone git repository {{ pkg }}
ansible.builtin.git: ansible.builtin.git:
depth: 1 depth: 1
dest: "{{ d_tempdir.path }}/uwsm" dest: "{{ d_tempdir.path }}/uwsm"
repo: "{{ uwsm.repo }}" repo: "{{ uwsm.repo }}"
version: "v{{ uwsm.vers }}" version: "v{{ uwsm.vers }}"
- name: Build uwsm - name: Build {{ pkg }}
ansible.builtin.command: ansible.builtin.command:
creates: "{{ d_tempdir.path }}/uwsm/build" creates: "{{ d_tempdir.path }}/uwsm/build"
chdir: "{{ d_tempdir.path }}/uwsm" chdir: "{{ d_tempdir.path }}/uwsm"
@@ -18,7 +18,7 @@
- -Duwsm-app=enabled - -Duwsm-app=enabled
- build - build
- name: Install uwsm - name: Install {{ pkg }}
become: true become: true
ansible.builtin.command: ansible.builtin.command:
creates: "{{ hyprland.prefix }}/bin/uwsm" creates: "{{ hyprland.prefix }}/bin/uwsm"

View File

@@ -1,4 +1,4 @@
- name: Remove existing install - name: Remove existing install {{ pkg }}
when: when:
- hyprland_clean - hyprland_clean
become: "{{ ext_become }}" become: "{{ ext_become }}"
@@ -9,16 +9,16 @@
state: absent state: absent
path: "{{ hyprland.prefix }}/{{ file }}" path: "{{ hyprland.prefix }}/{{ file }}"
- name: Check if xdg_desktop_portal_hyprland is installed - name: Check for installed {{ pkg }}
register: stat_xdg_desktop_portal_hyprland_bin register: stat_xdg_desktop_portal_hyprland_bin
ansible.builtin.stat: ansible.builtin.stat:
path: "{{ hyprland.prefix }}/bin/hyprland-share-picker" path: "{{ hyprland.prefix }}/bin/hyprland-share-picker"
- name: Build and install xdg_desktop_portal_hyprland - name: Build and install {{ pkg }}
when: when:
- not stat_xdg_desktop_portal_hyprland_bin.stat.exists - not stat_xdg_desktop_portal_hyprland_bin.stat.exists
block: block:
- name: Clone git repository - name: Clone git repository {{ pkg }}
ansible.builtin.git: ansible.builtin.git:
depth: 1 depth: 1
dest: "{{ xdg_desktop_portal_hyprland.git_path }}" dest: "{{ xdg_desktop_portal_hyprland.git_path }}"
@@ -26,7 +26,7 @@
repo: "{{ xdg_desktop_portal_hyprland.repo }}" repo: "{{ xdg_desktop_portal_hyprland.repo }}"
version: "{{ xdg_desktop_portal_hyprland.vers }}" version: "{{ xdg_desktop_portal_hyprland.vers }}"
- name: Configure xdg_desktop_portal_hyprland - name: Configure {{ pkg }}
ansible.builtin.command: ansible.builtin.command:
creates: "{{ xdg_desktop_portal_hyprland.git_path }}/build" creates: "{{ xdg_desktop_portal_hyprland.git_path }}/build"
chdir: "{{ xdg_desktop_portal_hyprland.git_path }}" chdir: "{{ xdg_desktop_portal_hyprland.git_path }}"
@@ -37,7 +37,7 @@
- -B - -B
- ./build - ./build
- name: Build xdg_desktop_portal_hyprland - name: Build {{ pkg }}
ansible.builtin.command: ansible.builtin.command:
creates: "{{ xdg_desktop_portal_hyprland.git_path }}/build/xdg-desktop-portal-hyprland" creates: "{{ xdg_desktop_portal_hyprland.git_path }}/build/xdg-desktop-portal-hyprland"
chdir: "{{ xdg_desktop_portal_hyprland.git_path }}" chdir: "{{ xdg_desktop_portal_hyprland.git_path }}"
@@ -52,7 +52,7 @@
- -j - -j
- "{{ ansible_processor_nproc|int }}" - "{{ ansible_processor_nproc|int }}"
- name: Install xdg_desktop_portal_hyprland - name: Install {{ pkg }}
become: true become: true
ansible.builtin.command: ansible.builtin.command:
creates: "{{ path.bin }}/hyprland-share-picker" creates: "{{ path.bin }}/hyprland-share-picker"