196.2. manifold-3.5.4
Guaranteed-manifold mesh boolean library, the geometry kernel OpenSCAD renders with
3.5.4-1 · Apache-2.0 · 1.1 SBU · 5.0 MiB, 24 files · 42_graphics, 16 of 189 · ports/core/3d/manifold
Homepage: https://github.com/elalish/manifold
Depends on: cmake, ninja, clipper2, onetbb.
Required by (2): blender, openscad.
Sources: manifold-3.5.4.tar.gz (29.5 MiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/42_graphics/phase.env && kpkg install manifold'
build.sh:
mkdir -p build && cd build
cmake .. -G Ninja -DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_SKIP_INSTALL_RPATH=ON \
-DBUILD_SHARED_LIBS=ON -DBUILD_TESTING=OFF \
-DMANIFOLD_DOWNLOADS=OFF \
-DMANIFOLD_TEST=OFF \
-DMANIFOLD_PAR=ON \
-DMANIFOLD_CROSS_SECTION=ON \
-DMANIFOLD_CBIND=ON \
-DMANIFOLD_PYBIND=OFF
ninja
DESTDIR=$PKG ninja install
Libraries: libmanifold.so, libmanifoldc.so.
Directories: /usr/include/manifold, /usr/lib/cmake/manifold, /usr/share/licenses/manifold.