Merge pull request #171 from Alexander-Wilms/master

Update metainfo
This commit is contained in:
Carles Pastor Badosa 2024-08-14 18:19:30 +02:00 committed by GitHub
commit dcb79adbaa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 47 additions and 10 deletions

20
.github/workflows/main.yml vendored Normal file
View file

@ -0,0 +1,20 @@
name: CI
on:
push:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
appstream-validate:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Install appstream
run: |
sudo apt-get update
sudo apt-get install -y appstream
- name: Validate metainfo
run: |
appstreamcli validate --strict --pedantic --explain org.DolphinEmu.dolphin-emu.metainfo.xml

View file

@ -3,7 +3,9 @@
<component type="desktop-application">
<id>org.DolphinEmu.dolphin-emu</id>
<name>Dolphin Emulator</name>
<developer_name>dolphin-emu team</developer_name>
<developer id="org.dolphin-emu">
<name>Dolphin Emulator Project</name>
</developer>
<summary>GameCube / Wii / Triforce Emulator</summary>
<metadata_license>CC-BY-SA-3.0</metadata_license>
<project_license>GPL-2.0+</project_license>
@ -11,10 +13,22 @@
<!-- Descriptions taken from Dolphin Homepage -->
<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>
<screenshots>
<screenshot type="default"><image>https://raw.githubusercontent.com/flathub/org.DolphinEmu.dolphin-emu/master/screenshots/1.png</image></screenshot>
<screenshot><image>https://raw.githubusercontent.com/flathub/org.DolphinEmu.dolphin-emu/master/screenshots/2.png</image></screenshot>
<screenshot><image>https://raw.githubusercontent.com/flathub/org.DolphinEmu.dolphin-emu/master/screenshots/3.png</image></screenshot>
<screenshot><image>https://raw.githubusercontent.com/flathub/org.DolphinEmu.dolphin-emu/master/screenshots/4.png</image></screenshot>
<screenshot type="default">
<caption>Dolpin's main window</caption>
<image type="source">https://raw.githubusercontent.com/flathub/org.DolphinEmu.dolphin-emu/master/screenshots/1.png</image>
</screenshot>
<screenshot>
<caption>In-game</caption>
<image type="source">https://raw.githubusercontent.com/flathub/org.DolphinEmu.dolphin-emu/master/screenshots/2.png</image>
</screenshot>
<screenshot>
<caption>Grapics configuration</caption>
<image type="source">https://raw.githubusercontent.com/flathub/org.DolphinEmu.dolphin-emu/master/screenshots/3.png</image>
</screenshot>
<screenshot>
<caption>Controller configuration</caption>
<image type="source">https://raw.githubusercontent.com/flathub/org.DolphinEmu.dolphin-emu/master/screenshots/4.png</image>
</screenshot>
</screenshots>
<launchable type="desktop-id">dolphin-emu.desktop</launchable>
<provides>
@ -36,9 +50,12 @@
<release version="5.0-17210" date="2022-08-19"/>
</releases>
<url type="homepage">https://dolphin-emu.org</url>
<url type="help">https://forums.dolphin-emu.org</url>
<url type="faq">https://dolphin-emu.org/docs/faq</url>
<url type="translate">https://www.transifex.com/projects/p/dolphin-emu</url>
<url type="bugtracker">https://bugs.dolphin-emu.org/projects/emulator/issues</url>
<url type="faq">https://dolphin-emu.org/docs/faq/</url>
<url type="help">https://dolphin-emu.org/docs/guides/</url>
<url type="translate">https://www.transifex.com/projects/p/dolphin-emu</url>
<url type="contact">https://dolphin-emu.org/docs/faq/#ive-got-idea-make-dolphin-better-how-should-i-tell</url>
<url type="vcs-browser">https://github.com/dolphin-emu/dolphin</url>
<url type="contribute">https://github.com/dolphin-emu/dolphin/blob/master/Contributing.md</url>
<update_contact>b@bpiotrowski.pl</update_contact>
</component>

View file

@ -77,7 +77,7 @@ modules:
- /share/man
post-install:
- install -D -t ${FLATPAK_DEST}/bin/ dolphin-emu-wrapper
- install -Dm644 -t ${FLATPAK_DEST}/share/appdata/ org.DolphinEmu.dolphin-emu.appdata.xml
- install -Dm644 -t ${FLATPAK_DEST}/share/metainfo/ org.DolphinEmu.dolphin-emu.metainfo.xml
- sed -i -e 's/viewBox="0 0 1024.02 571.29"/viewBox="0 -285.645 1024 1024" width="2048"
height="2048"/g' /app/share/icons/hicolor/scalable/apps/dolphin-emu.svg
- desktop-file-edit --set-key=Exec --set-value='/app/bin/dolphin-emu-wrapper'
@ -104,7 +104,7 @@ modules:
- type: patch
path: nodirtyversion.patch
- type: file
path: org.DolphinEmu.dolphin-emu.appdata.xml
path: org.DolphinEmu.dolphin-emu.metainfo.xml
- type: script
commands:
- |