From 266bb628139abd54904518eaeeb1f2a3413c7740 Mon Sep 17 00:00:00 2001 From: eyecreate Date: Wed, 21 Feb 2024 18:01:33 -0500 Subject: [PATCH] Update linux deps to include opensuse (#8127) Release Notes: - Added support for openSuse to Linux dependency installer script. --- script/linux | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/script/linux b/script/linux index 2ef37c04e1..c7fe1c111f 100755 --- a/script/linux +++ b/script/linux @@ -35,6 +35,22 @@ if [[ -n $dnf ]]; then exit 0 fi +# openSuse +# https://software.opensuse.org/ +zyp=$(command -v zypper || true) +if [[ -n $zyp ]]; then + deps=( + alsa-devel + fontconfig-devel + vulkan-validationlayers + wayland-devel + libxkbcommon-x11-devel + openssl-devel + ) + $maysudo "$zyp" install -y "${deps[@]}" + exit 0 +fi + # Arch, Manjaro, etc. # https://archlinux.org/packages pacman=$(command -v pacman || true)