diff options
| -rw-r--r-- | CMakeLists.txt | 22 | ||||
| -rw-r--r-- | dist/org.yuzu_emu.yuzu.desktop (renamed from dist/yuzu.desktop) | 4 | ||||
| -rw-r--r-- | dist/org.yuzu_emu.yuzu.metainfo.xml | 51 | ||||
| -rw-r--r-- | dist/org.yuzu_emu.yuzu.xml (renamed from dist/yuzu.xml) | 10 |
4 files changed, 71 insertions, 16 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index dcd4011a5..fe12f3d23 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
| @@ -639,14 +639,18 @@ endif() | |||
| 639 | # ========================= | 639 | # ========================= |
| 640 | 640 | ||
| 641 | # Install freedesktop.org metadata files, following those specifications: | 641 | # Install freedesktop.org metadata files, following those specifications: |
| 642 | # http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html | 642 | # https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html |
| 643 | # http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html | 643 | # https://specifications.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html |
| 644 | # http://standards.freedesktop.org/shared-mime-info-spec/shared-mime-info-spec-latest.html | 644 | # https://specifications.freedesktop.org/shared-mime-info-spec/shared-mime-info-spec-latest.html |
| 645 | # https://www.freedesktop.org/software/appstream/docs/ | ||
| 645 | if(ENABLE_QT AND UNIX AND NOT APPLE) | 646 | if(ENABLE_QT AND UNIX AND NOT APPLE) |
| 646 | install(FILES "${PROJECT_SOURCE_DIR}/dist/yuzu.desktop" | 647 | install(FILES "dist/org.yuzu_emu.yuzu.desktop" |
| 647 | DESTINATION "${CMAKE_INSTALL_PREFIX}/share/applications") | 648 | DESTINATION "share/applications") |
| 648 | install(FILES "${PROJECT_SOURCE_DIR}/dist/yuzu.svg" | 649 | install(FILES "dist/yuzu.svg" |
| 649 | DESTINATION "${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/scalable/apps") | 650 | DESTINATION "share/icons/hicolor/scalable/apps" |
| 650 | install(FILES "${PROJECT_SOURCE_DIR}/dist/yuzu.xml" | 651 | RENAME "org.yuzu_emu.yuzu.svg") |
| 651 | DESTINATION "${CMAKE_INSTALL_PREFIX}/share/mime/packages") | 652 | install(FILES "dist/org.yuzu_emu.yuzu.xml" |
| 653 | DESTINATION "share/mime/packages") | ||
| 654 | install(FILES "dist/org.yuzu_emu.yuzu.metainfo.xml" | ||
| 655 | DESTINATION "share/metainfo") | ||
| 652 | endif() | 656 | endif() |
diff --git a/dist/yuzu.desktop b/dist/org.yuzu_emu.yuzu.desktop index 6cc0704d2..3652a3abc 100644 --- a/dist/yuzu.desktop +++ b/dist/org.yuzu_emu.yuzu.desktop | |||
| @@ -4,9 +4,9 @@ Type=Application | |||
| 4 | Name=yuzu | 4 | Name=yuzu |
| 5 | GenericName=Switch Emulator | 5 | GenericName=Switch Emulator |
| 6 | Comment=Nintendo Switch video game console emulator | 6 | Comment=Nintendo Switch video game console emulator |
| 7 | Icon=yuzu | 7 | Icon=org.yuzu_emu.yuzu |
| 8 | TryExec=yuzu | 8 | TryExec=yuzu |
| 9 | Exec=yuzu %f | 9 | Exec=yuzu %f |
| 10 | Categories=Game;Emulator;Qt; | 10 | Categories=Game;Emulator;Qt; |
| 11 | MimeType=application/x-nx-nro;application/x-nx-nso;application/x-nx-nsp;application/x-nx-xci; | 11 | MimeType=application/x-nx-nro;application/x-nx-nso;application/x-nx-nsp;application/x-nx-xci; |
| 12 | Keywords=Switch;Nintendo; \ No newline at end of file | 12 | Keywords=Nintendo;Switch; |
diff --git a/dist/org.yuzu_emu.yuzu.metainfo.xml b/dist/org.yuzu_emu.yuzu.metainfo.xml new file mode 100644 index 000000000..5f366137b --- /dev/null +++ b/dist/org.yuzu_emu.yuzu.metainfo.xml | |||
| @@ -0,0 +1,51 @@ | |||
| 1 | <?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | <component type="desktop-application"> | ||
| 3 | <id>org.yuzu_emu.yuzu</id> | ||
| 4 | <metadata_license>CC0-1.0</metadata_license> | ||
| 5 | <name>yuzu</name> | ||
| 6 | <summary>Nintendo Switch emulator</summary> | ||
| 7 | <description> | ||
| 8 | <p>yuzu is the world's most popular, open-source, Nintendo Switch emulator — started by the creators of Citra.</p> | ||
| 9 | <p>The emulator is capable of running most commercial games at full speed, provided you meet the necessary hardware requirements.</p> | ||
| 10 | <p>For a full list of games yuzu support, please visit our Compatibility page.</p> | ||
| 11 | <p>Check out our website for the latest news on exciting features, monthly progress reports, and more!</p> | ||
| 12 | </description> | ||
| 13 | <categories> | ||
| 14 | <category>Game</category> | ||
| 15 | <category>Emulator</category> | ||
| 16 | </categories> | ||
| 17 | <keywords> | ||
| 18 | <keyword>switch</keyword> | ||
| 19 | <keyword>emulator</keyword> | ||
| 20 | </keywords> | ||
| 21 | <url type="homepage">https://yuzu-emu.org/</url> | ||
| 22 | <url type="bugtracker">https://github.com/yuzu-emu/yuzu/issues</url> | ||
| 23 | <url type="faq">https://yuzu-emu.org/wiki/faq/</url> | ||
| 24 | <url type="help">https://yuzu-emu.org/wiki/home/</url> | ||
| 25 | <url type="donation">https://yuzu-emu.org/donate/</url> | ||
| 26 | <url type="translate">https://www.transifex.com/projects/p/yuzu</url> | ||
| 27 | <url type="contact">https://community.citra-emu.org/</url> | ||
| 28 | <url type="vcs-browser">https://github.com/yuzu-emu/yuzu</url> | ||
| 29 | <url type="contribute">https://yuzu-emu.org/wiki/contributing/</url> | ||
| 30 | <launchable type="desktop-id">org.yuzu_emu.yuzu.desktop</launchable> | ||
| 31 | <provides> | ||
| 32 | <binary>yuzu</binary> | ||
| 33 | <binary>yuzu-cmd</binary> | ||
| 34 | </provides> | ||
| 35 | <requires> | ||
| 36 | <memory>8192</memory> | ||
| 37 | </requires> | ||
| 38 | <recommends> | ||
| 39 | <memory>16384</memory> | ||
| 40 | </recommends> | ||
| 41 | <project_license>GPL-3.0-or-later</project_license> | ||
| 42 | <developer_name>yuzu Emulator Team</developer_name> | ||
| 43 | <content_rating type="oars-1.0"/> | ||
| 44 | <screenshots> | ||
| 45 | <screenshot type="default">https://raw.githubusercontent.com/yuzu-emu/yuzu-emu.github.io/master/images/screenshots/001-Super%20Mario%20Odyssey%20.png</screenshot> | ||
| 46 | <screenshot>https://raw.githubusercontent.com/yuzu-emu/yuzu-emu.github.io/master/images/screenshots/004-The%20Legend%20of%20Zelda%20Skyward%20Sword%20HD.png</screenshot> | ||
| 47 | <screenshot>https://raw.githubusercontent.com/yuzu-emu/yuzu-emu.github.io/master/images/screenshots/007-Pokemon%20Sword.png</screenshot> | ||
| 48 | <screenshot>https://raw.githubusercontent.com/yuzu-emu/yuzu-emu.github.io/master/images/screenshots/010-Hyrule%20Warriors%20Age%20of%20Calamity.png</screenshot> | ||
| 49 | <screenshot>https://raw.githubusercontent.com/yuzu-emu/yuzu-emu.github.io/master/images/screenshots/039-Pok%C3%A9mon%20Mystery%20Dungeon%20Rescue%20Team%20DX.png.png.png</screenshot> | ||
| 50 | </screenshots> | ||
| 51 | </component> | ||
diff --git a/dist/yuzu.xml b/dist/org.yuzu_emu.yuzu.xml index dd1e30a6b..b52acecc4 100644 --- a/dist/yuzu.xml +++ b/dist/org.yuzu_emu.yuzu.xml | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | <mime-type type="application/x-nx-nro"> | 3 | <mime-type type="application/x-nx-nro"> |
| 4 | <comment>Nintendo Switch homebrew executable</comment> | 4 | <comment>Nintendo Switch homebrew executable</comment> |
| 5 | <acronym>NRO</acronym> | 5 | <acronym>NRO</acronym> |
| 6 | <icon name="yuzu"/> | 6 | <icon name="org.yuzu_emu.yuzu"/> |
| 7 | <glob pattern="*.nro"/> | 7 | <glob pattern="*.nro"/> |
| 8 | <magic><match value="NRO" type="string" offset="16"/></magic> | 8 | <magic><match value="NRO" type="string" offset="16"/></magic> |
| 9 | </mime-type> | 9 | </mime-type> |
| @@ -11,7 +11,7 @@ | |||
| 11 | <mime-type type="application/x-nx-nso"> | 11 | <mime-type type="application/x-nx-nso"> |
| 12 | <comment>Nintendo Switch homebrew executable</comment> | 12 | <comment>Nintendo Switch homebrew executable</comment> |
| 13 | <acronym>NSO</acronym> | 13 | <acronym>NSO</acronym> |
| 14 | <icon name="yuzu"/> | 14 | <icon name="org.yuzu_emu.yuzu"/> |
| 15 | <glob pattern="*.nso"/> | 15 | <glob pattern="*.nso"/> |
| 16 | <magic><match value="NSO" type="string" offset="0"/></magic> | 16 | <magic><match value="NSO" type="string" offset="0"/></magic> |
| 17 | </mime-type> | 17 | </mime-type> |
| @@ -19,7 +19,7 @@ | |||
| 19 | <mime-type type="application/x-nx-nsp"> | 19 | <mime-type type="application/x-nx-nsp"> |
| 20 | <comment>Nintendo Switch Package</comment> | 20 | <comment>Nintendo Switch Package</comment> |
| 21 | <acronym>NSP</acronym> | 21 | <acronym>NSP</acronym> |
| 22 | <icon name="yuzu"/> | 22 | <icon name="org.yuzu_emu.yuzu"/> |
| 23 | <glob pattern="*.nsp"/> | 23 | <glob pattern="*.nsp"/> |
| 24 | <magic><match value="PFS" type="string" offset="0"/></magic> | 24 | <magic><match value="PFS" type="string" offset="0"/></magic> |
| 25 | </mime-type> | 25 | </mime-type> |
| @@ -27,7 +27,7 @@ | |||
| 27 | <mime-type type="application/x-nx-xci"> | 27 | <mime-type type="application/x-nx-xci"> |
| 28 | <comment>Nintendo Switch Card Image</comment> | 28 | <comment>Nintendo Switch Card Image</comment> |
| 29 | <acronym>XCI</acronym> | 29 | <acronym>XCI</acronym> |
| 30 | <icon name="yuzu"/> | 30 | <icon name="org.yuzu_emu.yuzu"/> |
| 31 | <glob pattern="*.xci"/> | 31 | <glob pattern="*.xci"/> |
| 32 | </mime-type> | 32 | </mime-type> |
| 33 | </mime-info> \ No newline at end of file | 33 | </mime-info> |