mirror of
https://github.com/RetroDECK/org.ppsspp.PPSSPP.git
synced 2024-11-22 05:35:38 +00:00
commit
4250127357
|
@ -2,7 +2,6 @@ app-id: org.ppsspp.PPSSPP
|
|||
runtime: org.freedesktop.Platform
|
||||
runtime-version: '23.08'
|
||||
sdk: org.freedesktop.Sdk
|
||||
separate-locales: false
|
||||
rename-icon: ppsspp
|
||||
rename-desktop-file: PPSSPPSDL.desktop
|
||||
command: PPSSPPSDL
|
||||
|
@ -17,14 +16,6 @@ finish-args:
|
|||
- --talk-name=org.freedesktop.ScreenSaver
|
||||
- --env=SDL_VIDEO_X11_WMCLASS=org.ppsspp.PPSSPP
|
||||
- --env=SDL_VIDEO_WAYLAND_WMCLASS=org.ppsspp.PPSSPP
|
||||
add-extensions:
|
||||
org.ppsspp.PPSSPP.Locale:
|
||||
directory: share/locale
|
||||
bundle: true
|
||||
no-autodownload: false
|
||||
subdirectories: false
|
||||
autodelete: true
|
||||
locale-subset: true
|
||||
modules:
|
||||
- shared-modules/glu/glu-9.json
|
||||
- shared-modules/glew/glew.json
|
||||
|
@ -67,19 +58,3 @@ modules:
|
|||
|
||||
- type: file
|
||||
path: org.ppsspp.PPSSPP.metainfo.xml
|
||||
|
||||
- name: ppsspp-localization
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- |
|
||||
for LANG_FILE in assets/lang/*.ini; do
|
||||
LANG_FILE_NAME="$(basename "$LANG_FILE")"
|
||||
LANG_PREFIX="${LANG_FILE_NAME:0:2}"
|
||||
LANG_DEST="$FLATPAK_DEST/share/locale/$LANG_PREFIX/ppsspp/$LANG_FILE_NAME";
|
||||
ln -fsr "$LANG_DEST" "$FLATPAK_DEST/share/ppsspp/$LANG_FILE"
|
||||
install -Dm644 "$LANG_FILE" "$LANG_DEST"
|
||||
done
|
||||
sources:
|
||||
- type: shell
|
||||
commands:
|
||||
- cp -a $FLATPAK_DEST/share/ppsspp/assets .
|
||||
|
|
Loading…
Reference in a new issue