Install a .desktop file to make citra-qt launchable from DE menus.
This commit is contained in:
parent
7d21b0663b
commit
d0ee89e2fe
4 changed files with 166 additions and 0 deletions
|
@ -193,3 +193,16 @@ if(ENABLE_QT)
|
|||
add_subdirectory(externals/qhexedit)
|
||||
endif()
|
||||
add_subdirectory(src)
|
||||
|
||||
# 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
|
||||
if(${CMAKE_SYSTEM_NAME} MATCHES "Linux|FreeBSD|OpenBSD|NetBSD")
|
||||
install(FILES "${CMAKE_SOURCE_DIR}/dist/citra.desktop"
|
||||
DESTINATION "${CMAKE_INSTALL_PREFIX}/share/applications")
|
||||
install(FILES "${CMAKE_SOURCE_DIR}/dist/citra.svg"
|
||||
DESTINATION "${CMAKE_INSTALL_PREFIX}/share/pixmaps")
|
||||
install(FILES "${CMAKE_SOURCE_DIR}/dist/citra.xml"
|
||||
DESTINATION "${CMAKE_INSTALL_PREFIX}/share/mime/packages")
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue