##// END OF EJS Templates
[Meson] Install python interpreter lib in lib folder instead of plugin folder...
[Meson] Install python interpreter lib in lib folder instead of plugin folder Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r1443:0b787f764159
r1444:46f8d6c8fcea
Show More
appImage.sh
14 lines | 703 B | application/x-sh | BashLexer
Added AppImage build support for linux...
r1391 #!/bin/bash
mkdir build
cd build
Minor AppImage and Meson fixes...
r1443 mkdir -p $(pwd)/AppDir/usr
virtualenv -p python3 $(pwd)/AppDir/usr
source $(pwd)/AppDir/usr/bin/activate
pip 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
Minor AppImage and Meson fixes...
r1443 LD_LIBRARY_PATH=AppDir/usr/lib/:AppDir/usr/lib/SciQLop/ ./squashfs-root/AppRun AppDir/usr/share/applications/*.desktop -appimage -extra-plugins=iconengines,platformthemes/libqgtk3.so