##// END OF EJS Templates
AppImage Python test...
AppImage Python test Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r1445:7b301118a3a5
r1445:7b301118a3a5
Show More
appImage.sh
16 lines | 824 B | application/x-sh | BashLexer
Added AppImage build support for linux...
r1391 #!/bin/bash
AppImage Python test...
r1445 HERE="$(dirname "$(readlink -f "${0}")")"
Added AppImage build support for linux...
r1391 mkdir build
cd build
Minor AppImage and Meson fixes...
r1443 mkdir -p $(pwd)/AppDir/usr
AppImage Python test...
r1445 cp $HERE/AppRun $(pwd)/AppDir/
chmod +x $(pwd)/AppDir/AppRun
Minor AppImage and Meson fixes...
r1443 virtualenv -p python3 $(pwd)/AppDir/usr
AppImage Python test...
r1445 $(pwd)/AppDir/usr/bin/pip3 install git+https://github.com/jeandet/spwc
Added AppImage build support for linux...
r1391 meson --prefix=/usr ..
ninja
Minor AppImage and Meson fixes...
r1443 DESTDIR=$(pwd)/AppDir ninja install
Tinny AppImage fix...
r1394 mv AppDir/usr/lib64 AppDir/usr/lib
Switched to linuxdeployqt tool for AppImage build (tested on centos 7 with devtoolset-7 and Qt 5.11)...
r1393 wget https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage
chmod +x linuxdeployqt-continuous-x86_64.AppImage && ./linuxdeployqt-continuous-x86_64.AppImage --appimage-extract
AppImage Python test...
r1445 LD_LIBRARY_PATH=AppDir/usr/lib/:AppDir/usr/lib/SciQLop/:$(python3-config --prefix)/lib64 ./squashfs-root/AppRun AppDir/usr/share/applications/*.desktop -appimage -extra-plugins=iconengines,platformthemes/libqgtk3.so