File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -168,6 +168,9 @@ qt5_translation_loader(SCREENGRAB_QM_LOADER
168168 ${PROJECT_NAME}
169169)
170170
171+ # Follow freedesktop specifications
172+ set (DNS_DESKTOP_FILENAME "org.lxqt_project.ScreenGrab.desktop" )
173+
171174# generating executable
172175add_executable (screengrab
173176 ${SCREENGRAB_SRC}
@@ -216,9 +219,9 @@ install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/docs/html" DESTINATION "${CMAKE_I
216219# install config files
217220install (FILES ${SCREENGRAB_CONFIG_FILES} DESTINATION ${CMAKE_INSTALL_DATADIR} /${PROJECT_NAME} )
218221# install desktop files
219- install (FILES ${SCREENGRAB_DESKTOP_FILES} DESTINATION ${CMAKE_INSTALL_DATADIR} /applications)
222+ install (FILES ${SCREENGRAB_DESKTOP_FILES} DESTINATION ${CMAKE_INSTALL_DATADIR} /applications RENAME ${DNS_DESKTOP_FILENAME} )
220223# install pixmap
221224install (FILES "${CMAKE_CURRENT_SOURCE_DIR} /img/screengrab.svg" DESTINATION "${CMAKE_INSTALL_DATADIR} /icons/hicolor/scalable/apps" )
222- install (FILES screengrab .metainfo.xml
225+ install (FILES org.lxqt_project.ScreenGrab .metainfo.xml
223226 DESTINATION ${CMAKE_INSTALL_DATADIR} /metainfo
224227)
File renamed without changes.
You can’t perform that action at this time.
0 commit comments