tomahawk-qt5: fix cross

This commit is contained in:
Juergen Buchmueller 2016-11-08 20:48:23 +01:00
parent ac01179ad9
commit 560787d511

View file

@ -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