mirror of
https://github.com/RetroDECK/org.DolphinEmu.dolphin-emu.git
synced 2024-11-22 05:35:39 +00:00
Support auto update release version metadata
This commit is contained in:
parent
4403e62df0
commit
9ce8d31a48
|
@ -6,7 +6,7 @@
|
||||||
<summary>GameCube / Wii / Triforce Emulator</summary>
|
<summary>GameCube / Wii / Triforce Emulator</summary>
|
||||||
<metadata_license>CC-BY-SA-3.0</metadata_license>
|
<metadata_license>CC-BY-SA-3.0</metadata_license>
|
||||||
<project_license>GPL-2.0+</project_license>
|
<project_license>GPL-2.0+</project_license>
|
||||||
<content_rating type="oars-1.0" />
|
<content_rating type="oars-1.0"/>
|
||||||
<description><p>Dolphin is an emulator for two recent Nintendo video game consoles: the GameCube and the Wii. It allows PC gamers to enjoy games for these two consoles in full HD (1080p) with several enhancements: compatibility with all PC controllers, turbo speed, networked multiplayer, and even more!</p></description>
|
<description><p>Dolphin is an emulator for two recent Nintendo video game consoles: the GameCube and the Wii. It allows PC gamers to enjoy games for these two consoles in full HD (1080p) with several enhancements: compatibility with all PC controllers, turbo speed, networked multiplayer, and even more!</p></description>
|
||||||
<description xml:lang="pt_BR"><p>O Dolphin é um emulador para dois consoles de vídeo game recentes da Nintendo: o GameCube e o Wii. Ele permite que PC gamers aproveitem jogos destes dois consoles em full HD (1080p) com diversas melhorias: compatibilidade com todos os controles de PC, velocidade turbo, multiplayer em rede e muito mais!</p></description>
|
<description xml:lang="pt_BR"><p>O Dolphin é um emulador para dois consoles de vídeo game recentes da Nintendo: o GameCube e o Wii. Ele permite que PC gamers aproveitem jogos destes dois consoles em full HD (1080p) com diversas melhorias: compatibilidade com todos os controles de PC, velocidade turbo, multiplayer em rede e muito mais!</p></description>
|
||||||
<description xml:lang="es"><p>Dolphin es un emulador para dos consolas recientes de Nintendo: la GameCube y la Wii. Permite que los jugadores de PC disfruten de los juegos de estas dos consolas en alta definición (1080p) con varias mejoras: compatibilidad con todos los mandos de PC, velocidad turbo, multijugador en red, ¡y mucho más!</p></description>
|
<description xml:lang="es"><p>Dolphin es un emulador para dos consolas recientes de Nintendo: la GameCube y la Wii. Permite que los jugadores de PC disfruten de los juegos de estas dos consolas en alta definición (1080p) con varias mejoras: compatibilidad con todos los mandos de PC, velocidad turbo, multijugador en red, ¡y mucho más!</p></description>
|
||||||
|
@ -22,7 +22,7 @@
|
||||||
<id>dolphin-emu.desktop</id>
|
<id>dolphin-emu.desktop</id>
|
||||||
</provides>
|
</provides>
|
||||||
<releases>
|
<releases>
|
||||||
<release date="2022-07-06" version="5.0-16793"/>
|
<release version="5.0-16793" date="2022-07-06"/>
|
||||||
</releases>
|
</releases>
|
||||||
<url type="homepage">https://dolphin-emu.org</url>
|
<url type="homepage">https://dolphin-emu.org</url>
|
||||||
<url type="help">https://forums.dolphin-emu.org</url>
|
<url type="help">https://forums.dolphin-emu.org</url>
|
|
@ -6,7 +6,6 @@ sdk: org.kde.Sdk
|
||||||
command: dolphin-emu-wrapper
|
command: dolphin-emu-wrapper
|
||||||
rename-desktop-file: dolphin-emu.desktop
|
rename-desktop-file: dolphin-emu.desktop
|
||||||
rename-icon: dolphin-emu
|
rename-icon: dolphin-emu
|
||||||
rename-appdata-file: dolphin-emu.appdata.xml
|
|
||||||
finish-args:
|
finish-args:
|
||||||
- --device=all
|
- --device=all
|
||||||
# the file picker uses portals but the set
|
# the file picker uses portals but the set
|
||||||
|
@ -103,8 +102,8 @@ modules:
|
||||||
cleanup:
|
cleanup:
|
||||||
- /share/man
|
- /share/man
|
||||||
post-install:
|
post-install:
|
||||||
- install -D dolphin-emu-wrapper /app/bin/dolphin-emu-wrapper
|
- install -D -t ${FLATPAK_DEST}/bin/ dolphin-emu-wrapper
|
||||||
- install -Dm644 appdata.xml /app/share/appdata/dolphin-emu.appdata.xml
|
- install -Dm644 -t ${FLATPAK_DEST}/share/appdata/ org.DolphinEmu.dolphin-emu.appdata.xml
|
||||||
- sed -i -e 's/"2048"/"512"/g' /app/share/icons/hicolor/scalable/apps/dolphin-emu.svg
|
- sed -i -e 's/"2048"/"512"/g' /app/share/icons/hicolor/scalable/apps/dolphin-emu.svg
|
||||||
- desktop-file-edit --set-key=Exec --set-value='/app/bin/dolphin-emu-wrapper'
|
- desktop-file-edit --set-key=Exec --set-value='/app/bin/dolphin-emu-wrapper'
|
||||||
/app/share/applications/dolphin-emu.desktop
|
/app/share/applications/dolphin-emu.desktop
|
||||||
|
@ -116,6 +115,7 @@ modules:
|
||||||
type: json
|
type: json
|
||||||
url: https://dolphin-emu.org/update/latest/beta
|
url: https://dolphin-emu.org/update/latest/beta
|
||||||
commit-query: .hash
|
commit-query: .hash
|
||||||
|
version-query: .shortrev
|
||||||
# detects whether dolphin is running in a flatpak sandbox
|
# detects whether dolphin is running in a flatpak sandbox
|
||||||
# and makes it use xdg directories if it is.
|
# and makes it use xdg directories if it is.
|
||||||
# prevents dolphin from attempting to write conf files
|
# prevents dolphin from attempting to write conf files
|
||||||
|
@ -127,18 +127,20 @@ modules:
|
||||||
- type: patch
|
- type: patch
|
||||||
path: nodirtyversion.patch
|
path: nodirtyversion.patch
|
||||||
- type: file
|
- type: file
|
||||||
path: appdata.xml
|
path: org.DolphinEmu.dolphin-emu.appdata.xml
|
||||||
- type: script
|
- type: script
|
||||||
commands:
|
commands:
|
||||||
- for i in {0..9}; do
|
- |
|
||||||
- test -S $XDG_RUNTIME_DIR/discord-ipc-$i || ln -sf {app/com.discordapp.Discord,$XDG_RUNTIME_DIR}/discord-ipc-$i;
|
for i in {0..9}; do
|
||||||
- done
|
test -S $XDG_RUNTIME_DIR/discord-ipc-$i ||
|
||||||
# use gtk3 filechooser on steamdeck
|
ln -sf {app/com.discordapp.Discord,$XDG_RUNTIME_DIR}/discord-ipc-$i;
|
||||||
- bv=`cat /sys/devices/virtual/dmi/id/board_vendor`
|
done
|
||||||
- bv=$bv`cat /sys/devices/virtual/dmi/id/board_name`
|
# use gtk3 filechooser on steamdeck
|
||||||
- if [[ $bv == "ValveJupiter" ]]; then
|
bv=`cat /sys/devices/virtual/dmi/id/board_vendor`
|
||||||
- QT_QPA_PLATFORMTHEME=gtk3 dolphin-emu "$@"
|
bv=$bv`cat /sys/devices/virtual/dmi/id/board_name`
|
||||||
- else
|
if [[ $bv == "ValveJupiter" ]]; then
|
||||||
- dolphin-emu "$@"
|
QT_QPA_PLATFORMTHEME=gtk3 dolphin-emu "$@"
|
||||||
- fi
|
else
|
||||||
|
dolphin-emu "$@"
|
||||||
|
fi
|
||||||
dest-filename: dolphin-emu-wrapper
|
dest-filename: dolphin-emu-wrapper
|
||||||
|
|
Loading…
Reference in a new issue