# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=libkipi pkgver=19.08.2 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/libkipi-$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="a0ec6fa7bb16a33bca198cd292b3d5c5ebcf7983979e1bcee7cc4863a50a6b82cc8b0072bbdb2209cb855c87fc039e165dd3deb0a342214f9377998d5d913640 libkipi-19.08.2.tar.xz"