ppsspp: enable cross builds

This commit is contained in:
John 2018-11-01 19:57:22 +01:00 committed by Helmut Pozimski
parent e3cd1b3bfa
commit 67ac51d90e
1 changed files with 8 additions and 1 deletions

View File

@ -29,9 +29,16 @@ checksum="4c325d585407f65b7b4012c407e3e2f246e57e821f780c3af12aa2874356f2bd
21afa0e32dd2d75ee51c4f5c0d16330a9d80d435d6ac9900d0c13bffdfd7b682
73b366f30e8f3863501723e13eb5dcaf6d424b80382d17c27635567b79705ca3
20fe5dbd7a64f7a8fdbaeb81f8dd485df61121c5054e0f7f917c6193f209ff2e"
nocross=yes
create_wrksrc=yes
# ppsspp always tries to compile x86 unittest
# https://gist.github.com/Johnnynator/e18d59274451cff890b7235009d2e93d
case $XBPS_TARGET_MACHINE in
x86_64* | i686*) configure_args+=" -DUNITTEST=ON";;
armv[67]*) broken="SDL2 is not build against x11";;
*) configure_args+=" -DUNITTEST=OFF";;
esac
build_options="wayland qt sdl2"
build_options_default="sdl2"