# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kmymoney pkgver=5.0.6 pkgrel=0 arch="all !ppc64le !s390x" # Limited by qt5-qtwebengine url="https://kmymoney.org/" pkgdesc="Personal finance manager for KDE which operates similarly to MS-Money or Quicken" license="GPL-2.0-or-later" makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtsvg-dev qt5-qtwebengine-dev kdoctools-dev kholidays-dev kcontacts-dev akonadi-dev kidentitymanagement-dev kactivities-dev karchive-dev kcoreaddons-dev kconfig-dev kconfigwidgets-dev ki18n-dev kcompletion-dev kcmutils-dev kitemmodels-dev kitemviews-dev kservice-dev kwallet-dev kiconthemes-dev kxmlgui-dev ktextwidgets-dev knotifications-dev kio-dev alkimia-dev kdiagram-dev gpgme-dev doxygen" checkdepends="xvfb-run" source="https://download.kde.org/stable/kmymoney/$pkgver/src/kmymoney-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang" build() { cmake \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DENABLE_WEBENGINE=ON # Prevent having to use unreleased qt5-qtwebkit version make } check() { # reports-chart-test requires OpenGL CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "reports-chart-test" } package() { DESTDIR="$pkgdir" make install } sha512sums="237918b0844d5d9129d086f403090acf21be6e2ba1f41d575ff9de514a9ddcb7bd616da1377ecc34c4436e12481e425615ab640e7549c783d9010b22c0460480 kmymoney-5.0.6.tar.xz"