aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlink2xt <link2xt@testrun.org>2021-03-27 18:34:35 +0300
committerlink2xt <link2xt@testrun.org>2021-03-27 18:34:35 +0300
commit61f5074e220ba385e11585ae634d4ead364c2885 (patch)
treedf065cd13bc910ffeb1e2453c98c9cb3c45be6fe
parent23fe1b066a8ce27548e8344bca2c08029e856461 (diff)
downloadkdeltachat-61f5074e220ba385e11585ae634d4ead364c2885.tar.gz
kdeltachat-61f5074e220ba385e11585ae634d4ead364c2885.zip
Add .desktop entry and icon
-rw-r--r--CMakeLists.txt2
-rw-r--r--res/CMakeLists.txt8
-rw-r--r--res/chat.delta.KDeltaChat.desktop10
-rw-r--r--res/chat.delta.KDeltaChat.pngbin0 -> 18772 bytes
4 files changed, 20 insertions, 0 deletions
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
--- /dev/null
+++ b/res/chat.delta.KDeltaChat.png
Binary files differ