From 74bbc0fe7ea16b405c45921e76cf7f03d3b464f4 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Tue, 2 Jul 2024 18:58:53 +0300 Subject: [PATCH] scripts: gha: install pulse, jack and wayland development files for SDL to detect them --- scripts/gha/deps_linux.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/scripts/gha/deps_linux.sh b/scripts/gha/deps_linux.sh index 7d351a9a..7ed909ca 100755 --- a/scripts/gha/deps_linux.sh +++ b/scripts/gha/deps_linux.sh @@ -2,20 +2,22 @@ cd $GITHUB_WORKSPACE +# TODO: add libpipewire-dev after we migrate from 20.04 + if [ "$GH_CPU_ARCH" == "i386" ]; then sudo dpkg --add-architecture i386 sudo apt update - sudo apt install gcc-multilib g++-multilib libx11-dev:i386 libxext-dev:i386 x11-utils libgl1-mesa-dev libasound-dev libstdc++6:i386 libfuse2:i386 zlib1g:i386 + sudo apt install gcc-multilib g++-multilib libx11-dev:i386 libxext-dev:i386 x11-utils libgl1-mesa-dev libasound-dev libstdc++6:i386 libfuse2:i386 zlib1g:i386 libpulse-dev:i386 libjack-dev:i386 libwayland-dev:i386 wget "https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-i686.AppImage" -O appimagetool.AppImage elif [ "$GH_CPU_ARCH" == "amd64" ]; then sudo apt update - sudo apt install libx11-dev libxext-dev x11-utils libgl1-mesa-dev libasound-dev libstdc++6 libfuse2 zlib1g + sudo apt install libx11-dev libxext-dev x11-utils libgl1-mesa-dev libasound-dev libstdc++6 libfuse2 zlib1g libpulse-dev libjack-dev libwayland-dev wget "https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage" -O appimagetool.AppImage elif [ "$GH_CPU_ARCH" == "aarch64" ]; then sudo apt update - sudo apt install libx11-dev libxext-dev x11-utils libgl1-mesa-dev libasound-dev libstdc++6 libfuse2 zlib1g + sudo apt install libx11-dev libxext-dev x11-utils libgl1-mesa-dev libasound-dev libstdc++6 libfuse2 zlib1g libpulse-dev libjack-dev libwayland-dev wget "https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-aarch64.AppImage" -O appimagetool.AppImage else