aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libkgeomap/APKBUILD
blob: b4386d631fd3a5ff38ebdb1101be844069beba46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname="libkgeomap"
pkgver="19.12.3"
pkgrel=0
pkgdesc="A wrapper around world map components for browsing and arranging photos on a map"
url="https://www.kde.org/applications/graphics/"
# ppc64le and s390x blocked by marble-dev
# armhf blocked by libkexiv2
arch="all !ppc64le !s390x !armhf"
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 "$builddir"/build \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	make -C build
}

check() {
	cd "$builddir"/build
	CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}

package() {
	DESTDIR="$pkgdir" make -C build install
}

sha512sums="15102ea14b283598bb46ae8c43fdb3fa3aeaeb3304a7516497d391965eb54c6672925cab01ff07666057faa0a98106a5e704826f2c984b2c905cbe3d3068b1f0  libkgeomap-19.12.3.tar.xz"