scummvm: tried to fix but broken cross arm*

This commit is contained in:
Juergen Buchmueller 2016-10-18 12:13:46 +02:00
parent c3c67cbb8a
commit 0dc6ba0b74

View file

@ -15,6 +15,16 @@ license="GPL-2"
distfiles="http://www.scummvm.org/frs/${pkgname}/${version}/${pkgname}-${version}.tar.xz"
checksum=2417edcb1ad51ca05a817c58aeee610bc6db5442984e8cf28e8a5fd914e8ae05
if [ "$CROSS_BUILD" ]; then
configure_args+=" --host=${XBPS_CROSS_TRIPLET} --disable-nasm"
CXXFLAGS="-I${XBPS_CROSS_BASE}/usr/include/SDL"
fi
# Cross for arm* is broken when trying to assemble engines/scumm/smush/codec47ARM.s
case "$XBPS_TARGET_MACHINE" in
arm*) broken="engines/scumm/smush/codec47ARM.s"
esac
do_install() {
vbin scummvm
vman dists/scummvm.6