From 853faec537b10b1f075017fd05abbf8fac52ee74 Mon Sep 17 00:00:00 2001
From: Vladimir Stoiakin <VStoiakin@lavabit.com>
Date: Tue, 26 Mar 2019 10:48:31 +0300
Subject: [PATCH] update AppStream metadata

Change-Id: Ie9ae7df21a8f61815e77488cf202fb365b654875
---
 CMakeLists.txt         |  2 +-
 jami-gnome.appdata.xml | 57 ++++++++++++++++++++++++++++++++++++------
 2 files changed, 50 insertions(+), 9 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index c0246bb0..3ade91f4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -453,7 +453,7 @@ INSTALL(FILES pixmaps/jami.svg
 )
 
 INSTALL(FILES jami-gnome.appdata.xml
-    DESTINATION ${CMAKE_INSTALL_PREFIX}/share/appdata/
+    DESTINATION ${CMAKE_INSTALL_PREFIX}/share/metainfo/
 )
 
 # install shell script which will launch Jami
diff --git a/jami-gnome.appdata.xml b/jami-gnome.appdata.xml
index 18334c1c..9cca4ef2 100644
--- a/jami-gnome.appdata.xml
+++ b/jami-gnome.appdata.xml
@@ -1,15 +1,56 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- Copyright 2017 Savoir-faire Linux -->
-<component type="desktop">
- <id>jami-gnome.desktop</id>
+<!-- Copyright 2019 Savoir-faire Linux -->
+<component type="desktop-application">
+ <id>net.jami.client.gnome</id>
  <metadata_license>CC-BY-SA-3.0</metadata_license>
  <project_license>GPL-3.0+</project_license>
- <name>Jami</name>
- <summary>Gnome client for Jami</summary>
+ <name>Gnome client for Jami</name>
+ <summary>Jami is a software for secure communications with distributed architecture</summary>
+ <icon type="stock">jami</icon>
  <description>
   <p>
-   Jami is a secure, distributed communication software and a SIP client.
+   Jami is a free and open source software, which allows to make encrypted audio or video calls and to send files and messages around the world. Jami is an official GNU package, that uses fully distributed architecture and independent from any centralized service. Additional support for SIP communications is provided.
+  </p>
+  <p>
+   Features:
+   <ul>
+   <li>Audio and video calls, instant messaging, file transfers</li>
+   <li>Distributed architecture — p2p connections, DHT for a peer discovery</li>
+   <li>Multi-device support</li>
+   <li>Available on Windows, MacOS, iOS, GNU/Linux, Android and Android TV</li>
+   </ul>
   </p>
  </description>
- <url type="homepage">https://jami.net</url>
-</component>
\ No newline at end of file
+
+ <url type="homepage">https://jami.net/</url>
+ <url type="bugtracker">https://git.jami.net/savoirfairelinux/ring-client-gnome/issues/</url>
+ <url type="translate">https://www.transifex.com/savoirfairelinux/jami</url>
+
+ <launchable type="desktop-id">jami-gnome.desktop</launchable>
+
+ <provides>
+​  <binary>jami-gnome</binary>
+  <binary>jami</binary>
+​ </provides>
+
+ <categories>
+  <category>Network</category>
+  <category>P2P</category>
+  <category>InstantMessaging</category>
+  <category>FileTransfer</category>
+  <category>GNOME</category>
+  <category>GTK</category>
+ </categories>
+
+ <translation type="gettext">jami-client-gnome</translation>
+
+ <content_rating type="oars-1.1">
+  <content_attribute id="social-chat">intense</content_attribute>
+  <content_attribute id="social-audio">intense</content_attribute>
+ </content_rating>
+
+ <requires>
+​  <id>net.jami.daemon</id>
+​ </requires>
+
+</component>
-- 
GitLab