Просмотр исходного кода

Merge pull request #8642 from lat9nq/appimg-more-control

ci/linux: Exclude libwayland-client from AppImage
liamwhite 4 лет назад
Родитель
Сommit
1e3afd5d80
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      .ci/scripts/linux/docker.sh

+ 3 - 0
.ci/scripts/linux/docker.sh

@@ -54,6 +54,9 @@ mkdir -p AppDir/usr/optional/libgcc_s
 # Deploy yuzu's needed dependencies
 # Deploy yuzu's needed dependencies
 ./linuxdeploy-x86_64.AppImage --appdir AppDir --plugin qt
 ./linuxdeploy-x86_64.AppImage --appdir AppDir --plugin qt
 
 
+# Workaround for libQt5MultimediaGstTools indirectly requiring libwayland-client and breaking Vulkan usage on end-user systems
+find AppDir -type f -regex '.*libwayland-client\.so.*' -delete -print
+
 # Workaround for building yuzu with GCC 10 but also trying to distribute it to Ubuntu 18.04 et al.
 # Workaround for building yuzu with GCC 10 but also trying to distribute it to Ubuntu 18.04 et al.
 # See https://github.com/darealshinji/AppImageKit-checkrt
 # See https://github.com/darealshinji/AppImageKit-checkrt
 cp exec-x86_64.so AppDir/usr/optional/exec.so
 cp exec-x86_64.so AppDir/usr/optional/exec.so