summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2018-03-20 19:40:30 -0400
committerMatthias Clasen <mclasen@redhat.com>2018-03-20 19:40:30 -0400
commitcb41d1586fd2dbb0c1bade74baa32d3b423673c0 (patch)
tree9168b9a8c213c18c24bc193deccd0a051273ad53 /demos
parent706a6cf0a3fc2a9cddd2b22f7bd77e8b8f12c041 (diff)
downloadgtk+-cb41d1586fd2dbb0c1bade74baa32d3b423673c0.tar.gz
Add appdata for gtk4-demo
This will let us build a better flatpak for gtk4-demo.
Diffstat (limited to 'demos')
-rw-r--r--demos/gtk-demo/meson.build3
-rw-r--r--demos/gtk-demo/org.gtk.Demo.appdata.xml33
2 files changed, 36 insertions, 0 deletions
diff --git a/demos/gtk-demo/meson.build b/demos/gtk-demo/meson.build
index 6734d6f110..1317c29904 100644
--- a/demos/gtk-demo/meson.build
+++ b/demos/gtk-demo/meson.build
@@ -131,3 +131,6 @@ install_data('gtk4-demo.desktop', install_dir: gtk_applicationsdir)
# GSettings
install_data('org.gtk.Demo.gschema.xml', install_dir: gtk_schemasdir)
gnome.compile_schemas()
+
+# appdata
+install_data('org.gtk.Demo.appdata.xml', install_dir: gtk_appdatadir) \ No newline at end of file
diff --git a/demos/gtk-demo/org.gtk.Demo.appdata.xml b/demos/gtk-demo/org.gtk.Demo.appdata.xml
new file mode 100644
index 0000000000..65902b74c3
--- /dev/null
+++ b/demos/gtk-demo/org.gtk.Demo.appdata.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="desktop">
+ <id>org.gtk.Demo.desktop</id>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>LGPL-2.0+</project_license>
+ <name>GTK+ Demo</name>
+ <summary>Program to demonstrate GTK+ functions</summary>
+ <description>
+ <p>
+ GTK+ Demo is a collection of examples that demonstrate the major
+ features of the GTK+ toolkit.
+ </p>
+ </description>
+ <screenshots>
+ <screenshot>
+ <image>https://static.gnome.org/appdata/gtk4-demo/gtk-demo1.png</image>
+ <caption>The main window</caption>
+ </screenshot>
+ <screenshot>
+ <image>https://static.gnome.org/appdata/gtk4-demo/gtk-demo2.png</image>
+ <caption>An example</caption>
+ </screenshot>
+ </screenshots>
+ <kudos>
+ <kudo>AppMenu</kudo>
+ <kudo>HiDpiIcon</kudo>
+ <kudo>ModernToolkit</kudo>
+ </kudos>
+ <url type="homepage">https://www.gtk.org</url>
+ <translation type="gettext">gtk-4.0</translation>
+ <update_contact>matthias.clasen_at_gmail.com</update_contact>
+ <developer_name>Matthias Clasen and others</developer_name>
+</component> \ No newline at end of file