# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=libkexiv2 pkgver=22.12.3 pkgrel=0 pkgdesc="A library to manipulate pictures metadata" url="https://www.kde.org/applications/graphics" arch="all !armhf" # extra-cmake-modules license="GPL-2.0-or-later" makedepends="extra-cmake-modules qt5-qtbase-dev exiv2-dev samurai" subpackages="$pkgname-dev" source="https://download.kde.org/stable/release-service/$pkgver/src/libkexiv2-$pkgver.tar.xz" build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" cmake --build build --target install } sha512sums=" 252a64df99a545d71565e67c28aa8aea5c98229c4ae0fea1bfbc0ec85629b71c30afbec5eec3fb27f6842d40165fa4e6c046d89f30cf46dadec1ab427ed7e81d libkexiv2-22.12.3.tar.xz "