From bfd3afd3536c1f49a02934369ce2543632ad5b3b Mon Sep 17 00:00:00 2001 From: Matthew Stobbs Date: Sun, 16 Mar 2025 20:17:28 -0600 Subject: [PATCH] updated src builds --- tasks/src/aquamarine.yml | 16 ++++++++-------- tasks/src/ghostty.yml | 6 +++--- tasks/src/hyprcursor.yml | 14 +++++++------- tasks/src/hyprgraphics.yml | 14 +++++++------- tasks/src/hypridle.yml | 16 ++++++++-------- tasks/src/hyprland.yml | 12 ++++++------ tasks/src/hyprland_protocols.yml | 8 ++++---- tasks/src/hyprland_qt_support.yml | 12 ++++++------ tasks/src/hyprland_qtutils.yml | 14 +++++++------- tasks/src/hyprlang.yml | 14 +++++++------- tasks/src/hyprlock.yml | 16 ++++++++-------- tasks/src/hyprpaper.yml | 14 +++++++------- tasks/src/hyprpicker.yml | 14 +++++++------- tasks/src/hyprpolkitagent.yml | 14 +++++++------- tasks/src/hyprutils.yml | 14 +++++++------- tasks/src/hyprwayland_scanner.yml | 12 ++++++------ tasks/src/nwg_hello.yml | 12 ++++++------ tasks/src/sdbus_cpp_2.yml | 14 +++++++------- tasks/src/uwsm.yml | 6 +++--- tasks/src/xdg_desktop_portal_hyprland.yml | 14 +++++++------- 20 files changed, 128 insertions(+), 128 deletions(-) diff --git a/tasks/src/aquamarine.yml b/tasks/src/aquamarine.yml index 8ea546e..a4c2754 100644 --- a/tasks/src/aquamarine.yml +++ b/tasks/src/aquamarine.yml @@ -1,4 +1,4 @@ -- name: Remove existing install +- name: Remove existing install {{ pkg }} when: - hyprland_clean become: true @@ -9,23 +9,23 @@ state: absent path: "{{ hyprland.prefix }}/{{ file }}" -- name: Check if aquamarine is installed +- name: Check for installed {{ pkg }} register: stat_aquamarine_inst ansible.builtin.stat: path: "{{ hyprland.prefix }}/{{ lib_path }}/libaquamarine.so" -- name: Build and install aquamarine +- name: Build and install {{ pkg }} when: - not stat_aquamarine_inst.stat.exists block: - - name: Clone git repository + - name: Clone git repository {{ pkg }} ansible.builtin.git: depth: 1 dest: "{{ aquamarine.git_path }}" repo: "{{ aquamarine.repo }}" version: "{{ aquamarine.vers }}" - - name: Apply patch for alpine linux + - name: Apply patch for alpine linux {{ pkg }} when: - ansible_os_family == 'Alpine' ansible.posix.patch: @@ -34,7 +34,7 @@ state: present strip: 1 - - name: Configure aquamarine + - name: Configure {{ pkg }} ansible.builtin.command: creates: "{{ aquamarine.git_path }}/build" chdir: "{{ aquamarine.git_path }}" @@ -48,7 +48,7 @@ - -B - ./build - - name: Build aquamarine + - name: Build {{ pkg }} ansible.builtin.command: creates: "{{ aquamarine.git_path }}/build/libaquamarine.so" chdir: "{{ aquamarine.git_path }}" @@ -63,7 +63,7 @@ - -j - "{{ ansible_processor_nproc|int }}" - - name: Install aquamarine + - name: Install {{ pkg }} become: true ansible.builtin.command: creates: "{{ hyprland.prefix }}/{{ lib_path }}/libaquamarine.so" diff --git a/tasks/src/ghostty.yml b/tasks/src/ghostty.yml index 92816f5..1d45fe2 100644 --- a/tasks/src/ghostty.yml +++ b/tasks/src/ghostty.yml @@ -1,15 +1,15 @@ # vim: set filetype=yaml.ansible : --- -- name: Build ghostty from source +- name: Install and build source for {{ pkg }} block: - - name: Clone ghostty git repository + - name: Clone git repository {{ pkg }} ansible.builtin.git: depth: 1 dest: "{{ d_tempdir.path }}/ghostty" repo: "{{ ghostty.repo }}" version: "{{ ghostty.vers }}" - - name: Build ghostty + - name: Build {{ pkg }} become: "{{ ext_become }}" register: c_ghostty_build ansible.builtin.command: diff --git a/tasks/src/hyprcursor.yml b/tasks/src/hyprcursor.yml index 06bd905..df2b857 100644 --- a/tasks/src/hyprcursor.yml +++ b/tasks/src/hyprcursor.yml @@ -1,4 +1,4 @@ -- name: Remove existing install +- name: Remove existing install of {{ pkg }} when: - hyprland_clean become: "{{ ext_become }}" @@ -9,23 +9,23 @@ state: absent path: "{{ hyprland.prefix }}/{{ file }}" -- name: Check if hyprcursor is installed +- name: Check for installed {{ pkg }} register: stat_hyprcursor_inst ansible.builtin.stat: path: "{{ hyprland.prefix }}/bin/hyprcursor-util" -- name: Build and install hyprcursor +- name: Build and install {{ pkg }} when: - not stat_hyprcursor_inst.stat.exists block: - - name: Clone git repository + - name: Clone git repository {{ pkg }} ansible.builtin.git: depth: 1 dest: "{{ hyprcursor.git_path }}" repo: "{{ hyprcursor.repo }}" version: "{{ hyprcursor.vers }}" - - name: Configure hyprcursor + - name: Configure {{ pkg }} ansible.builtin.command: creates: "{{ hyprcursor.git_path }}/build" chdir: "{{ hyprcursor.git_path }}" @@ -39,7 +39,7 @@ - -B - ./build - - name: Build hyprcursor + - name: Build {{ pkg }} ansible.builtin.command: creates: "{{ hyprcursor.git_path }}/build/hyprcursor.so" chdir: "{{ hyprcursor.git_path }}" @@ -54,7 +54,7 @@ - -j - "{{ ansible_processor_nproc|int }}" - - name: Install hyprcursor + - name: Install {{ pkg }} become: true ansible.builtin.command: creates: "{{ path.bin }}/hyprcursor" diff --git a/tasks/src/hyprgraphics.yml b/tasks/src/hyprgraphics.yml index 866e239..f0be450 100644 --- a/tasks/src/hyprgraphics.yml +++ b/tasks/src/hyprgraphics.yml @@ -1,4 +1,4 @@ -- name: Remove existing install +- name: Remove existing install of {{ pkg }} when: - hyprland_clean become: "{{ ext_become }}" @@ -9,23 +9,23 @@ state: absent path: "{{ hyprland.prefix }}/{{ file }}" -- name: Check if hyprgraphics is installed +- name: Check for existing install {{ pkg }} register: stat_hyprgraphics_inst ansible.builtin.stat: path: "{{ hyprland.prefix }}/{{ lib_path }}/libhyprgraphics.so" -- name: Build and install hyprgraphics +- name: Build and install {{ pkg }} when: - not stat_hyprgraphics_inst.stat.exists block: - - name: Clone git repository + - name: Clone git repository {{ pkg }} ansible.builtin.git: depth: 1 dest: "{{ hyprgraphics.git_path }}" repo: "{{ hyprgraphics.repo }}" version: "{{ hyprgraphics.vers }}" - - name: Configure hyprgraphics + - name: Configure {{ pkg }} ansible.builtin.command: creates: "{{ hyprgraphics.git_path }}/build" chdir: "{{ hyprgraphics.git_path }}" @@ -39,7 +39,7 @@ - -B - ./build - - name: Build hyprgraphics + - name: Build {{ pkg }} ansible.builtin.command: creates: "{{ hyprgraphics.git_path }}/build/libhyprgraphics.so" chdir: "{{ hyprgraphics.git_path }}" @@ -54,7 +54,7 @@ - -j - "{{ ansible_processor_nproc|int }}" - - name: Install hyprgraphics + - name: Install {{ pkg }} become: true ansible.builtin.command: creates: "{{ path.bin }}/hyprgraphics" diff --git a/tasks/src/hypridle.yml b/tasks/src/hypridle.yml index 24a1313..4a3d377 100644 --- a/tasks/src/hypridle.yml +++ b/tasks/src/hypridle.yml @@ -1,4 +1,4 @@ -- name: Remove existing install +- name: Remove existing install of {{ pkg }} when: - hyprland_clean become: "{{ ext_become }}" @@ -9,16 +9,16 @@ state: absent path: "{{ hyprland.prefix }}/{{ file }}" -- name: Check if hypridle is installed +- name: Check for existing install of {{ pkg }} register: stat_hypridle_bin ansible.builtin.stat: path: "{{ hyprland.prefix }}/bin/hypridle" -- name: Build and install hypridle +- name: Build and install {{ pkg }} when: - not stat_hypridle_bin.stat.exists block: - - name: Clone git repository + - name: Clone git repository {{ pkg }} ansible.builtin.git: depth: 1 dest: "{{ hypridle.git_path }}" @@ -26,14 +26,14 @@ repo: "{{ hypridle.repo }}" version: "{{ hypridle.vers }}" - - name: Apply cmakelists patch + - name: Apply cmakelists patch {{ pkg }} ansible.posix.patch: basedir: "{{ hypridle.git_path }}" src: hypridle/cmakelists.patch state: present strip: 1 - - name: Configure hypridle + - name: Configure {{ pkg }} ansible.builtin.command: creates: "{{ hypridle.git_path }}/build" chdir: "{{ hypridle.git_path }}" @@ -47,7 +47,7 @@ - -B - ./build - - name: Build hypridle + - name: Build {{ pkg }} ansible.builtin.command: creates: "{{ hypridle.git_path }}/build/hypridle" chdir: "{{ hypridle.git_path }}" @@ -62,7 +62,7 @@ - -j - "{{ ansible_processor_nproc|int }}" - - name: Install hypridle + - name: Install {{ pkg }} become: true ansible.builtin.command: creates: "{{ path.bin }}/hypridle" diff --git a/tasks/src/hyprland.yml b/tasks/src/hyprland.yml index 58b4b16..3817c68 100644 --- a/tasks/src/hyprland.yml +++ b/tasks/src/hyprland.yml @@ -1,4 +1,4 @@ -- name: Remove existing install +- name: Remove existing install of {{ pkg }} when: - hyprland_clean become: "{{ ext_become }}" @@ -9,12 +9,12 @@ state: absent path: "{{ hyprland.prefix }}/{{ file }}" -- name: Check if hyprland is installed +- name: Check for existing install of {{ pkg }} register: stat_hyprland_bin ansible.builtin.stat: path: "{{ hyprland.prefix }}/bin/Hyprland" -- name: Build and install hyprland +- name: Build and install {{ pkg }} when: - not stat_hyprland_bin.stat.exists block: @@ -26,7 +26,7 @@ repo: "{{ hyprland.repo }}" version: "{{ hyprland.vers }}" - - name: Configure hyprland + - name: Configure {{ pkg }} ansible.builtin.command: creates: "{{ hyprland.git_path }}/build" chdir: "{{ hyprland.git_path }}" @@ -40,7 +40,7 @@ - -B - ./build - - name: Build hyprland + - name: Build {{ pkg }} ansible.builtin.command: creates: "{{ hyprland.git_path }}/build/Hyprland" chdir: "{{ hyprland.git_path }}" @@ -55,7 +55,7 @@ - -j - "{{ ansible_processor_nproc|int }}" - - name: Install hyprland + - name: Install {{ pkg }} become: true ansible.builtin.command: creates: "{{ path.bin }}/hyprland" diff --git a/tasks/src/hyprland_protocols.yml b/tasks/src/hyprland_protocols.yml index dd4a7a9..a0bfbd2 100644 --- a/tasks/src/hyprland_protocols.yml +++ b/tasks/src/hyprland_protocols.yml @@ -1,6 +1,6 @@ # vim: set filetype=yaml.ansible : --- -- name: Remove existing install +- name: Remove existing install of {{ pkg }} when: - hyprland_clean become: true @@ -11,7 +11,7 @@ state: absent path: "{{ hyprland.prefix }}/{{ file }}" -- name: Check if hyprland-protocols is installed +- name: Check for existing install of {{ pkg }} register: stat_hyprland_protocols_inst ansible.builtin.stat: path: "{{ hyprland.prefix }}/share/hyprland-protocols/protocols/hyprland-ctm-control-v1.xml" @@ -28,7 +28,7 @@ repo: "{{ hyprland_protocols.repo }}" version: "{{ hyprland_protocols.vers }}" - - name: Build hyprland-protocols + - name: Build {{ pkg }} ansible.builtin.command: creates: "{{ hyprland_protocols.git_path }}/build/build.ninja" chdir: "{{ hyprland_protocols.git_path }}" @@ -38,7 +38,7 @@ - --prefix={{ hyprland.prefix }} - build - - name: Install hyprland-protocols + - name: Install {{ pkg }} become: true ansible.builtin.command: creates: "{{ hyprland.prefix }}/share/hyprland-protocols/protocols/hyprland-ctm-control-v1.xml" diff --git a/tasks/src/hyprland_qt_support.yml b/tasks/src/hyprland_qt_support.yml index 851b98b..e58ff4e 100644 --- a/tasks/src/hyprland_qt_support.yml +++ b/tasks/src/hyprland_qt_support.yml @@ -1,4 +1,4 @@ -- name: Remove existing install +- name: Remove existing install of {{ pkg }} when: - hyprland_clean become: "{{ ext_become }}" @@ -9,12 +9,12 @@ state: absent path: "{{ hyprland.prefix }}/{{ file }}" -- name: Check if hyprland_qt_support is installed +- name: Check for installed {{ pkg }} register: stat_hyprland_qt_support_bin ansible.builtin.stat: path: "{{ hyprland.prefix }}/bin/hyprland_qt_support" -- name: Build and install hyprland_qt_support +- name: Build and install {{ pkg }} when: - not stat_hyprland_qt_support_bin.stat.exists block: @@ -26,7 +26,7 @@ repo: "{{ hyprland_qt_support.repo }}" version: "{{ hyprland_qt_support.vers }}" - - name: Configure hyprland_qt_support + - name: Configure {{ pkg }} ansible.builtin.command: creates: "{{ hyprland_qt_support.git_path }}/build" chdir: "{{ hyprland_qt_support.git_path }}" @@ -41,7 +41,7 @@ - -B - ./build - - name: Build hyprland_qt_support + - name: Build {{ pkg }} ansible.builtin.command: creates: "{{ hyprland_qt_support.git_path }}/build/hyprland_qt_support" chdir: "{{ hyprland_qt_support.git_path }}" @@ -56,7 +56,7 @@ - -j - "{{ ansible_processor_nproc|int }}" - - name: Install hyprland_qt_support + - name: Install {{ pkg }} become: true ansible.builtin.command: creates: "{{ path.bin }}/hyprland_qt_support" diff --git a/tasks/src/hyprland_qtutils.yml b/tasks/src/hyprland_qtutils.yml index e208ae2..efd9c5f 100644 --- a/tasks/src/hyprland_qtutils.yml +++ b/tasks/src/hyprland_qtutils.yml @@ -1,4 +1,4 @@ -- name: Remove existing install +- name: Remove existing install of {{ pkg }} when: - hyprland_clean become: "{{ ext_become }}" @@ -9,16 +9,16 @@ state: absent path: "{{ hyprland.prefix }}/{{ file }}" -- name: Check if hyprland_qtutils is installed +- name: Check for installed {{ pkg }} register: stat_hyprland_qtutils_bin ansible.builtin.stat: path: "{{ hyprland.prefix }}/bin/hyprland_qtutils" -- name: Build and install hyprland_qtutils +- name: Build and install {{ pkg }} when: - not stat_hyprland_qtutils_bin.stat.exists block: - - name: Clone git repository + - name: Clone git repository {{ pkg }} ansible.builtin.git: depth: 1 dest: "{{ hyprland_qtutils.git_path }}" @@ -26,7 +26,7 @@ repo: "{{ hyprland_qtutils.repo }}" version: "{{ hyprland_qtutils.vers }}" - - name: Configure hyprland_qtutils + - name: Configure {{ pkg }} ansible.builtin.command: creates: "{{ hyprland_qtutils.git_path }}/build" chdir: "{{ hyprland_qtutils.git_path }}" @@ -40,7 +40,7 @@ - -B - ./build - - name: Build hyprland_qtutils + - name: Build {{ pkg }} ansible.builtin.command: creates: "{{ hyprland_qtutils.git_path }}/build/hyprland_qtutils" chdir: "{{ hyprland_qtutils.git_path }}" @@ -55,7 +55,7 @@ - -j - "{{ ansible_processor_nproc|int }}" - - name: Install hyprland_qtutils + - name: Install {{ pkg }} become: true ansible.builtin.command: creates: "{{ path.bin }}/hyprland_qtutils" diff --git a/tasks/src/hyprlang.yml b/tasks/src/hyprlang.yml index c07cd48..2ee4077 100644 --- a/tasks/src/hyprlang.yml +++ b/tasks/src/hyprlang.yml @@ -1,4 +1,4 @@ -- name: Remove existing install +- name: Remove existing install {{ pkg }} when: - hyprland_clean become: true @@ -9,23 +9,23 @@ state: absent path: "{{ hyprland.prefix }}/{{ file }}" -- name: Check if hyprlang is installed +- name: Check for installed {{ pkg }} register: stat_hyprlang_inst ansible.builtin.stat: path: "{{ hyprland.prefix }}/{{ lib_path }}/libhyprlang.so" -- name: Build and install hyprlang +- name: Build and install {{ pkg }} when: - not stat_hyprlang_inst.stat.exists block: - - name: Clone git repository + - name: Clone git repository {{ pkg }} ansible.builtin.git: depth: 1 dest: "{{ hyprlang.git_path }}" repo: "{{ hyprlang.repo }}" version: "{{ hyprlang.vers }}" - - name: Configure hyprlang + - name: Configure {{ pkg }} ansible.builtin.command: creates: "{{ hyprlang.git_path }}/build" chdir: "{{ hyprlang.git_path }}" @@ -39,7 +39,7 @@ - -B - ./build - - name: Build hyprlang + - name: Build {{ pkg }} ansible.builtin.command: creates: "{{ hyprlang.git_path }}/build/hyprlang.so" chdir: "{{ hyprlang.git_path }}" @@ -54,7 +54,7 @@ - -j - "{{ ansible_processor_nproc|int }}" - - name: Install hyprlang + - name: Install {{ pkg }} become: true ansible.builtin.command: creates: "{{ path.bin }}/hyprlang" diff --git a/tasks/src/hyprlock.yml b/tasks/src/hyprlock.yml index ddeb1b3..6794fd6 100644 --- a/tasks/src/hyprlock.yml +++ b/tasks/src/hyprlock.yml @@ -1,4 +1,4 @@ -- name: Remove existing install +- name: Remove existing install {{ pkg }} when: - hyprland_clean become: "{{ ext_become }}" @@ -9,16 +9,16 @@ state: absent path: "{{ hyprland.prefix }}/{{ file }}" -- name: Check if hyprlock is installed +- name: Check for installed {{ pkg }} register: stat_hyprlock_bin ansible.builtin.stat: path: "{{ hyprland.prefix }}/bin/hyprlock" -- name: Build and install hyprlock +- name: Build and install {{ pkg }} when: - not stat_hyprlock_bin.stat.exists block: - - name: Clone git repository + - name: Clone git repository {{ pkg }} ansible.builtin.git: depth: 1 dest: "{{ hyprlock.git_path }}" @@ -26,14 +26,14 @@ repo: "{{ hyprlock.repo }}" version: "{{ hyprlock.vers }}" - - name: Apply cmakelists patch + - name: Apply cmakelists patch {{ pkg }} ansible.posix.patch: basedir: "{{ hyprlock.git_path }}" src: hyprlock/cmakelists.patch state: present strip: 1 - - name: Configure hyprlock + - name: Configure {{ pkg }} ansible.builtin.command: creates: "{{ hyprlock.git_path }}/build" chdir: "{{ hyprlock.git_path }}" @@ -47,7 +47,7 @@ - -B - ./build - - name: Build hyprlock + - name: Build {{ pkg }} ansible.builtin.command: creates: "{{ hyprlock.git_path }}/build/hyprlock" chdir: "{{ hyprlock.git_path }}" @@ -62,7 +62,7 @@ - -j - "{{ ansible_processor_nproc|int }}" - - name: Install hyprlock + - name: Install {{ pkg }} become: true ansible.builtin.command: creates: "{{ path.bin }}/hyprlock" diff --git a/tasks/src/hyprpaper.yml b/tasks/src/hyprpaper.yml index 5192510..5a16d5f 100644 --- a/tasks/src/hyprpaper.yml +++ b/tasks/src/hyprpaper.yml @@ -1,4 +1,4 @@ -- name: Remove existing install +- name: Remove existing install {{ pkg }} when: - hyprland_clean become: "{{ ext_become }}" @@ -9,16 +9,16 @@ state: absent path: "{{ hyprland.prefix }}/{{ file }}" -- name: Check if hyprpaper is installed +- name: Check for installed {{ pkg }} register: stat_hyprpaper_bin ansible.builtin.stat: path: "{{ hyprland.prefix }}/bin/hyprpaper" -- name: Build and install hyprpaper +- name: Build and install {{ pkg }} when: - not stat_hyprpaper_bin.stat.exists block: - - name: Clone git repository + - name: Clone git repository {{ pkg }} ansible.builtin.git: depth: 1 dest: "{{ hyprpaper.git_path }}" @@ -26,7 +26,7 @@ repo: "{{ hyprpaper.repo }}" version: "{{ hyprpaper.vers }}" - - name: Configure hyprpaper + - name: Configure {{ pkg }} ansible.builtin.command: creates: "{{ hyprpaper.git_path }}/build" chdir: "{{ hyprpaper.git_path }}" @@ -40,7 +40,7 @@ - -B - ./build - - name: Build hyprpaper + - name: Build {{ pkg }} ansible.builtin.command: creates: "{{ hyprpaper.git_path }}/build/hyprpaper" chdir: "{{ hyprpaper.git_path }}" @@ -55,7 +55,7 @@ - -j - "{{ ansible_processor_nproc|int }}" - - name: Install hyprpaper + - name: Install {{ pkg }} become: true ansible.builtin.command: creates: "{{ path.bin }}/hyprpaper" diff --git a/tasks/src/hyprpicker.yml b/tasks/src/hyprpicker.yml index e31b845..3fd2879 100644 --- a/tasks/src/hyprpicker.yml +++ b/tasks/src/hyprpicker.yml @@ -1,4 +1,4 @@ -- name: Remove existing install +- name: Remove existing install {{ pkg }} when: - hyprland_clean become: "{{ ext_become }}" @@ -9,16 +9,16 @@ state: absent path: "{{ hyprland.prefix }}/{{ file }}" -- name: Check if hyprpicker is installed +- name: Check for installed {{ pkg }} register: stat_hyprpicker_bin ansible.builtin.stat: path: "{{ hyprland.prefix }}/bin/hyprpicker" -- name: Build and install hyprpicker +- name: Build and install {{ pkg }} when: - not stat_hyprpicker_bin.stat.exists block: - - name: Clone git repository + - name: Clone git repository {{ pkg }} ansible.builtin.git: depth: 1 dest: "{{ hyprpicker.git_path }}" @@ -26,7 +26,7 @@ repo: "{{ hyprpicker.repo }}" version: "{{ hyprpicker.vers }}" - - name: Configure hyprpicker + - name: Configure {{ pkg }} ansible.builtin.command: creates: "{{ hyprpicker.git_path }}/build" chdir: "{{ hyprpicker.git_path }}" @@ -40,7 +40,7 @@ - -B - ./build - - name: Build hyprpicker + - name: Build {{ pkg }} ansible.builtin.command: creates: "{{ hyprpicker.git_path }}/build/hyprpicker" chdir: "{{ hyprpicker.git_path }}" @@ -55,7 +55,7 @@ - -j - "{{ ansible_processor_nproc|int }}" - - name: Install hyprpicker + - name: Install {{ pkg }} become: true ansible.builtin.command: creates: "{{ path.bin }}/hyprpicker" diff --git a/tasks/src/hyprpolkitagent.yml b/tasks/src/hyprpolkitagent.yml index e5b7e08..e620256 100644 --- a/tasks/src/hyprpolkitagent.yml +++ b/tasks/src/hyprpolkitagent.yml @@ -1,4 +1,4 @@ -- name: Remove existing install +- name: Remove existing install {{ pkg }} when: - hyprland_clean become: "{{ ext_become }}" @@ -9,16 +9,16 @@ state: absent path: "{{ hyprland.prefix }}/{{ file }}" -- name: Check if hyprpolkitagent is installed +- name: Check for installed {{ pkg }} register: stat_hyprpolkitagent_bin ansible.builtin.stat: path: "{{ hyprland.prefix }}/bin/hyprpolkitagent" -- name: Build and install hyprpolkitagent +- name: Build and install {{ pkg }} when: - not stat_hyprpolkitagent_bin.stat.exists block: - - name: Clone git repository + - name: Clone git repository {{ pkg }} ansible.builtin.git: depth: 1 dest: "{{ hyprpolkitagent.git_path }}" @@ -26,7 +26,7 @@ repo: "{{ hyprpolkitagent.repo }}" version: "{{ hyprpolkitagent.vers }}" - - name: Configure hyprpolkitagent + - name: Configure {{ pkg }} ansible.builtin.command: creates: "{{ hyprpolkitagent.git_path }}/build" chdir: "{{ hyprpolkitagent.git_path }}" @@ -40,7 +40,7 @@ - -B - ./build - - name: Build hyprpolkitagent + - name: Build {{ pkg }} ansible.builtin.command: creates: "{{ hyprpolkitagent.git_path }}/build/hyprpolkitagent" chdir: "{{ hyprpolkitagent.git_path }}" @@ -55,7 +55,7 @@ - -j - "{{ ansible_processor_nproc|int }}" - - name: Install hyprpolkitagent + - name: Install {{ pkg }} become: true ansible.builtin.command: creates: "{{ path.bin }}/hyprpolkitagent" diff --git a/tasks/src/hyprutils.yml b/tasks/src/hyprutils.yml index c8803cb..61a7c8f 100644 --- a/tasks/src/hyprutils.yml +++ b/tasks/src/hyprutils.yml @@ -1,4 +1,4 @@ -- name: Remove existing install +- name: Remove existing install {{ pkg }} when: - hyprland_clean become: "{{ ext_become }}" @@ -9,23 +9,23 @@ state: absent path: "{{ hyprland.prefix }}/{{ file }}" -- name: Check if hyprutils is installed +- name: Check for installed {{ pkg }} register: stat_hyprutils_inst ansible.builtin.stat: path: "{{ hyprland.prefix }}/{{ lib_path }}/libhyprutils.so" -- name: Build and install hyprutils +- name: Build and install {{ pkg }} when: - not stat_hyprutils_inst.stat.exists block: - - name: Clone git repository + - name: Clone git repository {{ pkg }} ansible.builtin.git: depth: 1 dest: "{{ hyprutils.git_path }}" repo: "{{ hyprutils.repo }}" version: "{{ hyprutils.vers }}" - - name: Configure hyprutils + - name: Configure {{ pkg }} ansible.builtin.command: creates: "{{ hyprutils.git_path }}/build" chdir: "{{ hyprutils.git_path }}" @@ -39,7 +39,7 @@ - -B - ./build - - name: Build hyprutils + - name: Build {{ pkg }} ansible.builtin.command: creates: "{{ hyprutils.git_path }}/build/hyprutils.so" chdir: "{{ hyprutils.git_path }}" @@ -54,7 +54,7 @@ - -j - "{{ ansible_processor_nproc|int }}" - - name: Install hyprutils + - name: Install {{ pkg }} become: true ansible.builtin.command: creates: "{{ path.bin }}/hyprutils" diff --git a/tasks/src/hyprwayland_scanner.yml b/tasks/src/hyprwayland_scanner.yml index c35c775..4b012c4 100644 --- a/tasks/src/hyprwayland_scanner.yml +++ b/tasks/src/hyprwayland_scanner.yml @@ -1,4 +1,4 @@ -- name: Remove existing install +- name: Remove existing install {{ pkg }} when: - hyprland_clean become: "{{ ext_become }}" @@ -9,12 +9,12 @@ state: absent path: "{{ hyprland.prefix }}/{{ file }}" -- name: Check if hyprwayland-scanner is installed +- name: Check for installed {{ pkg }} register: stat_hyprwayland_scanner_inst ansible.builtin.stat: path: "{{ hyprland.prefix }}/bin/hyprwayland-scanner" -- name: Build and install hyprwayland-scanner +- name: Build and install {{ pkg }} when: - not stat_hyprwayland_scanner_inst.stat.exists block: @@ -25,7 +25,7 @@ repo: "{{ hyprwayland_scanner.repo }}" version: "{{ hyprwayland_scanner.vers }}" - - name: Configure hyprwayland-scanner + - name: Configure {{ pkg }} ansible.builtin.command: creates: "{{ d_tempdir.path }}/hyprwayland-scanner/build" chdir: "{{ d_tempdir.path }}/hyprwayland-scanner" @@ -35,7 +35,7 @@ - -B - build - - name: Build hyprwayland-scanner + - name: Build {{ pkg }} ansible.builtin.command: creates: "{{ d_tempdir.path }}/hyprwayland-scanner/build/hyprwayland-scanner" chdir: "{{ d_tempdir.path }}/hyprwayland-scanner" @@ -46,7 +46,7 @@ - -j - "{{ ansible_processor_nproc|int }}" - - name: Install hyprwayland-scanner + - name: Install {{ pkg }} become: true ansible.builtin.command: creates: "{{ path.bin }}/hyprwayland-scanner" diff --git a/tasks/src/nwg_hello.yml b/tasks/src/nwg_hello.yml index 9581d59..d8498b9 100644 --- a/tasks/src/nwg_hello.yml +++ b/tasks/src/nwg_hello.yml @@ -1,4 +1,4 @@ -- name: Remove existing install +- name: Remove existing install {{ pkg }} when: - nwg_hello.clean become: true @@ -9,23 +9,23 @@ state: absent path: "{{ file }}" -- name: Check if nwg-hello is installed +- name: Check for installed {{ pkg }} register: stat_nwg_hello_inst ansible.builtin.stat: path: /etc/nwg-hello -- name: Build and install nwg-hello +- name: Build and install {{ pkg }} when: - not stat_nwg_hello_inst.stat.exists block: - - name: Clone git repository + - name: Clone git repository {{ pkg }} ansible.builtin.git: depth: 1 dest: "{{ nwg_hello.git_path }}" repo: "{{ nwg_hello.git_repo }}" version: "{{ nwg_hello.vers }}" - - name: Apply patch Alpine linux + - name: Apply patch Alpine linux {{ pkg }} when: - ansible_os_family == 'Alpine' ansible.posix.patch: @@ -34,7 +34,7 @@ state: present strip: 1 - - name: Install nwg-hello + - name: Install {{ pkg }} become: true ansible.builtin.command: creates: /etc/nwg-hello diff --git a/tasks/src/sdbus_cpp_2.yml b/tasks/src/sdbus_cpp_2.yml index f99c333..40ab3cb 100644 --- a/tasks/src/sdbus_cpp_2.yml +++ b/tasks/src/sdbus_cpp_2.yml @@ -1,4 +1,4 @@ -- name: Remove existing install +- name: Remove existing install {{ pkg }} when: - sdbus_cpp_2.clean become: true @@ -9,16 +9,16 @@ state: absent 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 ansible.builtin.stat: path: "{{ sdbus_cpp_2.prefix }}/{{ lib_path }}/libsdbus-c++.so" -- name: Build and install sdbus-cpp-2 +- name: Build and install {{ pkg }} when: - not stat_sdbus_cpp_2_inst.stat.exists block: - - name: Clone git repository + - name: Clone git repository {{ pkg }} ansible.builtin.git: depth: 1 recursive: true @@ -26,7 +26,7 @@ repo: "{{ sdbus_cpp_2.repo }}" version: "{{ sdbus_cpp_2.vers }}" - - name: Configure sdbus-cpp-2 + - name: Configure {{ pkg }} ansible.builtin.command: creates: "{{ sdbus_cpp_2.git_path }}/build" chdir: "{{ sdbus_cpp_2.git_path }}" @@ -40,7 +40,7 @@ - -B - ./build - - name: Build sdbus-cpp-2 + - name: Build {{ pkg }} ansible.builtin.command: creates: "{{ sdbus_cpp_2.git_path }}/build/libsdbus-c++.so" chdir: "{{ sdbus_cpp_2.git_path }}" @@ -55,7 +55,7 @@ - -j - "{{ ansible_processor_nproc|int }}" - - name: Install sdbus_cpp_2 + - name: Install {{ pkg }} become: true ansible.builtin.command: creates: "{{ sdbus_cpp_2.prefix }}/{{ lib_path }}/libsdbus-c++.so" diff --git a/tasks/src/uwsm.yml b/tasks/src/uwsm.yml index 1dddd2c..92990ac 100644 --- a/tasks/src/uwsm.yml +++ b/tasks/src/uwsm.yml @@ -1,11 +1,11 @@ -- name: Clone git repository +- name: Clone git repository {{ pkg }} ansible.builtin.git: depth: 1 dest: "{{ d_tempdir.path }}/uwsm" repo: "{{ uwsm.repo }}" version: "v{{ uwsm.vers }}" -- name: Build uwsm +- name: Build {{ pkg }} ansible.builtin.command: creates: "{{ d_tempdir.path }}/uwsm/build" chdir: "{{ d_tempdir.path }}/uwsm" @@ -18,7 +18,7 @@ - -Duwsm-app=enabled - build -- name: Install uwsm +- name: Install {{ pkg }} become: true ansible.builtin.command: creates: "{{ hyprland.prefix }}/bin/uwsm" diff --git a/tasks/src/xdg_desktop_portal_hyprland.yml b/tasks/src/xdg_desktop_portal_hyprland.yml index 92fde9d..5145e4a 100644 --- a/tasks/src/xdg_desktop_portal_hyprland.yml +++ b/tasks/src/xdg_desktop_portal_hyprland.yml @@ -1,4 +1,4 @@ -- name: Remove existing install +- name: Remove existing install {{ pkg }} when: - hyprland_clean become: "{{ ext_become }}" @@ -9,16 +9,16 @@ state: absent 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 ansible.builtin.stat: path: "{{ hyprland.prefix }}/bin/hyprland-share-picker" -- name: Build and install xdg_desktop_portal_hyprland +- name: Build and install {{ pkg }} when: - not stat_xdg_desktop_portal_hyprland_bin.stat.exists block: - - name: Clone git repository + - name: Clone git repository {{ pkg }} ansible.builtin.git: depth: 1 dest: "{{ xdg_desktop_portal_hyprland.git_path }}" @@ -26,7 +26,7 @@ repo: "{{ xdg_desktop_portal_hyprland.repo }}" version: "{{ xdg_desktop_portal_hyprland.vers }}" - - name: Configure xdg_desktop_portal_hyprland + - name: Configure {{ pkg }} ansible.builtin.command: creates: "{{ xdg_desktop_portal_hyprland.git_path }}/build" chdir: "{{ xdg_desktop_portal_hyprland.git_path }}" @@ -37,7 +37,7 @@ - -B - ./build - - name: Build xdg_desktop_portal_hyprland + - name: Build {{ pkg }} ansible.builtin.command: creates: "{{ xdg_desktop_portal_hyprland.git_path }}/build/xdg-desktop-portal-hyprland" chdir: "{{ xdg_desktop_portal_hyprland.git_path }}" @@ -52,7 +52,7 @@ - -j - "{{ ansible_processor_nproc|int }}" - - name: Install xdg_desktop_portal_hyprland + - name: Install {{ pkg }} become: true ansible.builtin.command: creates: "{{ path.bin }}/hyprland-share-picker"