diff options
author | Bart Ribbers <bribbers@disroot.org> | 2019-06-19 01:21:06 +0200 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-06-18 20:38:13 -0300 |
commit | 910e52fa5d07ba2668dec7d775570e7f37c5ae57 (patch) | |
tree | 54b98a41123b7ad1fbb13d1ff0326965738a12b4 /testing | |
parent | bbf984c1907969c7528aff677b51474d3e1afe40 (diff) | |
download | aports-910e52fa5d07ba2668dec7d775570e7f37c5ae57.tar.bz2 aports-910e52fa5d07ba2668dec7d775570e7f37c5ae57.tar.xz |
testing/libkipi: new aport
Diffstat (limited to 'testing')
-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" |