Commit 910e52fa authored by Bart Ribbers's avatar Bart Ribbers Committed by Leo

testing/libkipi: new aport

parent bbf984c1
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=libkipi
pkgver=19.04.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/$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="16ed6882dd5c3b0dc031252e98324406b4c90fb1d05fd197b3d2eab480fe60de6c726d31f20d4d5d839eaa3d12379a67c5759f5a278a122fd9c970861d013b1e libkipi-19.04.2.tar.xz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment