From a02fbf87b6dbade17b666302d66635165f2e96f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Sun, 15 Jan 2017 02:45:21 +0100 Subject: [PATCH] liblastfm: fix cross --- srcpkgs/liblastfm/template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/srcpkgs/liblastfm/template b/srcpkgs/liblastfm/template index b379ee279d6..1630dc89b13 100644 --- a/srcpkgs/liblastfm/template +++ b/srcpkgs/liblastfm/template @@ -11,6 +11,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+=" qt-host-tools qt-devel" +fi + liblastfm-devel_package() { depends="liblastfm>=${version}_${revision} $makedepends" short_desc+=" - development files"