aboutsummaryrefslogtreecommitdiffstats
path: root/community/kdsoap/APKBUILD
blob: 705271d85ad0f6689f077d32eb5b3dd6a47ff49f (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
34
35
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kdsoap
pkgver=1.9.0
pkgrel=0
pkgdesc="Additional components to increase the functionality of KIO"
arch="all !armhf" # armhf blocked by extra-cmake-modules
url="https://www.kdab.com/products/kd-soap"
license="LGPL-2.1-only AND LGPL-3.0-only AND (GPL-2.0-only OR GPL-3.0-only) AND AGPL-3.0-only"
depends_dev="qt5-qtbase-dev"
makedepends="$depends_dev cmake doxygen"
source="https://github.com/KDAB/KDSoap/releases/download/kdsoap-$pkgver/kdsoap-$pkgver.tar.gz"
subpackages="$pkgname-dev $pkgname-doc"
options="!check" # No tests

build() {
	cmake -B build \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
# Building tests break without network access
#		-DKDSoap_TESTS=ON
	cmake --build build
}

check() {
	cd build
	CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}

package() {
	DESTDIR="$pkgdir" cmake --build build --target install
}

sha512sums="051804ba3dc09b30353787d4345fd023c42956bae8322dc1c846322983a50fe1a1e5b06988d339218290958043bf7ebfd049c3cdfa61da9e28f3fee4f052b93d  kdsoap-1.9.0.tar.gz"