mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-13 08:09:39 +00:00
96 lines
2.7 KiB
YAML
96 lines
2.7 KiB
YAML
# Known to build in Ubuntu 18.04
|
|
name: meshlab
|
|
base: core18
|
|
version: '2020.09'
|
|
summary: MeshLab
|
|
description: |
|
|
The open source system for processing and editing 3D triangular meshes.
|
|
It provides a set of tools for editing, cleaning, healing, inspecting,
|
|
rendering, texturing and converting meshes. It offers features for processing
|
|
raw data produced by 3D digitization tools/devices and for preparing models
|
|
for 3D printing.
|
|
icon: meshlab.png
|
|
|
|
grade: stable
|
|
confinement: strict
|
|
|
|
apps:
|
|
meshlab:
|
|
command: desktop-launch $SNAP/AppRun
|
|
plugs: [home, x11, mir, opengl, removable-media]
|
|
desktop: usr/share/applications/meshlab.desktop
|
|
meshlabserver:
|
|
command: desktop-launch meshlabserver
|
|
plugs: [home, x11, opengl, removable-media]
|
|
|
|
|
|
parts:
|
|
desktop-qt5:
|
|
build-packages:
|
|
- build-essential
|
|
- qtbase5-dev
|
|
- dpkg-dev
|
|
make-parameters:
|
|
- FLAVOR=qt5
|
|
plugin: make
|
|
source: https://github.com/ubuntu/snapcraft-desktop-helpers.git
|
|
source-subdir: qt
|
|
stage-packages:
|
|
- libxkbcommon0
|
|
- ttf-ubuntu-font-family
|
|
- dmz-cursor-theme
|
|
- light-themes
|
|
- adwaita-icon-theme
|
|
- gnome-themes-standard
|
|
- shared-mime-info
|
|
- libqt5gui5
|
|
- libgdk-pixbuf2.0-0
|
|
- libqt5svg5
|
|
- try:
|
|
- appmenu-qt5
|
|
- locales-all
|
|
- xdg-user-dirs
|
|
- fcitx-frontend-qt5
|
|
meshlab:
|
|
after: [desktop-qt5]
|
|
plugin: qmake
|
|
qt-version: qt5
|
|
source: https://github.com/cnr-isti-vclab/meshlab.git
|
|
build-packages:
|
|
- qt5-default
|
|
- qttools5-dev-tools
|
|
- qtdeclarative5-dev
|
|
- libqt5xmlpatterns5-dev
|
|
- mesa-common-dev
|
|
- libglu1-mesa-dev
|
|
- lib3ds-dev
|
|
- libglew-dev
|
|
- libeigen3-dev
|
|
- libopenctm-dev
|
|
- libgmp-dev
|
|
- libqhull-dev
|
|
- chrpath
|
|
stage-packages:
|
|
- lib3ds-1-3
|
|
- libgomp1
|
|
- libopenctm1
|
|
- libqhull7
|
|
- libglew-dev
|
|
- libqt5opengl5-dev
|
|
- libqt5xmlpatterns5-dev
|
|
- libqt5gui5
|
|
override-build: |
|
|
qmake src/meshlab.pro "CONFIG+= system_eigen3 system_glew system_bzip2 system_openctm system_lib3ds"
|
|
make -j4
|
|
|
|
sh install/linux/qmake/linux_make_boundle.sh distrib/
|
|
|
|
rsync -av distrib/* $SNAPCRAFT_PART_INSTALL/
|
|
|
|
rm $SNAPCRAFT_PART_INSTALL/usr/share/applications/meshlab_server.desktop
|
|
rm $SNAPCRAFT_PART_INSTALL/usr/share/applications/meshlab.desktop
|
|
cp install/linux/resources/snap/meshlab.desktop $SNAPCRAFT_PART_INSTALL/usr/share/applications/
|
|
cp install/linux/resources/AppRunMeshLab $SNAPCRAFT_PART_INSTALL/
|
|
mv $SNAPCRAFT_PART_INSTALL/AppRunMeshLab $SNAPCRAFT_PART_INSTALL/AppRun
|
|
chmod +x $SNAPCRAFT_PART_INSTALL/AppRun
|