# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=libkipi pkgver=19.08.1 pkgrel=0 pkgdesc="KDE Image Plugin Interface library" arch="all" url="https://www.digikam.org/" license="GPL-2.0-or-later AND LGPL-2.0-or-later" depends_dev="qt5-qtbase-dev kconfig-dev kxmlgui-dev kservice-dev" makedepends="$depends_dev extra-cmake-modules" source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz" subpackages="$pkgname-dev" options="!check" # Test suite fails to compile build() { cmake \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_TESTING=OFF make } check() { CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" make install } sha512sums="5cde296b18b395739198a99762c42e511a647f37e38136d3529fe490dc5cecc040c5f9f1a6a61f5d074e0142940682230645c3640c2d1166c442f0caebe082bb libkipi-19.08.1.tar.xz"