mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-14 00:24:38 +00:00
30 lines
766 B
Bash
Executable File
30 lines
766 B
Bash
Executable File
#!/bin/bash
|
|
# this is a script shell for setting up the application bundle for linux
|
|
# It should be run (not sourced) in the meshlab/src/install/linux dir.
|
|
|
|
export INSTALL_PATH=$(pwd)
|
|
cd ../../distrib
|
|
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(pwd)
|
|
|
|
#check if we have an exec in distrib
|
|
if [ -f meshlab ]
|
|
then
|
|
echo "------------------"
|
|
else
|
|
echo "ERROR: meshlab bin not found inside distrib"
|
|
exit 1
|
|
fi
|
|
|
|
cp $INSTALL_PATH/../meshlab.png .
|
|
cp $INSTALL_PATH/default.desktop .
|
|
cp ../LICENSE.txt .
|
|
cp ../docs/readme.txt .
|
|
|
|
rm -r plugins/U3D_OSX/
|
|
rm -r plugins/U3D_W32/
|
|
|
|
$INSTALL_PATH/linuxdeployqt meshlab -appimage
|
|
|
|
#at this point, distrib folder contains all the files necessary to execute meshlab
|
|
echo "distrib folder is now a self contained meshlab application"
|