diff --git a/srcpkgs/tomahawk-qt5/template b/srcpkgs/tomahawk-qt5/template index a01739e21e3..a62d12ed6c4 100644 --- a/srcpkgs/tomahawk-qt5/template +++ b/srcpkgs/tomahawk-qt5/template @@ -34,6 +34,10 @@ checksum=0fb04bc6b7009e17186b3d384057939727c6f289d22f7f9a5ed2c9c9cd800449 provides="tomahawk-${version}_${revision}" replaces="tomahawk>=0" +if [ -n "$CROSS_BUILD" ]; then + hostmakedepends+=" qt5-host-tools qt5-devel qt5-svg-devel qt5-tools-devel qt5-webkit-devel" +fi + post_extract() { # fix echonest-qt5 detection sed -i 's|echonest/Track.h|echonest5/Track.h|' CMakeModules/FindEchonest.cmake