118.31. lensfun-0.3.4
Lens correction library and its camera and lens database
0.3.4-2 · LGPL-3.0-only AND CC-BY-SA-3.0 · 0.1 SBU · 4.3 MiB, 63 files · 41_system, 710 of 1047 · ports/core/image-libs/lensfun
Homepage: https://lensfun.github.io/
Depends on: cmake, pkgconf, glib.
Required by (4): darktable, digikam, gegl, rawtherapee.
Sources: lensfun-0.3.4.tar.gz (1.0 MiB). 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 24: python3
Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install lensfun'
build.sh:
mkdir -p build && cd build
cmake .. \
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_STATIC=OFF \
-DBUILD_TESTS=OFF \
-DBUILD_LENSTOOL=OFF \
-DBUILD_DOC=OFF \
-DINSTALL_PYTHON_MODULE=OFF \
-DINSTALL_HELPER_SCRIPTS=OFF \
-DPYTHON=OFF
make
make DESTDIR=$PKG install
install -Dm644 "$SRC/docs/lgpl-3.0.txt" "$PKG/usr/share/licenses/$name/lgpl-3.0.txt"
install -Dm644 "$SRC/docs/cc-by-sa-3.0.txt" "$PKG/usr/share/licenses/$name/cc-by-sa-3.0.txt"
Libraries: liblensfun.so.
Directories: /usr/include/lensfun, /usr/share/lensfun, /usr/share/licenses/lensfun.