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"