linux: Fix steam deck issues

This commit is contained in:
kd-11 2024-09-30 23:01:22 +03:00 committed by kd-11
parent f18649567f
commit fa6f999754

View File

@ -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