# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=gwenview pkgver=19.08.1 pkgrel=0 arch="all" url="https://kde.org/applications/graphics/org.kde.gwenview" pkgdesc="Fast and easy to use image viewer by KDE" license="GPL-2.0-only" makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtsvg-dev qt5-qtx11extras-dev kio-dev kitemmodels-dev ki18n-dev kdoctools-dev kparts-dev kwindowsystem-dev kiconthemes-dev knotifications-dev kactivities-dev libjpeg-turbo-dev libpng-dev libkipi-dev lcms2-dev baloo-dev libkdcraw-dev purpose-dev" checkdepends="xvfb-run kinit" source="https://download.kde.org/stable/applications/$pkgver/src/gwenview-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang" build() { cmake \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make } check() { # urlutilstest is broken # recursivedirmodeltest requires running DBus CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "(urlutils|recursivedirmodel)test" } package() { DESTDIR="$pkgdir" make install } sha512sums="c897239eb1693c131087b2dac4cf71f11fc35b132047eeb5d311dfc0f16962683158f5f381df294575a924c764a3e081b42b032665739fb10504c79392049836 gwenview-19.08.1.tar.xz"