Added AppData manifest file for Gnome Software (#224)

Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
This commit is contained in:
Vitaly Zaitsev 2018-02-02 04:02:30 +05:00 committed by mujx
parent 68ae0b98b4
commit 73bc1ffa7b
2 changed files with 23 additions and 0 deletions

View file

@ -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(

View file

@ -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>