Add missing Linux build dependencies (#12972)

I found that builds failed on Arch and OpenSUSE so I added missing
dependencies. I also found that OpenSUSE Leap is currently not able to
install the required dependencies so I added a check to limit the
supported distros to Tumbleweed.

Release Notes:

- N/A

---------

Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
This commit is contained in:
DocKDE 2024-06-13 19:45:39 +02:00 committed by GitHub
parent 14bf07c916
commit 3c0310273b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -70,6 +70,10 @@ fi
zyp=$(command -v zypper || true)
if [[ -n $zyp ]]; then
deps=(
gcc
gcc-c++
clang
make
alsa-devel
fontconfig-devel
wayland-devel
@ -88,6 +92,8 @@ fi
pacman=$(command -v pacman || true)
if [[ -n $pacman ]]; then
deps=(
gcc
clang
alsa-lib
fontconfig
wayland