org.ppsspp.PPSSPP/org.ppsspp.PPSSPP.json
2019-03-16 19:13:45 -04:00

76 lines
2 KiB
JSON

{
"app-id": "org.ppsspp.PPSSPP",
"branch": "stable",
"runtime": "org.freedesktop.Platform",
"runtime-version": "18.08",
"sdk": "org.freedesktop.Sdk",
"command": "ppsspp",
"rename-desktop-file": "ppsspp.desktop",
"rename-icon": "ppsspp",
"rename-appdata-file": "ppsspp.appdata.xml",
"finish-args": [
"--device=all",
"--filesystem=host:ro",
"--socket=pulseaudio",
"--socket=wayland",
"--socket=x11",
"--share=network"
],
"modules": [
"shared-modules/glu/glu-9.0.0.json",
"shared-modules/glew/glew.json",
{
"name": "libzip",
"buildsystem": "cmake-ninja",
"config-opts": ["-DCMAKE_BUILD_TYPE=Release"],
"cleanup": [
"/bin",
"/include",
"/lib/pkgconfig",
"/share/man"
],
"sources": [
{
"type": "archive",
"url": "https://libzip.org/download/libzip-1.5.2.tar.xz",
"sha256": "b3de4d4bd49a01e0cab3507fc163f88e1651695b6b9cb25ad174dbe319d4a3b4"
}
]
},
{
"name": "ppsspp",
"buildsystem": "cmake-ninja",
"no-make-install": true,
"config-opts": [
"-DCMAKE_BUILD_TYPE=Release",
"-DOpenGL_GL_PREFERENCE=GLVND"
],
"build-commands": [
"mkdir -p /app/ppsspp /app/bin /app/share/applications",
"install -m755 PPSSPPSDL /app/ppsspp/",
"cp -dr assets /app/ppsspp/",
"install -Dm644 icons/icon-512.svg /app/share/icons/hicolor/scalable/apps/ppsspp.svg",
"ln -s /app/ppsspp/PPSSPPSDL /app/bin/ppsspp",
"install -m644 ppsspp.desktop /app/share/applications/",
"install -Dm644 appdata.xml /app/share/appdata/ppsspp.appdata.xml"
],
"sources": [
{
"type": "git",
"url": "https://github.com/hrydgard/ppsspp.git",
"tag": "v1.8.0",
"disable-shallow-clone": true
},
{
"type": "file",
"path": "ppsspp.desktop"
},
{
"type": "file",
"path": "appdata.xml"
}
]
}
]
}