Merge pull request #432 from teohhanhui/fix/appimage-missing-deps

Bundle libgthread-2.0.so.0 into AppImage
This commit is contained in:
Daniel Wróbel 2021-07-21 18:32:00 +02:00 committed by GitHub
commit acc8a05961
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 3 deletions

View File

@ -131,7 +131,10 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: | run: |
sudo apt-get install libxkbcommon-x11-0 sudo apt-get install --no-install-recommends \
libglib2.0-0 \
libxkbcommon-x11-0 \
;
- name: Build - name: Build
run: ci/appimage-script.sh run: ci/appimage-script.sh

View File

@ -109,6 +109,9 @@ export OUTPUT=Syncplay-$VERSION-x86_64.AppImage
./linuxdeploy-x86_64.AppImage --appdir AppDir --plugin conda \ ./linuxdeploy-x86_64.AppImage --appdir AppDir --plugin conda \
-e $(which readelf) \ -e $(which readelf) \
-i "$REPO_ROOT"/syncplay/resources/syncplay.png -d pl.syncplay.syncplay.desktop \ -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" mv Syncplay*.AppImage "$OLD_CWD"