File appdata.patch of Package aseprite

From 0e73c7e61d4911e467ae392b608507da2c740a4a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?=
Date: Sun, 14 Aug 2016 19:25:49 +0200
Subject: [PATCH] Add an appdata.xml file for software gallery integration.

---
 desktop/CMakeLists.txt       |  5 +++++
 desktop/aseprite.appdata.xml | 20 ++++++++++++++++++++
 2 files changed, 25 insertions(+)
 create mode 100644 desktop/aseprite.appdata.xml

diff --git a/desktop/CMakeLists.txt b/desktop/CMakeLists.txt
index 6f9196d..d8abba9 100644
--- a/desktop/CMakeLists.txt
+++ b/desktop/CMakeLists.txt
@@ -1,6 +1,7 @@
 # Aseprite Desktop Integration Module
 # Copyright (C) 2016  Gabriel Rauter
 # Copyright (C) 2016  David Capello
+# Copyright (C) 2016  Matthias Mailänder
 #
 # Licensed under the the MIT License (https://opensource.org/licenses/MIT).
 
@@ -9,6 +10,10 @@ if(UNIX AND NOT APPLE)
   install(FILES aseprite.desktop
           DESTINATION share/applications)
 
+  # Package gallery integration
+  install(FILES aseprite.appdata.xml
+          DESTINATION share/appdata)
+
   # GNOME Thumbnailer
   install(FILES mime/aseprite.xml
           DESTINATION share/mime/packages)
diff --git a/desktop/aseprite.appdata.xml b/desktop/aseprite.appdata.xml
new file mode 100644
index 0000000..2db23bc
--- /dev/null
+++ b/desktop/aseprite.appdata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<application>
+  <id type="desktop">aseprite.desktop</id>  
+  <metadata_license>CC0-1.0</metadata_license>
+  <project_license>GPL-2.0</project_license>
+  <name>Aseprite</name>
+  <summary>Animated sprite editor and pixel art tool</summary>
+  <description>
+    <p>Aseprite lets you create 2D animations for videogames. From sprites, to pixel-art, retro style graphics, and whatever you like about the 8-bit (and 16-bit) era.</p>
+  </description>
+  <url type="homepage">https://github.com/aseprite-gpl/aseprite</url>
+  <url type="bugtracker">https://github.com/aseprite-gpl/aseprite/issues/</url>
+  <screenshots>
+    <screenshot>http://cdn.akamai.steamstatic.com/steam/apps/431730/ss_46a7e00325c8e3b8cea2cfecc414a4b777827d8e.1920x1080.jpg</screenshot>
+    <screenshot>http://cdn.akamai.steamstatic.com/steam/apps/431730/ss_20c98a0b69c60833512a5a04497968e045946f5b.1920x1080.jpg</screenshot>
+    <screenshot>http://cdn.akamai.steamstatic.com/steam/apps/431730/ss_206049432a1d70f0a20070a2ffdb7debc705c949.1920x1080.jpg</screenshot>
+    <screenshot>http://cdn.akamai.steamstatic.com/steam/apps/431730/ss_aefb5ce19a41ad4a02675fe113f3bc84d876872c.1920x1080.jpg</screenshot>
+    <screenshot>http://cdn.akamai.steamstatic.com/steam/apps/431730/ss_3247ba4b306462cffea875de8351e252476e87c3.1920x1080.jpg</screenshot>
+  </screenshots>
+</application>
openSUSE Build Service is sponsored by