From d3c2ada959447b5d707c1961b41f51e015277f18 Mon Sep 17 00:00:00 2001 From: John Date: Fri, 29 May 2020 15:56:57 +0200 Subject: [PATCH] KDSoap: conditionalize KDSoap-devel cross host dep --- srcpkgs/KDSoap/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/KDSoap/template b/srcpkgs/KDSoap/template index 454b6bc3e8..fbd1686438 100644 --- a/srcpkgs/KDSoap/template +++ b/srcpkgs/KDSoap/template @@ -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 " @@ -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"