# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=libkgeomap pkgver=20.04.0 pkgrel=0 pkgdesc="A wrapper around world map components for browsing and arranging photos on a map" url="https://www.kde.org/applications/graphics/" # mips, ppc64le and s390x blocked by marble-dev # armhf blocked by libkexiv2 arch="all !ppc64le !s390x !armhf !mips !mips64" license="GPL-2.0-or-later" makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtwebkit-dev ki18n-dev kconfig-dev kio-dev marble-dev libkexiv2-dev" subpackages="$pkgname-dev $pkgname-lang" source="https://download.kde.org/stable/release-service/$pkgver/src/libkgeomap-$pkgver.tar.xz" build() { cmake -B build \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" cmake --build build --target install } sha512sums="cbcfce1a160ec13c4fb2bef1a3eaaefe37e3df0a7b468db11b3fabb06e9c449db8d9ea36ca073ec142e133ca07f8ebb4199a4cdac99502c598a7237ca549bbce libkgeomap-20.04.0.tar.xz"