org.ppsspp.PPSSPP/org.ppsspp.PPSSPP.json
2017-11-30 14:03:23 -05:00

103 lines
3.1 KiB
JSON

{
"app-id": "org.ppsspp.PPSSPP",
"runtime": "org.freedesktop.Platform",
"runtime-version": "1.6",
"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=home: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",
"config-opts": ["--disable-static"],
"cleanup": [
"/bin",
"/include",
"/lib/pkgconfig",
"/share/man",
"/lib/*.la"
],
"sources": [
{
"type": "archive",
"url": "https://libzip.org/download/libzip-1.3.2.tar.xz",
"sha256": "6277845010dbc20e281a77e637c97765c1323d67df4d456fd942f525ea86e185"
}
]
},
{
"name": "ppsspp",
"buildsystem": "cmake-ninja",
"no-make-install": true,
"config-opts": [
"-DCMAKE_BUILD_TYPE=Release"
],
"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": "archive",
"url": "https://github.com/hrydgard/ppsspp/archive/v1.5.2.tar.gz",
"sha256": "29e000f5f0176192ae412ef8dd2e5eefbba640a97ca502aeea6a91dc92142d38"
},
{
"type": "git",
"url": "https://github.com/hrydgard/ppsspp-lang.git",
"dest": "assets/lang",
"commit": "c37028e6b60e416ca52382ae8fdd76b6e77bede7"
},
{
"type": "git",
"url": "https://github.com/hrydgard/ppsspp-ffmpeg.git",
"dest": "ffmpeg",
"commit": "a2e98d7ba4c7c5cac08608732c3058cb46e3e0ef"
},
{
"type": "git",
"url": "https://github.com/hrydgard/glslang.git",
"commit": "2edde6665d9a56ead5ea0e55b4e64d9a803e6164",
"dest": "ext/glslang"
},
{
"type": "git",
"url": "https://github.com/Kingcom/armips.git",
"commit": "8b4cadaf62d7de42d374056fc6aafc555f2bc7dc",
"dest": "ext/armips"
},
{
"type": "archive",
"url": "https://github.com/KhronosGroup/SPIRV-Cross/archive/90966d50f57608587bafd95b4e345b02b814754a.tar.gz",
"sha256": "282d1f17bd3003162dd945b8ba5c5a10cb5738a7750949a8200ff6555f10ff28",
"dest": "ext/SPIRV-Cross"
},
{
"type": "file",
"path": "ppsspp.desktop"
},
{
"type": "file",
"path": "appdata.xml"
}
]
}
]
}