configure cleaning on src pkgs

This commit is contained in:
Matthew Stobbs
2025-03-29 15:02:28 -06:00
parent 254b7d5c3a
commit 5645cc7dd6
34 changed files with 43 additions and 10 deletions

View File

@@ -8,3 +8,4 @@
installed_files: "{{ pkgconfig.aquamarine.build_installed_files }}" installed_files: "{{ pkgconfig.aquamarine.build_installed_files }}"
bin: aquamarine bin: aquamarine
build_deps: "{{ pkgconfig.aquamarine.build_deps[ansible_os_family] }}" build_deps: "{{ pkgconfig.aquamarine.build_deps[ansible_os_family] }}"
clean: "{{ package_hyprland_clean | default(default.clean_src) }}"

View File

@@ -12,7 +12,7 @@
ghostty: ghostty:
method: "{{ ghostty.method }}" method: "{{ ghostty.method }}"
arch: "{{ pkgconfig.ghostty.archmap[ansible_architecture] }}" arch: "{{ pkgconfig.ghostty.archmap[ansible_architecture] }}"
clean: "{{ pkgconfig.ghostty.clean_install }}" clean: "{{ pkgconfig_ghostty_clean | default(default.clean_src) }}"
deps: "{{ pkgconfig.ghostty.build_deps[ansible_os_family] }}" deps: "{{ pkgconfig.ghostty.build_deps[ansible_os_family] }}"
vers: "{{ pkgconfig.ghostty.version }}" vers: "{{ pkgconfig.ghostty.version }}"
pkg: "{{ pkgconfig.ghostty[ghostty.method] }}" pkg: "{{ pkgconfig.ghostty[ghostty.method] }}"

View File

@@ -7,3 +7,4 @@
build_deps: "{{ pkgconfig.hyprcursor.build_deps[ansible_os_family] }}" build_deps: "{{ pkgconfig.hyprcursor.build_deps[ansible_os_family] }}"
installed_files: "{{ pkgconfig.hyprcursor.build_installed_files }}" installed_files: "{{ pkgconfig.hyprcursor.build_installed_files }}"
git_path: "{{ d_tempdir.path }}/hyprcursor" git_path: "{{ d_tempdir.path }}/hyprcursor"
clean: "{{ pkgconfig_hyprland_clean | default(default.clean_src) }}"

View File

@@ -6,3 +6,4 @@
build_deps: "{{ pkgconfig.hyprgraphics.build_deps[ansible_os_family] }}" build_deps: "{{ pkgconfig.hyprgraphics.build_deps[ansible_os_family] }}"
installed_files: "{{ pkgconfig.hyprgraphics.build_installed_files }}" installed_files: "{{ pkgconfig.hyprgraphics.build_installed_files }}"
git_path: "{{ d_tempdir.path }}/hyprgraphics" git_path: "{{ d_tempdir.path }}/hyprgraphics"
clean: "{{ pkgconfig_hyprland_clean | default(default.clean_src) }}"

View File

@@ -7,3 +7,4 @@
build_deps: "{{ pkgconfig.hypridle.build_deps[ansible_os_family] }}" build_deps: "{{ pkgconfig.hypridle.build_deps[ansible_os_family] }}"
installed_files: "{{ pkgconfig.hypridle.build_installed_files}}" installed_files: "{{ pkgconfig.hypridle.build_installed_files}}"
git_path: "{{ d_tempdir.path }}/hypridle" git_path: "{{ d_tempdir.path }}/hypridle"
clean: "{{ pkgconfig_hyprland_clean | default(default.clean_src) }}"

View File

@@ -8,3 +8,4 @@
installed_files: "{{ pkgconfig.hyprland.build_installed_files }}" installed_files: "{{ pkgconfig.hyprland.build_installed_files }}"
git_path: "{{ d_tempdir.path }}/Hyprland" git_path: "{{ d_tempdir.path }}/Hyprland"
prefix: "/usr/local" prefix: "/usr/local"
clean: "{{ pkgconfig_hyprland_clean | default(default.clean_src) }}"

View File

@@ -6,3 +6,4 @@
build_deps: "{{ pkgconfig.hyprland_protocols.build_deps[ansible_os_family] }}" build_deps: "{{ pkgconfig.hyprland_protocols.build_deps[ansible_os_family] }}"
installed_files: "{{ pkgconfig.hyprland_protocols.build_installed_files }}" installed_files: "{{ pkgconfig.hyprland_protocols.build_installed_files }}"
git_path: "{{ d_tempdir.path }}/hyprland-protocols" git_path: "{{ d_tempdir.path }}/hyprland-protocols"
clean: "{{ pkgconfig_hyprland_clean | default(default.clean_src) }}"

View File

@@ -7,3 +7,4 @@
build_deps: "{{ pkgconfig.hyprland_qt_support.build_deps[ansible_os_family] }}" build_deps: "{{ pkgconfig.hyprland_qt_support.build_deps[ansible_os_family] }}"
installed_files: "{{ pkgconfig.hyprland_qt_support.build_installed_files}}" installed_files: "{{ pkgconfig.hyprland_qt_support.build_installed_files}}"
git_path: "{{ d_tempdir.path }}/hyprland_qt_support" git_path: "{{ d_tempdir.path }}/hyprland_qt_support"
clean: "{{ pkgconfig_hyprland_clean | default(default.clean_src) }}"

View File

@@ -7,3 +7,4 @@
build_deps: "{{ pkgconfig.hyprland_qtutils.build_deps[ansible_os_family] }}" build_deps: "{{ pkgconfig.hyprland_qtutils.build_deps[ansible_os_family] }}"
installed_files: "{{ pkgconfig.hyprland_qtutils.build_installed_files}}" installed_files: "{{ pkgconfig.hyprland_qtutils.build_installed_files}}"
git_path: "{{ d_tempdir.path }}/hyprland_qtutils" git_path: "{{ d_tempdir.path }}/hyprland_qtutils"
clean: "{{ pkgconfig_hyprland_clean | default(default.clean_src) }}"

View File

@@ -7,3 +7,4 @@
build_deps: "{{ pkgconfig.hyprlang.build_deps[ansible_os_family] }}" build_deps: "{{ pkgconfig.hyprlang.build_deps[ansible_os_family] }}"
git_path: "{{ d_tempdir.path }}/hyprlang" git_path: "{{ d_tempdir.path }}/hyprlang"
installed_files: "{{ pkgconfig.hyprlang.build_installed_files }}" installed_files: "{{ pkgconfig.hyprlang.build_installed_files }}"
clean: "{{ pkgconfig_hyprland_clean | default(default.clean_src) }}"

View File

@@ -7,3 +7,4 @@
build_deps: "{{ pkgconfig.hyprlock.build_deps[ansible_os_family] }}" build_deps: "{{ pkgconfig.hyprlock.build_deps[ansible_os_family] }}"
installed_files: "{{ pkgconfig.hyprlock.build_installed_files}}" installed_files: "{{ pkgconfig.hyprlock.build_installed_files}}"
git_path: "{{ d_tempdir.path }}/hyprlock" git_path: "{{ d_tempdir.path }}/hyprlock"
clean: "{{ pkgconfig_hyprland_clean | default(default.clean_src) }}"

View File

@@ -7,3 +7,4 @@
build_deps: "{{ pkgconfig.hyprpaper.build_deps[ansible_os_family] }}" build_deps: "{{ pkgconfig.hyprpaper.build_deps[ansible_os_family] }}"
installed_files: "{{ pkgconfig.hyprpaper.build_installed_files}}" installed_files: "{{ pkgconfig.hyprpaper.build_installed_files}}"
git_path: "{{ d_tempdir.path }}/hyprpaper" git_path: "{{ d_tempdir.path }}/hyprpaper"
clean: "{{ pkgconfig_hyprland_clean | default(default.clean_src) }}"

View File

@@ -7,3 +7,4 @@
build_deps: "{{ pkgconfig.hyprpicker.build_deps[ansible_os_family] }}" build_deps: "{{ pkgconfig.hyprpicker.build_deps[ansible_os_family] }}"
installed_files: "{{ pkgconfig.hyprpicker.build_installed_files}}" installed_files: "{{ pkgconfig.hyprpicker.build_installed_files}}"
git_path: "{{ d_tempdir.path }}/hyprpicker" git_path: "{{ d_tempdir.path }}/hyprpicker"
clean: "{{ pkgconfig_hyprland_clean | default(default.clean_src) }}"

View File

@@ -6,3 +6,4 @@
build_deps: "{{ pkgconfig.hyprpolkitagent.build_deps[ansible_os_family] }}" build_deps: "{{ pkgconfig.hyprpolkitagent.build_deps[ansible_os_family] }}"
installed_files: "{{ pkgconfig.hyprpolkitagent.build_installed_files }}" installed_files: "{{ pkgconfig.hyprpolkitagent.build_installed_files }}"
git_path: "{{ d_tempdir.path }}/hyprpolkitagent" git_path: "{{ d_tempdir.path }}/hyprpolkitagent"
clean: "{{ pkgconfig_hyprland_clean | default(default.clean_src) }}"

View File

@@ -6,3 +6,4 @@
git_path: "{{ d_tempdir.path }}/hyprutils" git_path: "{{ d_tempdir.path }}/hyprutils"
installed_files: "{{ pkgconfig.hyprutils.build_installed_files }}" installed_files: "{{ pkgconfig.hyprutils.build_installed_files }}"
build_deps: "{{ pkgconfig.hyprutils.build_deps[ansible_os_family] }}" build_deps: "{{ pkgconfig.hyprutils.build_deps[ansible_os_family] }}"
clean: "{{ pkgconfig_hyprland_clean | default(default.clean_src) }}"

View File

@@ -6,3 +6,4 @@
build_deps: "{{ pkgconfig.hyprwayland_scanner.build_deps[ansible_os_family] }}" build_deps: "{{ pkgconfig.hyprwayland_scanner.build_deps[ansible_os_family] }}"
git_path: "{{ d_tempdir.path }}/hyprwayland-scanner" git_path: "{{ d_tempdir.path }}/hyprwayland-scanner"
installed_files: "{{ pkgconfig.hyprwayland_scanner.build_installed_files }}" installed_files: "{{ pkgconfig.hyprwayland_scanner.build_installed_files }}"
clean: "{{ pkgconfig_hyprland_clean | default(default.clean_src) }}"

View File

@@ -7,3 +7,4 @@
build_deps: "{{ pkgconfig.xdg_desktop_portal_hyprland.build_deps[ansible_os_family] }}" build_deps: "{{ pkgconfig.xdg_desktop_portal_hyprland.build_deps[ansible_os_family] }}"
git_path: "{{ d_tempdir.path }}/xdg-desktop-portal-hyprland" git_path: "{{ d_tempdir.path }}/xdg-desktop-portal-hyprland"
installed_files: "{{ pkgconfig.xdg_desktop_portal_hyprland.build_installed_files }}" installed_files: "{{ pkgconfig.xdg_desktop_portal_hyprland.build_installed_files }}"
clean: "{{ pkgconfig_hyprland_clean | default(default.clean_src) }}"

View File

@@ -1,4 +1,6 @@
- name: Remove existing install {{ pkg }} - name: Remove existing install {{ pkg }}
when:
- aquamarine.clean
become: true become: true
loop: "{{ aquamarine.installed_files }}" loop: "{{ aquamarine.installed_files }}"
loop_control: loop_control:

View File

@@ -1,4 +1,6 @@
- name: Remove existing install of {{ pkg }} - name: Remove existing install of {{ pkg }}
when:
- hyprcursor.clean
become: true become: true
loop: "{{ hyprcursor.installed_files }}" loop: "{{ hyprcursor.installed_files }}"
loop_control: loop_control:

View File

@@ -1,4 +1,6 @@
- name: Remove existing install of {{ pkg }} - name: Remove existing install of {{ pkg }}
when:
- hyprgraphics.clean
become: true become: true
loop: "{{ hyprgraphics.installed_files }}" loop: "{{ hyprgraphics.installed_files }}"
loop_control: loop_control:

View File

@@ -1,4 +1,6 @@
- name: Remove existing install of {{ pkg }} - name: Remove existing install of {{ pkg }}
when:
- hypridle.clean
become: true become: true
loop: "{{ hypridle.installed_files }}" loop: "{{ hypridle.installed_files }}"
loop_control: loop_control:

View File

@@ -1,4 +1,6 @@
- name: Remove existing install of {{ pkg }} - name: Remove existing install of {{ pkg }}
when:
- hyprland.clean
become: true become: true
loop: "{{ hyprland.installed_files }}" loop: "{{ hyprland.installed_files }}"
loop_control: loop_control:

View File

@@ -1,6 +1,8 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Remove existing install of {{ pkg }} - name: Remove existing install of {{ pkg }}
when:
- hyprland_protocols.clean
become: true become: true
loop: "{{ hyprland_protocols.installed_files }}" loop: "{{ hyprland_protocols.installed_files }}"
loop_control: loop_control:

View File

@@ -1,4 +1,6 @@
- name: Remove existing install of {{ pkg }} - name: Remove existing install of {{ pkg }}
when:
- hyprland_qt_support.clean
become: true become: true
loop: "{{ hyprland_qt_support.installed_files }}" loop: "{{ hyprland_qt_support.installed_files }}"
loop_control: loop_control:

View File

@@ -1,6 +1,6 @@
- name: Remove existing install of {{ pkg }} - name: Remove existing install of {{ pkg }}
when: when:
- hyprland_clean - hyprland_qtutils.clean
become: true become: true
loop: "{{ hyprland_qtutils.installed_files }}" loop: "{{ hyprland_qtutils.installed_files }}"
loop_control: loop_control:

View File

@@ -1,6 +1,6 @@
- name: Remove existing install {{ pkg }} - name: Remove existing install {{ pkg }}
when: when:
- hyprland_clean - hyprlang.clean
become: true become: true
loop: "{{ hyprlang.installed_files }}" loop: "{{ hyprlang.installed_files }}"
loop_control: loop_control:

View File

@@ -1,6 +1,6 @@
- name: Remove existing install {{ pkg }} - name: Remove existing install {{ pkg }}
when: when:
- hyprland_clean - hyprlock.clean
become: true become: true
loop: "{{ hyprlock.installed_files }}" loop: "{{ hyprlock.installed_files }}"
loop_control: loop_control:

View File

@@ -1,6 +1,6 @@
- name: Remove existing install {{ pkg }} - name: Remove existing install {{ pkg }}
when: when:
- hyprland_clean - hyprpaper.clean
become: true become: true
loop: "{{ hyprpaper.installed_files }}" loop: "{{ hyprpaper.installed_files }}"
loop_control: loop_control:

View File

@@ -1,6 +1,6 @@
- name: Remove existing install {{ pkg }} - name: Remove existing install {{ pkg }}
when: when:
- hyprland_clean - hyprpicker.clean
become: true become: true
loop: "{{ hyprpicker.installed_files }}" loop: "{{ hyprpicker.installed_files }}"
loop_control: loop_control:

View File

@@ -1,6 +1,6 @@
- name: Remove existing install {{ pkg }} - name: Remove existing install {{ pkg }}
when: when:
- hyprland_clean - hyprpolkitagent.clean
become: true become: true
loop: "{{ hyprpolkitagent.installed_files }}" loop: "{{ hyprpolkitagent.installed_files }}"
loop_control: loop_control:

View File

@@ -1,6 +1,6 @@
- name: Remove existing install {{ pkg }} - name: Remove existing install {{ pkg }}
when: when:
- hyprland_clean - hyprutils.clean
become: true become: true
loop: "{{ hyprutils.installed_files }}" loop: "{{ hyprutils.installed_files }}"
loop_control: loop_control:

View File

@@ -1,6 +1,6 @@
- name: Remove existing install {{ pkg }} - name: Remove existing install {{ pkg }}
when: when:
- hyprland_clean - hyprwayland_scanner.clean
become: true become: true
loop: "{{ hyprwayland_scanner.installed_files }}" loop: "{{ hyprwayland_scanner.installed_files }}"
loop_control: loop_control:

View File

@@ -1,4 +1,6 @@
- name: Remove existing install {{ pkg }} - name: Remove existing install {{ pkg }}
when:
- xdg_desktop_portal_hyprland.clean
become: true become: true
loop: "{{ xdg_desktop_portal_hyprland.installed_files }}" loop: "{{ xdg_desktop_portal_hyprland.installed_files }}"
loop_control: loop_control:

View File

@@ -26,6 +26,7 @@ defaults:
# - paths.go: $PREFIX/go # - paths.go: $PREFIX/go
# - paths.pipx: $PREFIX/pipx # - paths.pipx: $PREFIX/pipx
always_clean_src: false default:
clean_src: false
## Extra config that usually will not need to be changed ## Extra config that usually will not need to be changed
hyprgitbase: https://github.com/hyprwm hyprgitbase: https://github.com/hyprwm