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:
- 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"

View File

@@ -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:

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"