File geany-appstream.patch of Package geany

diff --git a/Makefile.am b/Makefile.am
index 04e4a87..a1b35b7 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -17,6 +17,7 @@ WIN32_BUILD_FILES = \
 EXTRA_DIST = \
 	autogen.sh \
 	scripts/gen-api-gtkdoc.py \
+        geany.appdata.xml.in \
 	geany.desktop.in \
 	geany.pc.in \
 	geany.spec \
@@ -85,3 +86,9 @@ desktopdir = $(datadir)/applications
 desktop_in_files = geany.desktop
 desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
 @INTLTOOL_DESKTOP_RULE@
+
+appdata_in_files = geany.appdata.xml.in
+
+appdatadir = $(datadir)/appdata
+nodist_appdata_DATA = geany.appdata.xml
+@INTLTOOL_XML_RULE@
diff --git a/geany.appdata.xml.in b/geany.appdata.xml.in
new file mode 100644
index 0000000..862cbcc
--- /dev/null
+++ b/geany.appdata.xml.in
@@ -0,0 +1,32 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<component>
+  <id type="desktop">geany.desktop</id>
+  <metadata_license>CC0-1.0</metadata_license>
+  <_name>Geany IDE</_name>
+  <project_license>GPL-2.0+</project_license>
+  <_summary>A fast and lightweight IDE using GTK+</_summary>
+  <url type="homepage">http://geany.org/</url>
+  <description>
+    <_p>Geany is a small and lightweight integrated development environment.
+It was developed to provide a small and fast IDE, which has only a
+few dependencies from other packages. Another goal was to be as
+independent as possible from a special Desktop Environment like KDE
+or GNOME. So it is using only the GTK2 toolkit and therefore you need
+only the GTK2 runtime libraries to run Geany.</_p>
+  </description>
+  <screenshots>
+<!-- Screenshots need to be 16:9 ratio but the ones here from the main website are not. Please
+     change the links to point to appropriate 16:9 sized screenshots. -->
+    <screenshot type="default">
+      <image height="808" width="942">http://www.geany.org/uploads/Gallery/geany_main.png</image>
+    </screenshot>
+    <screenshot type="default">
+      <image height="808" width="942">http://www.geany.org/uploads/Gallery/geany_build.png</image>
+    </screenshot>
+    <screenshot type="default">
+      <image height="808" width="942">http://www.geany.org/uploads/Gallery/geany_vte.png</image>
+    </screenshot>
+  </screenshots>
+  <update_contact>badshah400@gmail.com</update_contact>
+  <translation type="gettext">geany</translation>
+</component>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 83057ac..3d14135 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,5 +1,6 @@
 # List of source files containing translatable strings.
 
+geany.appdata.xml.in
 geany.desktop.in
 data/geany.glade
 src/about.c

openSUSE Build Service is sponsored by