1
1
mirror of https://github.com/wez/wezterm.git synced 2025-01-03 11:11:43 +03:00

get-deps: user-contributed support for void linux

Unsure if this is 100% correct, but it is at least a starting point
This commit is contained in:
Wez Furlong 2022-09-09 09:03:07 -07:00
parent ad35b9dc21
commit 9bcc4e0bbc

View File

@ -244,6 +244,32 @@ gentoo_deps() {
done
}
void_deps() {
XBPS="$SUDO xbps-install"
$XBPS -S \
'base-devel' \
'cargo' \
'cmake' \
'fontconfig' \
'git' \
'hicolor-icon-theme' \
'libX11' \
'libxkbcommon-x11' \
'pkgconf' \
'python3' \
'rust' \
'wayland' \
'xcb-util' \
'xcb-util-image' \
'xcb-util-keysyms' \
'xcb-util-wm'
if test_flag; then
$XBPS -S \
'openssh'
fi
}
fallback_method() {
if test -e /etc/alpine-release; then
alpine_deps
@ -305,6 +331,9 @@ case $ID in
gentoo)
gentoo_deps
;;
void)
void_deps
;;
*)
echo "Couldn't find OS by ID, found ID: $ID"
echo "Fallback to detecting '/etc/<name>-release'"