diff options
Diffstat (limited to 'testing/libkipi/APKBUILD')
-rw-r--r-- | testing/libkipi/APKBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/libkipi/APKBUILD b/testing/libkipi/APKBUILD new file mode 100644 index 0000000000..97cf9ba2da --- /dev/null +++ b/testing/libkipi/APKBUILD @@ -0,0 +1,32 @@ +# 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" |