org.ppsspp.PPSSPP/org.ppsspp.PPSSPP.json

96 lines
2.6 KiB
JSON
Raw Normal View History

{
"app-id": "org.ppsspp.PPSSPP",
"branch": "stable",
"runtime": "org.freedesktop.Platform",
"runtime-version": "20.08",
"sdk": "org.freedesktop.Sdk",
"command": "ppsspp",
"rename-desktop-file": "ppsspp.desktop",
"rename-icon": "ppsspp",
"rename-appdata-file": "ppsspp.appdata.xml",
"finish-args": [
2017-11-06 03:18:05 +00:00
"--device=all",
"--filesystem=host:ro",
"--socket=pulseaudio",
"--socket=x11",
"--share=network"
],
"modules": [
2019-10-17 07:53:26 +00:00
"shared-modules/glu/glu-9.json",
2017-11-29 19:08:47 +00:00
"shared-modules/glew/glew.json",
2017-11-30 19:03:23 +00:00
{
"name": "libzip",
2018-07-30 22:38:45 +00:00
"buildsystem": "cmake-ninja",
2020-06-28 15:11:41 +00:00
"config-opts": ["-DCMAKE_BUILD_TYPE=RelWithDebInfo"],
2017-11-30 19:03:23 +00:00
"cleanup": [
"/bin",
"/include",
"/lib/pkgconfig",
2018-07-30 22:38:45 +00:00
"/share/man"
2017-11-30 19:03:23 +00:00
],
"sources": [
{
"type": "archive",
2020-06-28 15:11:41 +00:00
"url": "https://libzip.org/download/libzip-1.7.1.tar.xz",
"sha256": "a020dc1b17a79faa748e43a05f8605d65e403813e8e97ad3a300a90ddba097ac"
2017-11-30 19:03:23 +00:00
}
]
},
{
"name": "ppsspp",
2021-04-16 10:00:29 +00:00
"buildsystem": "simple",
"build-options": {
"arch":{
"aarch64": {
2021-04-16 10:00:29 +00:00
"env": {"EXTRA_OPTS":"-DUSING_GLES2=ON"}
}
}
},
"build-commands": [
2021-04-16 10:00:29 +00:00
"cd ffmpeg && ./build.sh",
"cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DOpenGL_GL_PREFERENCE=GLVND ${EXTRA_OPTS} .",
"make",
"mkdir -p /app/ppsspp /app/bin /app/share/applications",
"install -m755 PPSSPPSDL /app/ppsspp/",
2020-06-28 15:11:41 +00:00
"ln -s /app/ppsspp/PPSSPPSDL /app/bin/ppsspp",
"cp -dr assets /app/ppsspp/",
"install -Dm644 icons/icon-512.svg /app/share/icons/hicolor/scalable/apps/ppsspp.svg",
"install -m644 ppsspp.desktop /app/share/applications/",
"install -Dm644 appdata.xml /app/share/appdata/ppsspp.appdata.xml"
],
"sources": [
2017-11-29 19:08:47 +00:00
{
"type": "git",
"url": "https://github.com/hrydgard/ppsspp.git",
2021-04-16 10:00:29 +00:00
"tag": "v1.11.3",
"disable-shallow-clone": true
},
{
2021-04-16 10:00:29 +00:00
"type": "script",
"dest-filename": "ffmpeg/build.sh",
"only-arches": ["aarch64"],
"commands":[
"rm -r linux",
"sed -i 's/GENERAL=/GENERAL_NO=/' linux_arm64.sh",
"./linux_arm64.sh"
]
},
2021-04-16 10:00:29 +00:00
{
"type": "script",
"dest-filename": "ffmpeg/build.sh",
"only-arches": ["x86_64"],
"commands":["rm -r linux", "./linux_x86-64.sh"]
},
{
"type": "file",
"path": "ppsspp.desktop"
},
{
"type": "file",
"path": "appdata.xml"
}
]
}
]
}