From fa6f999754268297bafbb9c195093129280144b1 Mon Sep 17 00:00:00 2001 From: kd-11 Date: Mon, 30 Sep 2024 23:01:22 +0300 Subject: [PATCH] linux: Fix steam deck issues --- .ci/deploy-linux.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.ci/deploy-linux.sh b/.ci/deploy-linux.sh index d4e9528b36..22d00b9e7e 100755 --- a/.ci/deploy-linux.sh +++ b/.ci/deploy-linux.sh @@ -15,7 +15,13 @@ if [ "$DEPLOY_APPIMAGE" = "true" ]; then chmod +x ./linuxdeploy-plugin-checkrt.sh export EXTRA_PLATFORM_PLUGINS="libqwayland-egl.so;libqwayland-generic.so" - export EXTRA_QT_PLUGINS="svg;wayland-decoration-client;wayland-graphics-integration-client;wayland-shell-integration;waylandcompositor" + export EXTRA_QT_PLUGINS="svg;wayland-decoration-client;wayland-graphics-integration-client;wayland-shell-integration" + + if [ "$CPU_ARCH" = "aarch64" ]; then + # Ideally we should always ship the wayland integration libraries. Unfortunately glibc ABI issues on steam deck make this undesirable right now, so we only ship for arm64 + export EXTRA_QT_PLUGINS="$EXTRA_QTPLUGINS;waylandcompositor" + fi + APPIMAGE_EXTRACT_AND_RUN=1 linuxdeploy --appdir AppDir --plugin qt # Remove libwayland-client because it has platform-dependent exports and breaks other OSes