From: Matthias Clasen Date: Tue, 20 Mar 2018 23:40:30 +0000 (-0400) Subject: Add appdata for gtk4-demo X-Git-Tag: archive/raspbian/4.4.1+ds1-2+rpi1^2~18^2~22^2~851 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=cb41d1586fd2dbb0c1bade74baa32d3b423673c0;p=gtk4.git Add appdata for gtk4-demo This will let us build a better flatpak for gtk4-demo. --- 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 @@ + + + org.gtk.Demo.desktop + CC0-1.0 + LGPL-2.0+ + GTK+ Demo + Program to demonstrate GTK+ functions + +

+ GTK+ Demo is a collection of examples that demonstrate the major + features of the GTK+ toolkit. +

+
+ + + https://static.gnome.org/appdata/gtk4-demo/gtk-demo1.png + The main window + + + https://static.gnome.org/appdata/gtk4-demo/gtk-demo2.png + An example + + + + AppMenu + HiDpiIcon + ModernToolkit + + https://www.gtk.org + gtk-4.0 + matthias.clasen_at_gmail.com + Matthias Clasen and others +
\ No newline at end of file diff --git a/meson.build b/meson.build index c2d0e51338..26d522fa3b 100644 --- a/meson.build +++ b/meson.build @@ -125,6 +125,7 @@ gtk_localedir = join_paths(gtk_prefix, get_option('localedir')) gtk_sysconfdir = join_paths(gtk_prefix, get_option('sysconfdir')) gtk_applicationsdir = join_paths(gtk_datadir, 'applications') gtk_schemasdir = join_paths(gtk_datadir, 'glib-2.0/schemas') +gtk_appdatadir = join_paths(gtk_datadir, 'metainfo') cc = meson.get_compiler('c')