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",
|
|
|
|
"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",
|
2021-06-15 12:18:58 +00:00
|
|
|
"url": "https://libzip.org/download/libzip-1.7.3.tar.xz",
|
|
|
|
"sha256": "a60473ffdb7b4260c08bfa19c2ccea0438edac11193c3afbbb1f17fbcf6c6132"
|
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
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2021-06-15 12:18:58 +00:00
|
|
|
"cleanup": [
|
|
|
|
"/share/applications/"
|
|
|
|
],
|
2017-04-11 17:20:28 +00:00
|
|
|
"build-commands": [
|
2021-06-10 08:18:34 +00:00
|
|
|
"cd ffmpeg && ../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",
|
2021-06-15 12:18:58 +00:00
|
|
|
"ln -s ${FLATPAK_DEST}/bin/PPSSPPSDL ${FLATPAK_DEST}/bin/ppsspp",
|
|
|
|
"install -Dm644 icons/icon-512.svg ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/${FLATPAK_ID}.svg",
|
|
|
|
"install -Dm644 ppsspp.desktop ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop",
|
|
|
|
"install -Dm644 appdata.xml ${FLATPAK_DEST}/share/appdata/${FLATPAK_ID}.appdata.xml"
|
2017-04-11 17:20:28 +00:00
|
|
|
],
|
|
|
|
"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-06-10 08:22:45 +00:00
|
|
|
"tag": "v1.11.3"
|
2021-04-23 13:46:22 +00:00
|
|
|
},
|
2020-12-31 15:51:16 +00:00
|
|
|
{
|
2021-04-16 10:00:29 +00:00
|
|
|
"type": "script",
|
2021-06-10 08:18:34 +00:00
|
|
|
"dest-filename": "ffmpeg-build.sh",
|
2021-04-16 10:00:29 +00:00
|
|
|
"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",
|
2021-06-10 08:18:34 +00:00
|
|
|
"dest-filename": "ffmpeg-build.sh",
|
2021-04-16 10:00:29 +00:00
|
|
|
"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"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|