2017-04-11 17:20:28 +00:00
|
|
|
{
|
|
|
|
"app-id": "org.ppsspp.PPSSPP",
|
2017-12-06 16:24:31 +00:00
|
|
|
"branch": "stable",
|
2017-04-11 17:20:28 +00:00
|
|
|
"runtime": "org.freedesktop.Platform",
|
2020-08-31 18:26:28 +00:00
|
|
|
"runtime-version": "20.08",
|
2017-04-11 17:20:28 +00:00
|
|
|
"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",
|
2018-03-19 02:49:21 +00:00
|
|
|
"--filesystem=host:ro",
|
2017-04-11 17:20:28 +00:00
|
|
|
"--socket=pulseaudio",
|
|
|
|
"--socket=x11",
|
|
|
|
"--share=network"
|
|
|
|
],
|
2021-01-01 06:23:56 +00:00
|
|
|
"cleanup": [
|
|
|
|
"/ffmpeg"
|
|
|
|
],
|
2017-04-11 17:20:28 +00:00
|
|
|
"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
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2021-01-01 06:23:56 +00:00
|
|
|
{
|
|
|
|
"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"]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2017-04-11 17:20:28 +00:00
|
|
|
{
|
|
|
|
"name": "ppsspp",
|
2017-11-06 02:49:51 +00:00
|
|
|
"buildsystem": "cmake-ninja",
|
2017-04-11 17:20:28 +00:00
|
|
|
"no-make-install": true,
|
2017-11-06 02:49:51 +00:00
|
|
|
"config-opts": [
|
2020-06-28 15:11:41 +00:00
|
|
|
"-DCMAKE_BUILD_TYPE=RelWithDebInfo",
|
2021-01-01 06:23:56 +00:00
|
|
|
"-DOpenGL_GL_PREFERENCE=GLVND",
|
|
|
|
"-DUSING_GLES2=ON"
|
2017-11-06 02:49:51 +00:00
|
|
|
],
|
2017-04-11 17:20:28 +00:00
|
|
|
"build-commands": [
|
|
|
|
"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",
|
2017-04-11 17:20:28 +00:00
|
|
|
"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",
|
2017-12-06 16:24:31 +00:00
|
|
|
"url": "https://github.com/hrydgard/ppsspp.git",
|
2020-08-31 18:26:28 +00:00
|
|
|
"commit": "087de849bdc74205dd00d8e6e11ba17a591213ab"
|
2017-04-11 17:20:28 +00:00
|
|
|
},
|
2020-12-31 15:51:16 +00:00
|
|
|
{
|
|
|
|
"type": "shell",
|
2021-01-01 06:23:56 +00:00
|
|
|
"commands": [
|
|
|
|
"rm -r ffmpeg/linux",
|
|
|
|
"ln -s /app/ffmpeg/linux ffmpeg/linux"
|
|
|
|
]
|
2020-12-31 15:51:16 +00:00
|
|
|
},
|
2017-04-11 17:20:28 +00:00
|
|
|
{
|
|
|
|
"type": "file",
|
|
|
|
"path": "ppsspp.desktop"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "file",
|
|
|
|
"path": "appdata.xml"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|