adding more alpine specific build_deps
This commit is contained in:
@@ -1,10 +1,21 @@
|
||||
# vim: set filetype=yaml.ansible :
|
||||
---
|
||||
- name: Set facts for installation
|
||||
- name: Set path prefix
|
||||
ansible.builtin.set_fact:
|
||||
path:
|
||||
prefix: "{{ path.prefix | default(defaults.path.prefix) }}"
|
||||
|
||||
- name: Set install variables
|
||||
ansible.builtin.set_fact:
|
||||
ext_become: "{{ not use_local }}"
|
||||
path:
|
||||
prefix: "{% if use_local %}{{ lookup('ansible.builtin.env', 'HOME') }}/.local{% else %}{{ defaults.path.prefix }}{% endif %}"
|
||||
prefix: "{{ path.prefix }}"
|
||||
appimage: "{{ path.appimage | default(path.prefix ~ defaults.path.suffix.appimage) }}"
|
||||
archive: "{{ path.archive | default(path.prefix ~ defaults.path.suffix.archive) }}"
|
||||
bin: "{{ path.bin | default(path.prefix ~ defaults.path.suffix.bin) }}"
|
||||
cargo: "{{ path.cargo | default(path.prefix ~ defaults.path.suffix.cargo) }}"
|
||||
go: "{% if ansible_distribution == 'MacOSX' %}/usr/local/go{% else %}{{ path.go | default(path.prefix ~ defaults.path.suffix.go) }}{% endif %}"
|
||||
pipx: "{{ path.pipx | default(path.prefix ~ defaults.path.suffix.pipx) }}"
|
||||
|
||||
- name: Set Linux specific facts
|
||||
when:
|
||||
@@ -46,17 +57,6 @@
|
||||
sys_pkg_become: false # homebrew doesn't require sudo access
|
||||
lib_path: lib
|
||||
|
||||
- name: Set paths
|
||||
ansible.builtin.set_fact:
|
||||
path:
|
||||
prefix: "{{ path.prefix }}"
|
||||
appimage: "{{ path.appimage | default(path.prefix ~ defaults.path.suffix.appimage) }}"
|
||||
archive: "{{ path.archive | default(path.prefix ~ defaults.path.suffix.archive) }}"
|
||||
bin: "{{ path.bin | default(path.prefix ~ defaults.path.suffix.bin) }}"
|
||||
cargo: "{{ path.cargo | default(path.prefix ~ defaults.path.suffix.cargo) }}"
|
||||
go: "{% if ansible_distribution == 'MacOSX' %}/usr/local/go{% else %}{{ path.go | default(path.prefix ~ defaults.path.suffix.go) }}{% endif %}"
|
||||
pipx: "{{ path.pipx | default(path.prefix ~ defaults.path.suffix.pipx) }}"
|
||||
|
||||
- name: Set OS independant facts
|
||||
ansible.builtin.set_fact:
|
||||
pkg_archive: [] # packages installed via prebuilt archive
|
||||
|
||||
@@ -13,6 +13,30 @@
|
||||
ansible.builtin.include_tasks:
|
||||
file: facts.yml
|
||||
|
||||
- name: Dump paths
|
||||
when:
|
||||
- debug
|
||||
ansible.builtin.debug:
|
||||
msg: "{{ path | dict2items }}"
|
||||
|
||||
- name: Dump vars
|
||||
when:
|
||||
- debug
|
||||
ansible.builtin.debug:
|
||||
var: ext_become
|
||||
|
||||
- name: Dump use_local
|
||||
when:
|
||||
- debug
|
||||
ansible.builtin.debug:
|
||||
var: use_local
|
||||
|
||||
- name: Dump packages
|
||||
when:
|
||||
- debug
|
||||
ansible.builtin.debug:
|
||||
var: packages
|
||||
|
||||
- name: Ensure required path exist
|
||||
become: "{{ ext_become }}"
|
||||
loop: "{{ path | dict2items }}"
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
# vim: set filetype=yaml.ansible :
|
||||
# variables used in ansible_role_package
|
||||
---
|
||||
debug: false
|
||||
use_local: true
|
||||
prefer_method: system
|
||||
packages: [] # list of packages to install
|
||||
|
||||
@@ -3,3 +3,9 @@ greetd:
|
||||
RedHat:
|
||||
- greetd
|
||||
- tuigreet
|
||||
Alpine:
|
||||
- greetd
|
||||
- greetd-doc
|
||||
- greetd-openrc
|
||||
- greetd-tuigreet
|
||||
- greetd-tuigreet-doc
|
||||
|
||||
@@ -10,6 +10,10 @@ hypridle:
|
||||
- patch
|
||||
- wayland-devel
|
||||
- wayland-protocols-devel
|
||||
Alpine:
|
||||
- patch
|
||||
- wayland-dev
|
||||
- wayland-protocols
|
||||
build_installed_files:
|
||||
- bin/hypridle
|
||||
- lib/systemd/user/hypridle.service
|
||||
|
||||
@@ -6,6 +6,8 @@ hyprland_qt_support:
|
||||
build_deps:
|
||||
RedHat:
|
||||
- qt6-qtdeclarative-devel
|
||||
Alpine:
|
||||
- qt6-qtdeclarative-dev
|
||||
build_installed_files:
|
||||
- lib/libhyprland-quick-style-impl.so
|
||||
- lib/qt6/qml/org/hyprland/style/impl/libhyprland-quick-style-implplugin.so
|
||||
|
||||
@@ -11,6 +11,12 @@ hyprland_qtutils:
|
||||
- wayland-devel
|
||||
- wayland-protocols-devel
|
||||
- qt6-qtwayland-devel
|
||||
Alpine:
|
||||
- qt6-qtbase-dev
|
||||
- qt6-qtdeclarative-dev
|
||||
- wayland-dev
|
||||
- wayland-protocols
|
||||
- qt6-qtwayland-dev
|
||||
build_installed_files:
|
||||
- bin/hyprland-dialog
|
||||
- bin/hyprland-update-screen
|
||||
|
||||
@@ -17,6 +17,15 @@ hyprpaper:
|
||||
- libjpeg-turbo-devel
|
||||
- libwebp-devel
|
||||
- gcc-c++
|
||||
Alpine:
|
||||
- wayland-dev
|
||||
- wayland-protocols
|
||||
- pango-dev
|
||||
- cairo-dev
|
||||
- file-dev
|
||||
- libjpeg-turbo-dev
|
||||
- libwebp-dev
|
||||
- g++
|
||||
build_installed_files:
|
||||
- bin/hyprpaper
|
||||
- "{{ lib_path }}/systemd/user/hyprpaper.service"
|
||||
|
||||
@@ -22,6 +22,19 @@ hyprlock:
|
||||
- libjpeg-turbo-devel
|
||||
- libwebp-devel
|
||||
- gcc-c++
|
||||
Alpine:
|
||||
- patch
|
||||
- wayland-dev
|
||||
- wayland-protocols
|
||||
- pango-dev
|
||||
- cairo-dev
|
||||
- libdrm-dev
|
||||
- linux-pam-dev
|
||||
- file-dev
|
||||
- libxkbcommon-dev
|
||||
- libjpeg-turbo-dev
|
||||
- libwebp-dev
|
||||
- g++
|
||||
build_installed_files:
|
||||
- bin/hyprlock
|
||||
- etc/pam.d/hyprlock
|
||||
|
||||
@@ -11,6 +11,13 @@ hyprpicker:
|
||||
- cairo-devel
|
||||
- libxkbcommon-devel
|
||||
- cmake
|
||||
Alpine:
|
||||
- wayland-dev
|
||||
- wayland-protocols
|
||||
- pango-dev
|
||||
- cairo-dev
|
||||
- libxkbcommon-dev
|
||||
- cmake
|
||||
build_installed_files:
|
||||
- bin/hyprpicker
|
||||
- share/man/man1/hyprpicker.1
|
||||
|
||||
@@ -12,6 +12,9 @@ zfs:
|
||||
Debian:
|
||||
- zfs-dkms
|
||||
- zfsutils-linux
|
||||
Alpine:
|
||||
- zfs
|
||||
- zfs-lts
|
||||
build_deps:
|
||||
Fedora:
|
||||
- kernel-devel
|
||||
|
||||
Reference in New Issue
Block a user