From b1c8005d1adfbde4301ddc1121d9b5851a4c98e7 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Wed, 1 Nov 2023 21:44:44 -0500 Subject: [PATCH] Disable libdrm in AppImage build --- scripts/build-appimage.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/build-appimage.sh b/scripts/build-appimage.sh index f3668652..a006a3d5 100755 --- a/scripts/build-appimage.sh +++ b/scripts/build-appimage.sh @@ -32,7 +32,9 @@ pushd $BUILD_FOLDER # to missing symbols from the host's version of libwayland-client.so that aren't present in the older # version of libwayland-client.so from our AppImage build environment. When this happens, EGL fails to # work even in X11. To avoid this, we will disable Wayland support for the AppImage. -qmake $SOURCE_ROOT/moonlight-qt.pro CONFIG+=disable-wayland PREFIX=$DEPLOY_FOLDER/usr DEFINES+=APP_IMAGE || fail "Qmake failed!" +# +# We disable DRM support because linuxdeployqt doesn't bundle the appropriate libraries for Qt EGLFS. +qmake $SOURCE_ROOT/moonlight-qt.pro CONFIG+=disable-wayland CONFIG+=disable-libdrm PREFIX=$DEPLOY_FOLDER/usr DEFINES+=APP_IMAGE || fail "Qmake failed!" popd echo Compiling Moonlight in $BUILD_CONFIG configuration