mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-18 10:56:11 +00:00
Added metainfo file to the installation. (#3346)
Switched from hardcoded directory name to CMAKE_INSTALL_DATAROOTDIR use. Removed the COMPONENT option from the desktop file installation entry since the file is not a development file and is always needed. Added missing GenericName and Comment to the desktop file.
This commit is contained in:
parent
8251f7ec68
commit
38c683b519
@ -618,8 +618,9 @@ endforeach()
|
|||||||
|
|
||||||
if(UNIX AND NOT APPLE)
|
if(UNIX AND NOT APPLE)
|
||||||
install(FILES "img/cutter.svg"
|
install(FILES "img/cutter.svg"
|
||||||
DESTINATION "share/icons/hicolor/scalable/apps/")
|
DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/scalable/apps")
|
||||||
install(FILES "re.rizin.cutter.desktop"
|
install(FILES "re.rizin.cutter.desktop"
|
||||||
DESTINATION "share/applications"
|
DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/applications")
|
||||||
COMPONENT Devel)
|
install(FILES "re.rizin.cutter.appdata.xml"
|
||||||
|
DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/metainfo")
|
||||||
endif()
|
endif()
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Type=Application
|
Type=Application
|
||||||
Name=Cutter
|
Name=Cutter
|
||||||
|
GenericName=Reverse Engineering Platform
|
||||||
|
Comment=Reverse Engineering Platform powered by rizin
|
||||||
Exec=cutter
|
Exec=cutter
|
||||||
Icon=cutter
|
Icon=cutter
|
||||||
Categories=Development;
|
Categories=Development;
|
||||||
|
Loading…
Reference in New Issue
Block a user