# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=gwenview pkgver=19.04.3 pkgrel=0 arch="all" url="https://kde.org/applications/gwenview/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" checkdepends="xvfb-run" source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$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 CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "urlutilstest" } package() { DESTDIR="$pkgdir" make install } sha512sums="03368de984dba8125d7cb1c49fb643bc313684621bf3e06ffc34258591673fdb180769657a5318412acc68c33b219df04148a8b4271640adca621a844f3b8103 gwenview-19.04.3.tar.xz"