Blame 0001-Add-AppStream-data-file.patch

05f9be
From 9a914db0145f0a270f57a257b674643cae18e8c5 Mon Sep 17 00:00:00 2001
05f9be
From: =?UTF-8?q?Robert-Andr=C3=A9=20Mauchin?= <zebob.m@gmail.com>
05f9be
Date: Tue, 16 Oct 2018 00:06:57 +0200
05f9be
Subject: [PATCH] Add AppStream data file
05f9be
05f9be
---
05f9be
 distfiles/Orion.appdata.xml | 38 +++++++++++++++++++++++++++++++++++++
05f9be
 orion.pro                   |  5 ++++-
05f9be
 2 files changed, 42 insertions(+), 1 deletion(-)
05f9be
 create mode 100644 distfiles/Orion.appdata.xml
05f9be
05f9be
diff --git a/distfiles/Orion.appdata.xml b/distfiles/Orion.appdata.xml
05f9be
new file mode 100644
05f9be
index 0000000..b059835
05f9be
--- /dev/null
05f9be
+++ b/distfiles/Orion.appdata.xml
05f9be
@@ -0,0 +1,38 @@
05f9be
+
05f9be
+<component type="desktop">
05f9be
+  <id>Orion.desktop</id>
05f9be
+  <metadata_license>CC0-1.0</metadata_license>
05f9be
+  <project_license>GPL-3.0</project_license>
05f9be
+  <name>Orion</name>
05f9be
+  <summary>A desktop client for Twitch.tv</summary>
05f9be
+  <description>
05f9be
+    

05f9be
+      Cross-platform Twitch client. Features:
05f9be
+    

05f9be
+    
    05f9be
    +        
  • Channel browsing
  • 05f9be
    +        
  • Integrated player
  • 05f9be
    +        
  • Login via Twitch account
  • 05f9be
    +        
  • Chat
  • 05f9be
    +        
  • Streamable videos
  • 05f9be
    +        
  • Desktop notifications
  • 05f9be
    +    
    05f9be
    +  </description>
    05f9be
    +  <screenshots>
    05f9be
    +    <screenshot type="default">
    05f9be
    +      <image>https://user-images.githubusercontent.com/5585454/27839943-cc1834ae-60fd-11e7-9b87-d3aaf5f7483c.png</image>
    05f9be
    +    </screenshot>
    05f9be
    +    <screenshot>
    05f9be
    +      <image>https://user-images.githubusercontent.com/5585454/27839974-fb7a6d3e-60fd-11e7-8638-9214fe5a1355.png</image>
    05f9be
    +    </screenshot>
    05f9be
    +    <screenshot>
    05f9be
    +      <image>https://user-images.githubusercontent.com/5585454/27840063-b6429fce-60fe-11e7-9e96-54d6d0657953.png</image>
    05f9be
    +    </screenshot>
    05f9be
    +    <screenshot>
    05f9be
    +      <image>https://user-images.githubusercontent.com/5585454/27840062-b2f14eba-60fe-11e7-9e04-7d12477519d7.png</image>
    05f9be
    +    </screenshot>
    05f9be
    +  </screenshots>
    05f9be
    +  <url type="homepage">https://alamminsalo.github.io/orion/</url>
    05f9be
    +  <url type="bugtracker">https://github.com/alamminsalo/orion/issues</url>
    05f9be
    +  <update_contact>eclipseo_at_fedoraproject.org</update_contact>
    05f9be
    +</component>
    05f9be
    diff --git a/orion.pro b/orion.pro
    05f9be
    index 1861a48..9e2bde7 100644
    05f9be
    --- a/orion.pro
    05f9be
    +++ b/orion.pro
    05f9be
    @@ -129,13 +129,16 @@ linux:!android: {
    05f9be
         target.path = /usr/bin
    05f9be
         INSTALLS += target
    05f9be
     
    05f9be
    +    _appdata.files = distfiles/Orion.appdata.xml
    05f9be
    +    _appdata.path = /usr/local/share/metainfo
    05f9be
    +
    05f9be
         _desktop.files = distfiles/Orion.desktop
    05f9be
         _desktop.path = /usr/local/share/applications
    05f9be
     
    05f9be
         _icon.files = distfiles/orion.svg
    05f9be
         _icon.path = /usr/local/share/icons
    05f9be
     
    05f9be
    -    INSTALLS += _desktop _icon
    05f9be
    +    INSTALLS += _appdata _desktop _icon
    05f9be
     }
    05f9be
     
    05f9be
     RESOURCES += \
    05f9be
    -- 
    05f9be
    2.19.1
    05f9be