diff options
Diffstat (limited to '.ci/scripts/linux/docker.sh')
| -rwxr-xr-x | .ci/scripts/linux/docker.sh | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/.ci/scripts/linux/docker.sh b/.ci/scripts/linux/docker.sh index b9862d1c2..67726ee0f 100755 --- a/.ci/scripts/linux/docker.sh +++ b/.ci/scripts/linux/docker.sh | |||
| @@ -33,16 +33,14 @@ DESTDIR="$PWD/AppDir" ninja install | |||
| 33 | rm -vf AppDir/usr/bin/yuzu-cmd AppDir/usr/bin/yuzu-tester | 33 | rm -vf AppDir/usr/bin/yuzu-cmd AppDir/usr/bin/yuzu-tester |
| 34 | 34 | ||
| 35 | # Download tools needed to build an AppImage | 35 | # Download tools needed to build an AppImage |
| 36 | wget -nc https://github.com/yuzu-emu/ext-linux-bin/raw/main/appimage/linuxdeploy-x86_64.AppImage | 36 | wget -nc https://raw.githubusercontent.com/lat9nq/deploy/main/linux/deploy-linux.sh |
| 37 | wget -nc https://github.com/yuzu-emu/ext-linux-bin/raw/main/appimage/linuxdeploy-plugin-qt-x86_64.AppImage | 37 | wget -nc https://raw.githubusercontent.com/yuzu-emu/AppImageKit-checkrt/old/AppRun.sh |
| 38 | wget -nc https://github.com/yuzu-emu/ext-linux-bin/raw/main/appimage/AppRun-patched-x86_64 | ||
| 39 | wget -nc https://github.com/yuzu-emu/ext-linux-bin/raw/main/appimage/exec-x86_64.so | 38 | wget -nc https://github.com/yuzu-emu/ext-linux-bin/raw/main/appimage/exec-x86_64.so |
| 40 | # Set executable bit | 39 | # Set executable bit |
| 41 | chmod 755 \ | 40 | chmod 755 \ |
| 42 | AppRun-patched-x86_64 \ | 41 | deploy-linux.sh \ |
| 42 | AppRun.sh \ | ||
| 43 | exec-x86_64.so \ | 43 | exec-x86_64.so \ |
| 44 | linuxdeploy-x86_64.AppImage \ | ||
| 45 | linuxdeploy-plugin-qt-x86_64.AppImage | ||
| 46 | 44 | ||
| 47 | # Workaround for https://github.com/AppImage/AppImageKit/issues/828 | 45 | # Workaround for https://github.com/AppImage/AppImageKit/issues/828 |
| 48 | export APPIMAGE_EXTRACT_AND_RUN=1 | 46 | export APPIMAGE_EXTRACT_AND_RUN=1 |
| @@ -52,7 +50,7 @@ mkdir -p AppDir/usr/optional/libstdc++ | |||
| 52 | mkdir -p AppDir/usr/optional/libgcc_s | 50 | mkdir -p AppDir/usr/optional/libgcc_s |
| 53 | 51 | ||
| 54 | # Deploy yuzu's needed dependencies | 52 | # Deploy yuzu's needed dependencies |
| 55 | ./linuxdeploy-x86_64.AppImage --appdir AppDir --plugin qt | 53 | DEPLOY_QT=1 ./deploy-linux.sh AppDir/usr/bin/yuzu AppDir |
| 56 | 54 | ||
| 57 | # Workaround for libQt5MultimediaGstTools indirectly requiring libwayland-client and breaking Vulkan usage on end-user systems | 55 | # Workaround for libQt5MultimediaGstTools indirectly requiring libwayland-client and breaking Vulkan usage on end-user systems |
| 58 | find AppDir -type f -regex '.*libwayland-client\.so.*' -delete -print | 56 | find AppDir -type f -regex '.*libwayland-client\.so.*' -delete -print |
| @@ -60,6 +58,6 @@ find AppDir -type f -regex '.*libwayland-client\.so.*' -delete -print | |||
| 60 | # Workaround for building yuzu with GCC 10 but also trying to distribute it to Ubuntu 18.04 et al. | 58 | # Workaround for building yuzu with GCC 10 but also trying to distribute it to Ubuntu 18.04 et al. |
| 61 | # See https://github.com/darealshinji/AppImageKit-checkrt | 59 | # See https://github.com/darealshinji/AppImageKit-checkrt |
| 62 | cp exec-x86_64.so AppDir/usr/optional/exec.so | 60 | cp exec-x86_64.so AppDir/usr/optional/exec.so |
| 63 | cp AppRun-patched-x86_64 AppDir/AppRun | 61 | cp AppRun.sh AppDir/AppRun |
| 64 | cp --dereference /usr/lib/x86_64-linux-gnu/libstdc++.so.6 AppDir/usr/optional/libstdc++/libstdc++.so.6 | 62 | cp --dereference /usr/lib/x86_64-linux-gnu/libstdc++.so.6 AppDir/usr/optional/libstdc++/libstdc++.so.6 |
| 65 | cp --dereference /lib/x86_64-linux-gnu/libgcc_s.so.1 AppDir/usr/optional/libgcc_s/libgcc_s.so.1 | 63 | cp --dereference /lib/x86_64-linux-gnu/libgcc_s.so.1 AppDir/usr/optional/libgcc_s/libgcc_s.so.1 |