KDSoap: conditionalize KDSoap-devel cross host dep

This commit is contained in:
John 2020-05-29 15:56:57 +02:00
parent b2f5ef7138
commit d3c2ada959

View file

@ -4,7 +4,7 @@ version=1.9.0
revision=1
wrksrc="kdsoap-${version}"
build_style=cmake
hostmakedepends="KDSoap-devel qt5-qmake qt5-host-tools"
hostmakedepends="qt5-qmake qt5-host-tools"
makedepends="qt5-devel"
short_desc="Qt-based client-side and server-side SOAP component"
maintainer="John <johnz@posteo.net>"
@ -13,6 +13,10 @@ 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=e3b9626d5cb08f41a709fa35031ce17bfdd075b7387baf14ecf8a9ca10994828
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" KDSoap-devel"
fi
KDSoap-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"