Adjust for desktop file and icon changes

This commit is contained in:
Florian Piesche 2024-11-14 20:23:25 +00:00 committed by Jarred Wilson
parent 04a9d4d9b8
commit a7cef2fab9
2 changed files with 2 additions and 1832 deletions

File diff suppressed because it is too large Load diff

Before

Width:  |  Height:  |  Size: 139 KiB

View file

@ -4,11 +4,6 @@ runtime-version: '6.8'
sdk: org.kde.Sdk sdk: org.kde.Sdk
command: shadps4 command: shadps4
# TODO: vvvvv These can go away once shadPS4 PRs 1494 and 1495 are merged vvvvv
rename-icon: shadps4
rename-desktop-file: shadps4.desktop
# TODO: ^^^^^ These can go away once shadPS4 PRs 1494 and 1495 are merged ^^^^^
finish-args: finish-args:
# gamepad and 3D hardware support # gamepad and 3D hardware support
- --device=dri - --device=dri
@ -81,21 +76,10 @@ modules:
# don't include submodules, which shadps4 depends on (in the externals directory) # don't include submodules, which shadps4 depends on (in the externals directory)
- type: git - type: git
url: https://github.com/shadps4-emu/shadPS4 url: https://github.com/shadps4-emu/shadPS4
tag: v.0.4.0 commit: ce158290fbd7871a3f890323501e6fe3e8bec832
# tag: v.0.4.0
x-checker-data: x-checker-data:
type: json type: json
url: https://api.github.com/repos/shadps4-emu/shadps4/releases/latest url: https://api.github.com/repos/shadps4-emu/shadps4/releases/latest
tag-query: .tag_name tag-query: .tag_name
version-query: .tag_name | sub("^v."; "") version-query: .tag_name | sub("^v."; "")
# TODO: vvvvv These can go away once shadPS4 PRs 1494 and 1495 are merged vvvvv
- type: file
path: net.shadps4.shadPS4.metainfo.xml
- type: file
path: net.shadps4.shadPS4.releases.xml
- type: file
path: net.shadps4.shadPS4.svg
post-install:
- install -Dm 644 ../${FLATPAK_ID}.releases.xml -t /app/share/metainfo/releases/
- install -Dm 644 ../${FLATPAK_ID}.metainfo.xml -t /app/share/metainfo
- install -Dm 644 ../${FLATPAK_ID}.svg -t /app/share/icons/hicolor/scalable/apps
# TODO: ^^^^^ These can go away once shadPS4 PRs 1494 and 1495 are merged ^^^^^