From 6462e3bfc2142552fa8cf3f29fc4e04e6e65247e Mon Sep 17 00:00:00 2001 From: Juergen Buchmueller Date: Tue, 8 Nov 2016 20:06:07 +0100 Subject: [PATCH] liblastfm-qt5: fix cross --- srcpkgs/liblastfm-qt5/template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/srcpkgs/liblastfm-qt5/template b/srcpkgs/liblastfm-qt5/template index 0a079b03845..ffd00329bab 100644 --- a/srcpkgs/liblastfm-qt5/template +++ b/srcpkgs/liblastfm-qt5/template @@ -13,6 +13,10 @@ homepage="https://github.com/lastfm/liblastfm" distfiles="https://github.com/lastfm/${pkgname%-*}/archive/${version}.tar.gz" checksum=5276b5fe00932479ce6fe370ba3213f3ab842d70a7d55e4bead6e26738425f7b +if [ -n "$CROSS_BUILD" ]; then + hostmakedepends+=" qt5-host-tools qt5-devel" +fi + liblastfm-qt5-devel_package() { depends="liblastfm-qt5>=${version}_${revision} $makedepends" short_desc+=" - development files"