Commit 9fb6bf23 authored by Bart Ribbers's avatar Bart Ribbers
Browse files

community/libkipi: re-enable building of tests

Somehow CMake (ctest) doesn't actually find any tests though...
parent b056bba8
......@@ -2,7 +2,7 @@
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=libkipi
pkgver=21.04.2
pkgrel=0
pkgrel=1
pkgdesc="KDE Image Plugin Interface library"
# armhf blocked by extra-cmake-modules
# s390x, mips64 and riscv64 blocked by kxmlgui
......@@ -13,27 +13,26 @@ depends_dev="
kconfig-dev
kservice-dev
kxmlgui-dev
qt5-qtbase-dev
qt5-qtbase-dev
"
makedepends="$depends_dev
extra-cmake-modules
libjpeg-turbo-dev
libkexiv2-dev
tiff-dev
"
makedepends="$depends_dev extra-cmake-modules"
source="https://download.kde.org/stable/release-service/$pkgver/src/libkipi-$pkgver.tar.xz"
subpackages="$pkgname-dev"
options="!check" # Test suite fails to compile
options="!check" # No tests
build() {
cmake -B build \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_TESTING=OFF
-DCMAKE_INSTALL_LIBDIR=lib
cmake --build build
}
check() {
cd build
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
......
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