diff options
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 22 |
1 files changed, 13 insertions, 9 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() |