aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2021-01-05 17:35:33 +0100
committerLeo <thinkabit.ukim@gmail.com>2021-01-05 17:23:38 +0000
commita29586b255e3de76f24eef1b4ccba68cd0099178 (patch)
tree3247d106df8075a2ecd4fa77cc02863f21d3c4f2
parent714197bb3c5f3988253e27e3bfaad43a92fa7871 (diff)
downloadaports-a29586b255e3de76f24eef1b4ccba68cd0099178.tar.gz
aports-a29586b255e3de76f24eef1b4ccba68cd0099178.tar.bz2
aports-a29586b255e3de76f24eef1b4ccba68cd0099178.tar.xz
community/kdsoap: upgrade to 1.10.0 and enable tests
-rw-r--r--community/kdsoap/APKBUILD22
1 files changed, 13 insertions, 9 deletions
diff --git a/community/kdsoap/APKBUILD b/community/kdsoap/APKBUILD
index 04ab6e64ce..9a39510177 100644
--- a/community/kdsoap/APKBUILD
+++ b/community/kdsoap/APKBUILD
@@ -1,35 +1,39 @@
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kdsoap
-pkgver=1.9.1
+pkgver=1.10.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"
+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
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DKDSoap_TESTS=true \
+ -DKDSoap_EXAMPLES=false
cmake --build build
}
check() {
cd build
- CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+
+ # kdsoap-webcalls, kdsoap-webcalls_wsdl and kdsoap-test_calc require network access
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest -E "kdsoap-(webcalls|webcalls_wsdl|test_calc)"
}
package() {
- DESTDIR="$pkgdir" cmake --build build --target install
+ DESTDIR="$pkgdir" cmake --install build
}
-sha512sums="55803cc220b99d84e95dce10cd9a57a591ac1d3e25194ec4bdcd17a51546759b6abe454e675640362442628de24b52eb91ec4c89615c1ca16c1e089ca4bedd7c kdsoap-1.9.1.tar.gz"
+sha512sums="c0e0108f74e5d4075a71369f428862b7f3eb6a7b1968eea7a7b01f4536d999468a7af8013be722c02b303a0580e7cd649fe78c1588f837405ede4bb753fb56b7 kdsoap-1.10.0.tar.gz"