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