diff --git a/srcpkgs/qxmpp/template b/srcpkgs/qxmpp/template index e840abf6b51..e00e3fd3253 100644 --- a/srcpkgs/qxmpp/template +++ b/srcpkgs/qxmpp/template @@ -12,6 +12,10 @@ homepage="https://github.com/qxmpp-project/qxmpp/" distfiles="https://github.com/qxmpp-project/qxmpp/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz" checksum=13f5162a1df720702c6ae15a476a4cb8ea3e57d861a992c4de9147909765e6de +if [ -n "$CROSS_BUILD" ]; then + hostmakedepends+=" qt5-host-tools qt5-devel" +fi + qxmpp-devel_package() { short_desc+=" - development files" depends="${sourcepkg}>=${version}_${revision}"