summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scripts/linux/travisbuild.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/scripts/linux/travisbuild.sh b/scripts/linux/travisbuild.sh
index 84cd5f4b0..f4bfaf63f 100644
--- a/scripts/linux/travisbuild.sh
+++ b/scripts/linux/travisbuild.sh
@@ -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
+