##// END OF EJS Templates
Added AppImage build support for linux...
jeandet -
r1391:80178174c9f1
parent child
Show More
@@ -0,0 +1,12
1 #!/bin/bash
2 mkdir build
3 cd build
4 meson --prefix=/usr ..
5 ninja
6 DESTDIR=AppDir ninja install
7 wget https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage
8 chmod +x linuxdeploy-x86_64.AppImage
9 LD_LIBRARY_PATH=AppDir/usr/lib/ ./linuxdeploy-x86_64.AppImage --appdir AppDir
10 mv ./AppDir/usr/lib64/*.so ./AppDir/usr/lib/
11 mv ./AppDir/usr/lib/*plugin.so ./AppDir/usr/bin/
12 LD_LIBRARY_PATH=AppDir/usr/lib/ ./linuxdeploy-x86_64.AppImage --appdir AppDir --output appimage No newline at end of file
@@ -1,14 +1,13
1 [Desktop Entry]
1 [Desktop Entry]
2 Version=1.0
2 Version=1.0
3 Name=QLop
3 Name=SciQLOP
4 Name[en_US]=SciQLOP
5
4
6 Type=Application
5 Type=Application
7 GenericName=SciQLOP
6 GenericName=SciQLOP
8 Comment=SCIentific Qt application for Learning from Observations of Plasmas
7 Comment=SCIentific Qt application for Learning from Observations of Plasmas
9
8
10 Exec=sciqlopapp
9 Exec=sciqlop
11 Icon=/usr/share/SciQLOP/icons/sciqlopLOGO.svg
10 Icon=sciqlopLOGO
12 Terminal=false
11 Terminal=false
13
12
14 Categories=Qt;Education;Science;
13 Categories=Qt;Education;Science;
@@ -21,6 +21,9 if build_machine.system()=='darwin'
21 meson.add_install_script('build_cfg/mac/install_script.sh')
21 meson.add_install_script('build_cfg/mac/install_script.sh')
22 elif host_machine.system()=='windows'
22 elif host_machine.system()=='windows'
23 meson.add_install_script('build_cfg/windows/install_script.sh')
23 meson.add_install_script('build_cfg/windows/install_script.sh')
24 elif host_machine.system()=='linux'
25 install_data('app/resources/sciqlopLOGO.svg', install_dir : 'share/icons/hicolor/scalable/')
26 install_data('app/resources/SciQLOP.desktop', install_dir : 'share/applications')
24 endif
27 endif
25
28
26 # Sets AMDA server that will be used during execution.
29 # Sets AMDA server that will be used during execution.
General Comments 0
You need to be logged in to leave comments. Login now