Added AppData manifest file for Gnome Software (#224)
Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
2 files changed, 23 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c894658c..16b865cc 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -353,6 +353,7 @@ if(UNIX AND NOT APPLE)
install (FILES "resources/nheko-256.png" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/256x256/apps" RENAME "nheko.png")
install (FILES "resources/nheko-512.png" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/512x512/apps" RENAME "nheko.png")
install (FILES "resources/nheko.desktop" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/applications")
+ install (FILES "resources/nheko.appdata.xml" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/metainfo")
if(NOT TARGET uninstall)
configure_file(
diff --git a/resources/nheko.appdata.xml b/resources/nheko.appdata.xml
new file mode 100644
index 00000000..42bb46fc
--- /dev/null
+++ b/resources/nheko.appdata.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2018 Vitaly Zaitsev <vitaly@easycoding.org> -->
+<component type="desktop">
+ <id>nheko.desktop</id>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>GPLv3+ and Public Domain and MIT and Boost and ASL 2.0 and CC-BY</project_license>
+ <name>nheko</name>
+ <summary>Desktop client for the Matrix protocol</summary>
+ <description>
+ <p>
+ The motivation behind the project is to provide a native desktop app
+ for Matrix that feels more like a mainstream chat app.
+ </p>
+ </description>
+ <screenshots>
+ <screenshot type="default">
+ <image>https://dl.dropboxusercontent.com/s/umojysx3gv80qs9/nheko-default-theme.png</image>
+ </screenshot>
+ </screenshots>
+ <url type="homepage">https://github.com/mujx/nheko</url>
+ <update_contact>https://github.com/mujx</update_contact>
+</component>
|