@@ -30,7 +30,7 endif | |||||
30 | app_libs = [] |
|
30 | app_libs = [] | |
31 | cpp_args = [] |
|
31 | cpp_args = [] | |
32 | if 'static' == get_option('default_library') |
|
32 | if 'static' == get_option('default_library') | |
33 |
app_libs = [sciqlop_ |
|
33 | app_libs = [sciqlop_python_providers] | |
34 | cpp_args += ['-DQT_STATICPLUGIN'] |
|
34 | cpp_args += ['-DQT_STATICPLUGIN'] | |
35 | endif |
|
35 | endif | |
36 |
|
36 |
@@ -1,10 +1,14 | |||||
1 | #!/bin/bash |
|
1 | #!/bin/bash | |
2 | mkdir build |
|
2 | mkdir build | |
3 | cd build |
|
3 | cd build | |
|
4 | mkdir -p $(pwd)/AppDir/usr | |||
|
5 | virtualenv -p python3 $(pwd)/AppDir/usr | |||
|
6 | source $(pwd)/AppDir/usr/bin/activate | |||
|
7 | pip install git+https://github.com/jeandet/spwc | |||
4 | meson --prefix=/usr .. |
|
8 | meson --prefix=/usr .. | |
5 | ninja |
|
9 | ninja | |
6 | DESTDIR=AppDir ninja install |
|
10 | DESTDIR=$(pwd)/AppDir ninja install | |
7 | mv AppDir/usr/lib64 AppDir/usr/lib |
|
11 | mv AppDir/usr/lib64 AppDir/usr/lib | |
8 | wget https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage |
|
12 | wget https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage | |
9 | chmod +x linuxdeployqt-continuous-x86_64.AppImage && ./linuxdeployqt-continuous-x86_64.AppImage --appimage-extract |
|
13 | chmod +x linuxdeployqt-continuous-x86_64.AppImage && ./linuxdeployqt-continuous-x86_64.AppImage --appimage-extract | |
10 | LD_LIBRARY_PATH=AppDir/usr/lib/ ./squashfs-root/AppRun AppDir/usr/share/applications/*.desktop -appimage -extra-plugins=iconengines,platformthemes/libqgtk3.so |
|
14 | 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 |
General Comments 0
You need to be logged in to leave comments.
Login now