Wiki home
Editing page "
meshlab
"
Base on previous version:
0
-
6708
-
6712
-
6713
-
6714
-
6715
# Note: depends on [pkg]qtbase[/pkg] # Note: depends on [pkg]qtscript[/pkg] # Note: depends on [pkg]patch[/pkg] # Note: depends on [pkg]mpir[/pkg] # Note: depends on [pkg]qtxmlpatterns[/pkg] # Note: depends on [pkg]glu[/pkg] wget -c [link]https://github.com/cnr-isti-vclab/meshlab/archive/v2016.12/meshlab-2016.12.tar.gz[/link] tar -xzf meshlab-2016.12.tar.gz cd meshlab-2016.12 rm -rf src/external/lib # Ditch bundled binaries wget -c [link]https://github.com/cnr-isti-vclab/vcglib/archive/v1.0.1/vcglib-1.0.1.tar.gz[/link] tar -xzf vcglib-1.0.1.tar.gz mv vcglib-1.0.1 vcglib sed -i -e 's/<QScript.*>/<QtScript>/' src/meshlab/xmlgeneratorgui.h src/meshlabplugins/filter_photosynth/synthData.h src/meshlabplugins/filter_photosynth/downloader.cpp src/plugins_experimental/filter_sketchfab/filter_sketchfab.cpp echo 'VCGDIR = ../../vcglib' >> src/general.pri sed -i -e 's@/../vcglib@/vcglib@g' src/*/*/*.pro # Arch users already made a lot of the fixes wget -c -O bzip2.patch "[link]https://aur.archlinux.org/cgit/aur.git/plain/bzip2.patch?h=meshlab[/link]" wget -c -O import_bundle_out.patch "[link]https://aur.archlinux.org/cgit/aur.git/plain/import_bundle_out.patch?h=meshlab[/link]" wget -c -O mpir.patch "[link]https://aur.archlinux.org/cgit/aur.git/plain/mpir.patch?h=meshlab[/link]" wget -c -O plugin_dir.patch "[link]https://aur.archlinux.org/cgit/aur.git/plain/plugin_dir.patch?h=meshlab[/link]" wget -c -O qt5.11.patch "[link]https://aur.archlinux.org/cgit/aur.git/plain/qt5.11.patch?h=meshlab[/link]" wget -c -O rpath.patch "[link]https://aur.archlinux.org/cgit/aur.git/plain/rpath.patch?h=meshlab[/link]" wget -c -O screened_poisson.patch "[link]https://aur.archlinux.org/cgit/aur.git/plain/screened_poisson.patch?h=meshlab[/link]" wget -c -O shaders_dir.patch "[link]https://aur.archlinux.org/cgit/aur.git/plain/shaders_dir.patch?h=meshlab[/link]" patch -p1 < bzip2.patch patch -p0 < import_bundle_out.patch patch -p1 < mpir.patch patch -p1 < plugin_dir.patch patch -p1 < qt5.11.patch patch -p1 < rpath.patch patch -p1 < screened_poisson.patch patch -p1 < shaders_dir.patch mv src/plugins_experimental/io_TXT/io_txt.pro src/plugins_experimental/io_TXT/io_TXT.pro cd src/external qmake external.pro make # Doesn't mind -j# cd .. qmake meshlab_full.pro make # Doesn't mind -j# install -D -t /usr/bin distrib/meshlab distrib/meshlabserver install -D -t /usr/lib/meshlab distrib/lib* install -D -t /usr/lib/meshlab/plugins distrib/plugins/*.so install -D -t /usr/share/meshlab/shaders distrib/shaders/*.*
Change summary:
Tags allowed:
[pkg]name[/pkg]
Link to another package on the buildwiki by name
[link]URL[/link]
Link to an external page