From 61f5074e220ba385e11585ae634d4ead364c2885 Mon Sep 17 00:00:00 2001 From: link2xt Date: Sat, 27 Mar 2021 18:34:35 +0300 Subject: Add .desktop entry and icon --- CMakeLists.txt | 2 ++ res/CMakeLists.txt | 8 ++++++++ res/chat.delta.KDeltaChat.desktop | 10 ++++++++++ res/chat.delta.KDeltaChat.png | Bin 0 -> 18772 bytes 4 files changed, 20 insertions(+) create mode 100644 res/CMakeLists.txt create mode 100644 res/chat.delta.KDeltaChat.desktop create mode 100644 res/chat.delta.KDeltaChat.png diff --git a/CMakeLists.txt b/CMakeLists.txt index 86196e7..80b1799 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -53,3 +53,5 @@ target_link_libraries(kdeltachat m dl) install(TARGETS kdeltachat ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) + +add_subdirectory(res) diff --git a/res/CMakeLists.txt b/res/CMakeLists.txt new file mode 100644 index 0000000..e6512bb --- /dev/null +++ b/res/CMakeLists.txt @@ -0,0 +1,8 @@ +install( + FILES chat.delta.KDeltaChat.png + DESTINATION share/icons/hicolor/256x256/apps/ + COMPONENT desktop) +install( + FILES chat.delta.KDeltaChat.desktop + DESTINATION share/applications/ + COMPONENT desktop) diff --git a/res/chat.delta.KDeltaChat.desktop b/res/chat.delta.KDeltaChat.desktop new file mode 100644 index 0000000..cfef685 --- /dev/null +++ b/res/chat.delta.KDeltaChat.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Type=Application +Version=1.5 +Name=KDeltaChat +Comment=Delta Chat client built with Kirigami +Icon=chat.delta.KDeltaChat +TryExec=kdeltachat +Exec=kdeltachat +Categories=Network;Email;InstantMessaging;Chat;KDE;Qt; +StartupWMClass=KDeltaChat diff --git a/res/chat.delta.KDeltaChat.png b/res/chat.delta.KDeltaChat.png new file mode 100644 index 0000000..62f445e Binary files /dev/null and b/res/chat.delta.KDeltaChat.png differ -- cgit v1.2.3-70-g09d2