Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

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

Depends on: cmake, ninja.

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.

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.