mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-20 11:26:11 +00:00
distrib structure for appimage
This commit is contained in:
parent
a9dc5ef7ce
commit
08fa9dd3d8
@ -11,7 +11,7 @@
|
||||
#
|
||||
# You can give as argument the DISTRIB_PATH.
|
||||
|
||||
cd "${0%/*}" #move to script directory
|
||||
#cd "${0%/*}" #move to script directory
|
||||
|
||||
#checking for parameters
|
||||
if [ "$#" -eq 0 ]
|
||||
@ -39,6 +39,20 @@ cp $INSTALL_PATH/resources/default.desktop .
|
||||
#cp $SOURCE_PATH/../LICENSE.txt $DISTRIB_PATH
|
||||
#cp $SOURCE_PATH/../docs/readme.txt $DISTRIB_PATH
|
||||
|
||||
mkdir -p usr/bin
|
||||
mkdir -p usr/lib/meshlab
|
||||
mkdir -p usr/share/applications
|
||||
mkdir -p usr/share/icons/hicolor/512x512/apps/
|
||||
|
||||
mv default.desktop usr/share/applications/meshlab.desktop
|
||||
mv meshlab.png usr/share/icons/hicolor/512x512/apps/meshlab.png
|
||||
mv meshlab usr/bin
|
||||
mv meshlabserver usr/bin
|
||||
mv lib/libcommon* usr/lib/
|
||||
mv plugins/ usr/lib/meshlab/
|
||||
mv shaders/ usr/lib/meshlab/
|
||||
mv textures/ usr/lib/meshlab/
|
||||
|
||||
rm -r lib/macx64/
|
||||
rm -r lib/win32-msvc/
|
||||
rm -r lib/win32-msvc2008/
|
||||
@ -49,10 +63,9 @@ rm -r plugins/U3D_W32/
|
||||
rm -r plugins/plugins.txt
|
||||
rm -r README.md
|
||||
|
||||
mkdir -p usr/share/icons/hicolor/512x512/apps/
|
||||
mv meshlab.png usr/share/icons/hicolor/512x512/apps/meshlab.png
|
||||
|
||||
$INSTALL_PATH/resources/linuxdeployqt meshlab -appimage -executable=meshlabserver
|
||||
|
||||
$INSTALL_PATH/resources/linuxdeployqt usr/share/applications/meshlab.desktop -bundle-non-qt-libs -appimage
|
||||
mv *.AppImage MeshLab$(date +%Y.%m)-linux.AppImage
|
||||
|
||||
#at this point, distrib folder contains all the files necessary to execute meshlab
|
||||
|
||||
@ -6,7 +6,7 @@ Name[en_GB]=MeshLab
|
||||
GenericName=Mesh processing
|
||||
GenericName[en_GB]=Mesh processing
|
||||
Comment=View and process meshes
|
||||
Exec=AppRun %F
|
||||
Exec=usr/bin/meshlab
|
||||
Icon=meshlab
|
||||
Terminal=false
|
||||
MimeType=model/mesh;application/x-3ds;image/x-3ds;model/x-ply;application/sla;model/x-quad-object;model/x-geomview-off;application/x-cyclone-ptx;application/x-vmi;application/x-bre;model/vnd.collada+xml;model/openctm;application/x-expe-binary;application/x-expe-ascii;application/x-xyz;application/x-gts;chemical/x-pdb;application/x-tri;application/x-asc;model/x3d+xml;model/x3d+vrml;model/vrml;model/u3d;model/idtf;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user