Fix aarch64 build by rebuilding ppsspp-ffmpeg

This commit is contained in:
out 2020-12-31 23:51:16 +08:00 committed by Bartłomiej Piotrowski
parent 0fe11cb49f
commit 6eca62e623
3 changed files with 17 additions and 1 deletions

View file

@ -1,3 +1,3 @@
{
"skip-arches": ["arm", "aarch64"]
"skip-arches": ["arm"]
}

View file

@ -59,6 +59,14 @@
"url": "https://github.com/hrydgard/ppsspp.git",
"commit": "087de849bdc74205dd00d8e6e11ba17a591213ab"
},
{
"type": "file",
"path": "rebuild_ffmpeg.sh"
},
{
"type": "shell",
"commands": ["./rebuild_ffmpeg.sh"]
},
{
"type": "file",
"path": "ppsspp.desktop"

8
rebuild_ffmpeg.sh Executable file
View file

@ -0,0 +1,8 @@
#!/bin/bash
if [ "$FLATPAK_ARCH" == "aarch64" ];then
cd ffmpeg
# GENERAL is used to set cross compile option, rename it to disable it.
sed "s/GENERAL=/GENERAL_NO=/;" linux_arm64.sh > linux_arm64_no_cross.sh
chmod +x linux_arm64_no_cross.sh
./linux_arm64_no_cross.sh
fi