245.3. libkexiv2-26.08.2
Qt 6 wrapper around exiv2 for reading and writing picture metadata
26.08.2-1 · GPL-2.0-or-later · 0.4 SBU · 634.9 KiB, 20 files · 43_toolkits, 101 of 344 · ports/core/image-libs/libkexiv2
Homepage: https://invent.kde.org/graphics/libkexiv2
libkexiv2 is a Qt 6 wrapper around exiv2: it reads and writes the Exif, IPTC and XMP metadata of pictures and the previews embedded in them. The thumbnailers in kio-extras and kdegraphics-thumbnailers, and okular, read pictures’ orientation and previews through it.
Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, exiv2.
Required by (4): kdegraphics-thumbnailers, kio-extras, okular, plasma-workspace.
Sources: libkexiv2-26.08.2.tar.xz (49.4 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 libkexiv2'
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: libKExiv2Qt6.so.
Directories: /usr/include/KExiv2Qt6, /usr/lib/cmake/KExiv2Qt6, /usr/share/licenses/libkexiv2.
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.