KDSoap: update to 2.2.0.

This commit is contained in:
Đoàn Trần Công Danh 2024-05-13 06:55:18 +07:00
parent 287b562bd1
commit 4c16129359
2 changed files with 17 additions and 10 deletions

View File

@ -3986,8 +3986,8 @@ libstk-4.6.1.so libstk-4.6.1_1
libc++utilities.so.5 cpp-utilities-5.2.0_1
libtagparser.so.12 tagparser-12.0.0_1
libqtutilities.so.6 qtutilities-6.0.4_1
libkdsoap.so.2 KDSoap-2.0.0_1
libkdsoap-server.so.2 KDSoap-2.0.0_1
libkdsoap-qt6.so.2 KDSoap-2.2.0_1
libkdsoap-server-qt6.so.2 KDSoap-2.2.0_1
libstoken.so.1 stoken-0.92_1
libjpegxr.so.0 jxrlib-0.2.2_1
libjxrglue.so.0 jxrlib-0.2.2_1

View File

@ -1,29 +1,36 @@
# Template file for 'KDSoap'
pkgname=KDSoap
version=2.0.0
version=2.2.0
revision=1
build_style=cmake
hostmakedepends="qt5-qmake qt5-host-tools"
makedepends="qt5-devel"
configure_args="-DKDSoap_QT6=TRUE
-DECM_MKSPECS_INSTALL_DIR=/usr/lib/qt6/mkspecs/modules"
hostmakedepends="qt6-base"
makedepends="qt6-base-devel"
short_desc="Qt-based client-side and server-side SOAP component"
maintainer="John <me@johnnynator.dev>"
license="GPL-3.0-or-later"
homepage="https://www.kdab.com/development-resources/qt-tools/kd-soap/"
distfiles="https://github.com/KDAB/KDSoap/releases/download/kdsoap-${version}/kdsoap-${version}.tar.gz"
checksum=d18963104fa6f7d02b044631cddbe78f18f70e06c607af680c7ace04d6cf04ee
checksum=d9ef11948442197c9fa44bd6fbadc842b7280a60dfc40577af66fded637af356
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" KDSoap-devel"
hostmakedepends+=" KDSoap"
configure_args+=" -DKDSOAP_KDWSDL2CPP_COMPILER=/usr/bin/kdwsdl2cpp-qt6"
fi
post_install() {
sed -i '/kdwsdl2cpp-qt6/s,[$]{_IMPORT_PREFIX},/usr,' \
"$DESTDIR/usr/lib/cmake/KDSoap-qt6/"KDSoapTargets-*.cmake
}
KDSoap-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove usr/bin/kdwsdl2cpp
vmove "usr/lib/*.so"
vmove usr/share/mkspecs
vmove usr/lib/qt6/mkspecs
}
}