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"
|
|
|
|
],
|
|
|
|
"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
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2017-04-11 17:20:28 +00:00
|
|
|
{
|
|
|
|
"name": "ppsspp",
|
2021-04-16 10:00:29 +00:00
|
|
|
"buildsystem": "simple",
|
2021-01-10 04:03:55 +00:00
|
|
|
"build-options": {
|
|
|
|
"arch":{
|
|
|
|
"aarch64": {
|
2021-04-16 10:00:29 +00:00
|
|
|
"env": {"EXTRA_OPTS":"-DUSING_GLES2=ON"}
|
2021-01-10 04:03:55 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2017-04-11 17:20:28 +00:00
|
|
|
"build-commands": [
|
2021-04-16 10:00:29 +00:00
|
|
|
"cd ffmpeg && ./build.sh",
|
2021-04-24 07:03:32 +00:00
|
|
|
"cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=${FLATPAK_DEST} ${EXTRA_OPTS} .",
|
|
|
|
"make -j${FLATPAK_BUILDER_N_JOBS} && make install",
|
|
|
|
"ln -s /app/bin/PPSSPPSDL /app/bin/ppsspp",
|
2017-04-11 17:20:28 +00:00
|
|
|
"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",
|
2021-04-23 13:46:22 +00:00
|
|
|
"commit": "036efc24ae3367dc88c5e4455ab493556babe454"
|
|
|
|
},
|
2020-12-31 15:51:16 +00:00
|
|
|
{
|
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-01-01 06:23:56 +00:00
|
|
|
]
|
2020-12-31 15:51:16 +00:00
|
|
|
},
|
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"]
|
|
|
|
},
|
2017-04-11 17:20:28 +00:00
|
|
|
{
|
|
|
|
"type": "file",
|
|
|
|
"path": "ppsspp.desktop"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "file",
|
|
|
|
"path": "appdata.xml"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|