core: add a desktop file (closes #982, closes #408)

v2.8-utf8proc
Lucas Hoffmann 2019-10-07 20:47:43 +02:00 committed by Sébastien Helleu
parent cbeecc0cde
commit 8054cb0ee1
2 changed files with 13 additions and 0 deletions

View File

@ -302,6 +302,9 @@ endif()
# icon
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/weechat.png DESTINATION ${SHAREDIR}/icons/hicolor/32x32/apps)
# desktop file
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/weechat.desktop DESTINATION ${SHAREDIR}/applications)
# packages
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Fast, light and extensible chat client")
set(CPACK_PACKAGE_VENDOR "Sébastien Helleu")

10
weechat.desktop Normal file
View File

@ -0,0 +1,10 @@
[Desktop Entry]
Name=WeeChat
GenericName=Chat client
Comment=Extensible chat client
Exec=weechat %u
Terminal=true
Icon=weechat
Type=Application
Categories=Network;Chat;IRCClient;ConsoleOnly;
MimeType=x-scheme-handler/irc;x-scheme-handler/ircs;