mirror of
https://github.com/RetroDECK/org.ppsspp.PPSSPP.git
synced 2024-11-23 06:05:38 +00:00
116 lines
3.1 KiB
JSON
116 lines
3.1 KiB
JSON
{
|
|
"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": [
|
|
"--device=all",
|
|
"--filesystem=host:ro",
|
|
"--socket=pulseaudio",
|
|
"--socket=x11",
|
|
"--share=network"
|
|
],
|
|
"cleanup": [
|
|
"/ffmpeg"
|
|
],
|
|
"modules": [
|
|
"shared-modules/glu/glu-9.json",
|
|
"shared-modules/glew/glew.json",
|
|
{
|
|
"name": "libzip",
|
|
"buildsystem": "cmake-ninja",
|
|
"config-opts": ["-DCMAKE_BUILD_TYPE=RelWithDebInfo"],
|
|
"cleanup": [
|
|
"/bin",
|
|
"/include",
|
|
"/lib/pkgconfig",
|
|
"/share/man"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://libzip.org/download/libzip-1.7.1.tar.xz",
|
|
"sha256": "a020dc1b17a79faa748e43a05f8605d65e403813e8e97ad3a300a90ddba097ac"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "ppsspp-ffmpeg",
|
|
"buildsystem": "simple",
|
|
"build-commands": [
|
|
"rm -r ./linux",
|
|
"./build.sh",
|
|
"mkdir -p /app/ffmpeg && cp -r ./linux /app/ffmpeg/"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "git",
|
|
"url": "https://github.com/hrydgard/ppsspp-ffmpeg.git",
|
|
"commit": "55147e5f33f5ae4904f75ec082af809267122b94"
|
|
},
|
|
{
|
|
"type": "script",
|
|
"dest-filename": "build.sh",
|
|
"only-arches": ["aarch64"],
|
|
"commands":[
|
|
"sed -i 's/GENERAL=/GENERAL_NO=/' linux_arm64.sh",
|
|
"./linux_arm64.sh"
|
|
]
|
|
},
|
|
{
|
|
"type": "script",
|
|
"dest-filename": "build.sh",
|
|
"only-arches": ["x86_64"],
|
|
"commands":["./linux_x86-64.sh"]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "ppsspp",
|
|
"buildsystem": "cmake-ninja",
|
|
"no-make-install": true,
|
|
"config-opts": [
|
|
"-DCMAKE_BUILD_TYPE=RelWithDebInfo",
|
|
"-DOpenGL_GL_PREFERENCE=GLVND",
|
|
"-DUSING_GLES2=ON"
|
|
],
|
|
"build-commands": [
|
|
"mkdir -p /app/ppsspp /app/bin /app/share/applications",
|
|
"install -m755 PPSSPPSDL /app/ppsspp/",
|
|
"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": [
|
|
{
|
|
"type": "git",
|
|
"url": "https://github.com/hrydgard/ppsspp.git",
|
|
"commit": "087de849bdc74205dd00d8e6e11ba17a591213ab"
|
|
},
|
|
{
|
|
"type": "shell",
|
|
"commands": [
|
|
"rm -r ffmpeg/linux",
|
|
"ln -s /app/ffmpeg/linux ffmpeg/linux"
|
|
]
|
|
},
|
|
{
|
|
"type": "file",
|
|
"path": "ppsspp.desktop"
|
|
},
|
|
{
|
|
"type": "file",
|
|
"path": "appdata.xml"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|