# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=mauikit-imagetools pkgver=2.2.1 pkgrel=1 pkgdesc="MauiKit Image Tools Components" # armhf blocked by extra-cmake-modules arch="all !armhf" url="https://mauikit.org/" license="GPL-2.0-or-later" depends=" kirigami2 " depends_dev=" exiv2-dev kcoreaddons-dev ki18n-dev kquickimageeditor-dev mauikit-dev qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtlocation-dev " makedepends="$depends_dev extra-cmake-modules samurai " source="https://download.kde.org/stable/maui/mauikit-imagetools/$pkgver/mauikit-imagetools-$pkgver.tar.xz exiv2-0.28.patch " subpackages="$pkgname-dev" 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 --install build } sha512sums=" ab331012b408c1038e1b5284510c938320230f0230c002febdf0b45abf8a2a67a9917aac660786b0d6e522cc4d4fb210d5423c294f637dd534de0252741daf56 mauikit-imagetools-2.2.1.tar.xz d09ca371ef43091acf96fa3aa72d1727dd53388f38b8bb65853680e552aa3a5beea0ca272ec5d7a0d8fbf6c5ded4825646aaa7fc81eb059b3a09af8cf0f9c060 exiv2-0.28.patch "