org.ppsspp.PPSSPP/org.ppsspp.PPSSPP.json
samy-k97 d0bf015013 Simplified the json file and removed the ppsspp.desktop file
Changed command from ppsspp to PPSSPPSDL
removed libzip
Changed the buildsystem to cmake
Added environment variables for CC and CXX for aarch64
Defined config-opts for aarch64
Removed cleanup and build-commands
Added post-install commands
Removed Scripts
2021-06-18 19:13:54 +01:00

51 lines
1.3 KiB
JSON

{
"app-id": "org.ppsspp.PPSSPP",
"branch": "stable",
"runtime": "org.freedesktop.Platform",
"runtime-version": "20.08",
"sdk": "org.freedesktop.Sdk",
"command": "PPSSPPSDL",
"finish-args": [
"--device=all",
"--filesystem=host:ro",
"--socket=pulseaudio",
"--socket=x11",
"--share=network"
],
"modules": [
"shared-modules/glu/glu-9.json",
"shared-modules/glew/glew.json",
{
"name": "ppsspp",
"buildsystem": "cmake",
"build-options": {
"arch": {
"aarch64": {
"env": {
"CC": "clang",
"CXX": "clang++"
},
"config-opts": ["-DCMAKE_TOOLCHAIN_FILE=cmake/Toolchains/raspberry.armv8.cmake"]
}
}
},
"post-install": [
"mv ${FLATPAK_DEST}/share/applications/{PPSSPPSDL,${FLATPAK_ID}}.desktop",
"desktop-file-edit --set-name=PPSSPP ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop",
"install -Dm644 appdata.xml ${FLATPAK_DEST}/share/appdata/${FLATPAK_ID}.appdata.xml"
],
"sources": [
{
"type": "git",
"url": "https://github.com/hrydgard/ppsspp.git",
"tag": "v1.11.3"
},
{
"type": "file",
"path": "appdata.xml"
}
]
}
]
}