mirror of
https://github.com/RetroDECK/org.ppsspp.PPSSPP.git
synced 2024-11-22 13:45:38 +00:00
Fix ffmpeg (#20)
* Swith to yaml * Rebuild ffmpeg * Not cross compile * Correct indent
This commit is contained in:
parent
edf790582d
commit
502fcb230f
|
@ -1,49 +0,0 @@
|
|||
{
|
||||
"app-id": "org.ppsspp.PPSSPP",
|
||||
"branch": "stable",
|
||||
"runtime": "org.freedesktop.Platform",
|
||||
"runtime-version": "21.08",
|
||||
"sdk": "org.freedesktop.Sdk",
|
||||
"rename-icon": "ppsspp",
|
||||
"command": "PPSSPPSDL",
|
||||
"finish-args": [
|
||||
"--device=all",
|
||||
"--filesystem=host:ro",
|
||||
"--socket=pulseaudio",
|
||||
"--socket=x11",
|
||||
"--share=network"
|
||||
],
|
||||
"modules": [
|
||||
"shared-modules/glu/glu-9.json",
|
||||
"shared-modules/glew/glew.json",
|
||||
{
|
||||
"name": "ppsspp",
|
||||
"buildsystem": "cmake",
|
||||
"build-options": {
|
||||
"arch": {
|
||||
"aarch64": {
|
||||
"env": {
|
||||
"EXTRA_OPTS":"-DUSING_GLES2=ON"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"post-install": [
|
||||
"mv ${FLATPAK_DEST}/share/applications/{PPSSPPSDL,${FLATPAK_ID}}.desktop",
|
||||
"desktop-file-edit --set-name=PPSSPP --set-icon=${FLATPAK_ID} ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop",
|
||||
"install -Dm644 appdata.xml ${FLATPAK_DEST}/share/appdata/${FLATPAK_ID}.appdata.xml"
|
||||
],
|
||||
"sources": [
|
||||
{
|
||||
"type": "git",
|
||||
"url": "https://github.com/hrydgard/ppsspp.git",
|
||||
"tag": "v1.11.3"
|
||||
},
|
||||
{
|
||||
"type": "file",
|
||||
"path": "appdata.xml"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
56
org.ppsspp.PPSSPP.yml
Normal file
56
org.ppsspp.PPSSPP.yml
Normal file
|
@ -0,0 +1,56 @@
|
|||
app-id: org.ppsspp.PPSSPP
|
||||
runtime: org.freedesktop.Platform
|
||||
runtime-version: '21.08'
|
||||
sdk: org.freedesktop.Sdk
|
||||
rename-icon: ppsspp
|
||||
rename-desktop-file: PPSSPPSDL.desktop
|
||||
command: PPSSPPSDL
|
||||
finish-args:
|
||||
- --device=all
|
||||
- --filesystem=host:ro
|
||||
- --socket=pulseaudio
|
||||
- --socket=x11
|
||||
- --share=network
|
||||
modules:
|
||||
- shared-modules/glu/glu-9.json
|
||||
- shared-modules/glew/glew.json
|
||||
- name: ppsspp
|
||||
buildsystem: simple
|
||||
build-options:
|
||||
arch:
|
||||
aarch64:
|
||||
env:
|
||||
EXTRA_OPTS: '-DUSING_GLES2=ON'
|
||||
build-commands:
|
||||
- cd ffmpeg && rm -r linux && ../build-ffmpeg.sh
|
||||
- cmake
|
||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo
|
||||
-DCMAKE_INSTALL_PREFIX=${FLATPAK_DEST}
|
||||
${EXTRA_OPTS}
|
||||
.
|
||||
- make -j${FLATPAK_BUILDER_N_JOBS} && make install
|
||||
post-install:
|
||||
- desktop-file-edit --set-name=PPSSPP --set-icon=${FLATPAK_ID} ${FLATPAK_DEST}/share/applications/PPSSPPSDL.desktop
|
||||
- install -Dm644 appdata.xml ${FLATPAK_DEST}/share/appdata/${FLATPAK_ID}.appdata.xml
|
||||
sources:
|
||||
- type: git
|
||||
url: https://github.com/hrydgard/ppsspp.git
|
||||
tag: v1.11.3
|
||||
|
||||
- type: file
|
||||
path: appdata.xml
|
||||
|
||||
- type: script
|
||||
dest-filename: build-ffmpeg.sh
|
||||
only-arches:
|
||||
- aarch64
|
||||
commands:
|
||||
- sed -i 's/GENERAL=/GENERAL_NO=/' linux_arm64.sh
|
||||
- ./linux_arm64.sh
|
||||
|
||||
- type: script
|
||||
dest-filename: build-ffmpeg.sh
|
||||
only-arches:
|
||||
- x86_64
|
||||
commands:
|
||||
- ./linux_x86-64.sh
|
|
@ -1 +1 @@
|
|||
Subproject commit b0d4c06751d0451c0a6cd9672b3132d6152f332c
|
||||
Subproject commit ae74ea6577e92d3dd768575214a45df8c7b45a32
|
Loading…
Reference in a new issue