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
168
168
${PROJECT_NAME}
169
169
)
170
170
171
+ # Follow freedesktop specifications
172
+ set (DNS_DESKTOP_FILENAME "org.lxqt_project.ScreenGrab.desktop" )
173
+
171
174
# generating executable
172
175
add_executable (screengrab
173
176
${SCREENGRAB_SRC}
@@ -216,9 +219,9 @@ install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/docs/html" DESTINATION "${CMAKE_I
216
219
# install config files
217
220
install (FILES ${SCREENGRAB_CONFIG_FILES} DESTINATION ${CMAKE_INSTALL_DATADIR} /${PROJECT_NAME} )
218
221
# 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} )
220
223
# install pixmap
221
224
install (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
223
226
DESTINATION ${CMAKE_INSTALL_DATADIR} /metainfo
224
227
)
File renamed without changes.
You can’t perform that action at this time.
0 commit comments