mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
smtk-import: Add an AppImage for smtk2ssrf
Build an AppImage for smtk2ssrf using previously build binaries. Signed-off-by: Salvador Cuñat <salvador.cunat@gmail.com>
This commit is contained in:
parent
f6cee2ca7e
commit
9ec6aafe51
1 changed files with 19 additions and 0 deletions
|
@ -51,3 +51,22 @@ find ./appdir -executable -type f -exec ldd {} \; | grep " => /usr" | cut -d " "
|
|||
|
||||
# SmartTrak import tool
|
||||
bash -e -x ./subsurface/scripts/smtk2ssrf-build.sh
|
||||
|
||||
# Create AppImage for smtk2ssrf
|
||||
mkdir -p ./smtk2ssrf_appdir/usr/share
|
||||
mkdir -p ./smtk2ssrf_appdir/usr/plugins
|
||||
mkdir -p ./smtk2ssrf_appdir/usr/bin
|
||||
mkdir -p ./smtk2ssrf_appdir/usr/lib
|
||||
cp -f subsurface/icons/subsurface-icon.svg smtk2ssrf_appdir/
|
||||
cp -f subsurface/smtk-import/smtk2ssrf.desktop smtk2ssrf_appdir/
|
||||
cp -f install-root/bin/smtk2ssrf smtk2ssrf_appdir/usr/bin/
|
||||
cp -f install-root/lib/libdivecomputer.so.0 smtk2ssrf_appdir/usr/lib/
|
||||
cp -f install-root/lib/libgit2* smtk2ssrf_appdir/usr/lib/
|
||||
# Why is Grantlee needed? We have built subsurface without printing support!!!
|
||||
cp -f install-root/lib/libGrantlee* smtk2ssrf_appdir/usr/lib/
|
||||
cp -rf appdir/usr/plugins/{bearer,iconengines,imageformats,platforms,xcbglintegrations} smtk2ssrf_appdir/usr/plugins
|
||||
|
||||
./linuxdeployqt*.AppImage ./smtk2ssrf_appdir/smtk2ssrf.desktop -bundle-non-qt-libs -verbose=2
|
||||
./linuxdeployqt*.AppImage ./smtk2ssrf_appdir/smtk2ssrf.desktop -appimage -verbose=2
|
||||
find ./smtk2ssrf_appdir -executable -type f -exec ldd {} \; | grep " => /usr" | cut -d " " -f 2-3 | sort | uniq
|
||||
|
||||
|
|
Loading…
Reference in a new issue