mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-15 09:04:36 +00:00
36 lines
981 B
Bash
Executable File
36 lines
981 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
|
|
|
|
rm -r sample/
|
|
mkdir lib
|
|
cp libcommon.so.1.0.0 lib/libcommon.so.1.0.0
|
|
cp lib/libcommon.so.1.0.0 lib/libcommon.so.1.0
|
|
cp lib/libcommon.so.1.0.0 lib/libcommon.so.1
|
|
cp lib/libcommon.so.1.0.0 lib/libcommon.so
|
|
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 moment, the distrib folder contains all the files necessary to execute meshlab
|
|
echo "distrib folder is now a self contained meshlab application"
|