From 99832abe13aa3b13d32230406657509c93c26086 Mon Sep 17 00:00:00 2001 From: Juergen Buchmueller Date: Tue, 8 Nov 2016 18:38:54 +0100 Subject: [PATCH] qxmpp: fix cross --- srcpkgs/qxmpp/template | 4 ++++ 1 file changed, 4 insertions(+) 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}"