245.4. libkdcraw-26.08.2
Qt 6 wrapper around LibRaw for decoding camera raw files
26.08.2-1 · GPL-2.0-or-later · 0.2 SBU · 176.1 KiB, 20 files · 43_toolkits, 173 of 344 · ports/core/image-libs/libkdcraw
Homepage: https://invent.kde.org/graphics/libkdcraw
libkdcraw is a Qt 6 wrapper around libraw: it decodes camera raw files and reads the preview pictures and metadata they carry. kdegraphics-thumbnailers draws raw thumbnails through it and gwenview opens raw files with it.
Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, libraw.
Required by (3): gwenview, kdegraphics-thumbnailers, krita.
Sources: libkdcraw-26.08.2.tar.xz (36.3 KiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/43_toolkits/phase.env && kpkg install libkdcraw'
build.sh:
cmake -S . -B build -G Ninja \
-D CMAKE_INSTALL_PREFIX=/usr \
-D KDE_INSTALL_LIBDIR=lib \
-D CMAKE_BUILD_TYPE=Release \
-D BUILD_TESTING=OFF \
-D KDE_INSTALL_USE_QT_SYS_PATHS=ON \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
Libraries: libKDcrawQt6.so.
Directories: /usr/include/KDcrawQt6, /usr/lib/cmake/KDcrawQt6, /usr/share/licenses/libkdcraw.
The build is upstream’s CMake build with its tests off. The tarball has no po/ directory, so the recipe does without the KF_SKIP_PO_PROCESSING switch the other KDE recipes pass.