diff options
author | Andrea Pappacoda <andrea@pappacoda.it> | 2022-04-28 23:24:19 +0200 |
---|---|---|
committer | Andrea Pappacoda <andrea@pappacoda.it> | 2022-04-29 13:05:55 +0200 |
commit | 073df3d7eb59ea73f652927a637e2a3f99a584a2 (patch) | |
tree | 494a4fb62e7601abee2f5a1868d792e8489d3222 /CMakeLists.txt | |
parent | Merge pull request #8280 from Tachi107/spdx-fixup (diff) | |
download | yuzu-073df3d7eb59ea73f652927a637e2a3f99a584a2.tar yuzu-073df3d7eb59ea73f652927a637e2a3f99a584a2.tar.gz yuzu-073df3d7eb59ea73f652927a637e2a3f99a584a2.tar.bz2 yuzu-073df3d7eb59ea73f652927a637e2a3f99a584a2.tar.lz yuzu-073df3d7eb59ea73f652927a637e2a3f99a584a2.tar.xz yuzu-073df3d7eb59ea73f652927a637e2a3f99a584a2.tar.zst yuzu-073df3d7eb59ea73f652927a637e2a3f99a584a2.zip |
Diffstat (limited to '')
-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() # ========================= # Install freedesktop.org metadata files, following those specifications: -# http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html -# http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html -# http://standards.freedesktop.org/shared-mime-info-spec/shared-mime-info-spec-latest.html +# https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html +# https://specifications.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html +# https://specifications.freedesktop.org/shared-mime-info-spec/shared-mime-info-spec-latest.html +# https://www.freedesktop.org/software/appstream/docs/ if(ENABLE_QT AND UNIX AND NOT APPLE) - install(FILES "${PROJECT_SOURCE_DIR}/dist/yuzu.desktop" - DESTINATION "${CMAKE_INSTALL_PREFIX}/share/applications") - install(FILES "${PROJECT_SOURCE_DIR}/dist/yuzu.svg" - DESTINATION "${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/scalable/apps") - install(FILES "${PROJECT_SOURCE_DIR}/dist/yuzu.xml" - DESTINATION "${CMAKE_INSTALL_PREFIX}/share/mime/packages") + install(FILES "dist/org.yuzu_emu.yuzu.desktop" + DESTINATION "share/applications") + install(FILES "dist/yuzu.svg" + DESTINATION "share/icons/hicolor/scalable/apps" + RENAME "org.yuzu_emu.yuzu.svg") + install(FILES "dist/org.yuzu_emu.yuzu.xml" + DESTINATION "share/mime/packages") + install(FILES "dist/org.yuzu_emu.yuzu.metainfo.xml" + DESTINATION "share/metainfo") endif() |