118.1. imath-3.2.3
C++ and python library of 2D and 3D vector, matrix, and math operations for computer graphics
3.2.3-1 · BSD-3-Clause · 0.1 SBU · 880.1 KiB, 45 files · 41_system, 4 of 1047 · ports/core/image-libs/imath
Homepage: https://github.com/AcademySoftwareFoundation/Imath
Required by (10): alembic, blender, calligra, darktable, gdal, kdenlive, opencolorio, openexr, openimageio, opentimelineio.
Sources: imath-3.2.3.tar.gz (679.5 KiB). Every step kpkg takes applies to this port.
Optional, off in KDOS. These switches in build.sh turn off a feature whose library is a port here. The recipe may turn each off on purpose, or because the library was not yet a port when the recipe was written; this list cannot tell which.
-DPYTHON=OFF, line 20: python3
Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install imath'
build.sh:
cmake -S . -B build -G Ninja \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_INSTALL_LIBEXECDIR=lib \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_C_FLAGS_RELEASE="$CFLAGS -DNDEBUG" \
-DCMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS -DNDEBUG" \
-DBUILD_TESTING=OFF \
-DPYTHON=OFF \
-DPYBIND11=OFF \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
Libraries: libImath-3_2.so, libImath.so.
Directories: /usr/include/Imath, /usr/lib/cmake/Imath, /usr/share/licenses/imath.