From 184b8d9e478912a0bda0f0531be453c72f4daa4a Mon Sep 17 00:00:00 2001 From: Teoh Han Hui Date: Sun, 20 Jun 2021 05:15:30 +0800 Subject: [PATCH] Bundle libgthread-2.0.so.0 into AppImage --- .github/workflows/build.yml | 5 ++++- ci/appimage-script.sh | 7 +++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e8d1724..84012a9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -131,7 +131,10 @@ jobs: - name: Install dependencies run: | - sudo apt-get install libxkbcommon-x11-0 + sudo apt-get install --no-install-recommends \ + libglib2.0-0 \ + libxkbcommon-x11-0 \ + ; - name: Build run: ci/appimage-script.sh diff --git a/ci/appimage-script.sh b/ci/appimage-script.sh index 56283c3..0e46bcf 100755 --- a/ci/appimage-script.sh +++ b/ci/appimage-script.sh @@ -109,6 +109,9 @@ export OUTPUT=Syncplay-$VERSION-x86_64.AppImage ./linuxdeploy-x86_64.AppImage --appdir AppDir --plugin conda \ -e $(which readelf) \ -i "$REPO_ROOT"/syncplay/resources/syncplay.png -d pl.syncplay.syncplay.desktop \ - --output appimage --custom-apprun AppRun.sh -l /usr/lib/x86_64-linux-gnu/libxkbcommon-x11.so.0 + --output appimage --custom-apprun AppRun.sh \ + -l /usr/lib/x86_64-linux-gnu/libgthread-2.0.so.0 \ + -l /usr/lib/x86_64-linux-gnu/libxkbcommon-x11.so.0 \ +; -mv Syncplay*.AppImage "$OLD_CWD" \ No newline at end of file +mv Syncplay*.AppImage "$OLD_CWD"