Debian Codegraph @

.github/scripts/linux/build_appImage.sh

raw symbols SCIP
1 #!/bin/bashscip-shell filesystem . . `/bin/bash`.
2
3 mkdirscip-shell system . . mkdir. build && cd build
4
5 echoscip-shell system . . echo. "--> Build"
6 cmakescip-shell system . . cmake. .. -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DCMAKE_INSTALL_PREFIX=/usr -DVERSION_SUFIX=${VERSION_SUFFIX} -DBUILD_NUMBER=${BUILD_NUMBER} -DCMAKE_PREFIX_PATH=${INSTALL_PREFIX}
7 makescip-shell system . . make. DESTDIR=appdir -j$(nprocscip-shell system . . nproc.) install ; findscip-shell system . . find. appdir/
8
9 echoscip-shell system . . echo. "--> Copy SSL libs to appDir"
10 mkdirscip-shell system . . mkdir. -p appdir/usr/lib/
11 cpscip-shell system . . cp. /lib/x86_64-linux-gnu/libssl.so.1.0.0scip-shell filesystem . . `/lib/x86_64-linux-gnu/libssl.so.1.0.0`. appdir/usr/lib/
12
13 echoscip-shell system . . echo. "--> Copy kImageAnnotator translations to appDir"
14 mkdirscip-shell system . . mkdir. -p appdir/usr/share/kImageAnnotator/
15 cpscip-shell system . . cp. -r ${INSTALL_PREFIX}/share/kImageAnnotator/translations appdir/usr/share/kImageAnnotator/
16
17 echoscip-shell system . . echo. "--> Package appImage"
18 unset QTDIR; unset QT_PLUGIN_PATH ; unset LD_LIBRARY_PATH
19 ../linuxdeployqt-continuous-x86_64.AppImage appdir/usr/share/applications/*.desktop -bundle-non-qt-libs
20 ../linuxdeployqt-continuous-x86_64.AppImage appdir/usr/share/applications/*.desktop -appimage -extra-plugins=iconengines,imageformats
21
22 echoscip-shell system . . echo. "--> Whats in here"
23 lsscip-shell system . . ls.
24 echoscip-shell system . . echo. "--> Move"
25 mvscip-shell system . . mv. ksnip*.AppImage* ${GITHUB_WORKSPACE}/
26 echoscip-shell system . . echo. "--> Done"