[gtk] icon-browser: Install desktop file and appdata
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] icon-browser: Install desktop file and appdata
- Date: Wed, 29 Jul 2020 21:43:54 +0000 (UTC)
commit 59fce3020090cd5ca5b880700d4b2e3eef8f74df
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Jul 29 17:42:49 2020 -0400
icon-browser: Install desktop file and appdata
That is needed to make the flatpak build in our
ci happy.
demos/icon-browser/meson.build | 16 +++++++++++
.../icon-browser/org.gtk.IconBrowser4.appdata.xml | 31 ++++++++++++++++++++++
2 files changed, 47 insertions(+)
---
diff --git a/demos/icon-browser/meson.build b/demos/icon-browser/meson.build
index ac7b84aa90..beefebba30 100644
--- a/demos/icon-browser/meson.build
+++ b/demos/icon-browser/meson.build
@@ -18,3 +18,19 @@ executable('gtk4-icon-browser',
gui_app: true,
link_args: extra_demo_ldflags,
install: true)
+
+# icons
+icontheme_dir = join_paths(gtk_datadir, 'icons/hicolor')
+
+foreach size: ['scalable', 'symbolic']
+ install_subdir('data/' + size,
+ install_dir: icontheme_dir
+ )
+endforeach
+
+# desktop file
+install_data('org.gtk.IconBrowser4.desktop', install_dir: gtk_applicationsdir)
+
+# appdata
+install_data('org.gtk.IconBrowser4.appdata.xml', install_dir: gtk_appdatadir)
+
diff --git a/demos/icon-browser/org.gtk.IconBrowser4.appdata.xml
b/demos/icon-browser/org.gtk.IconBrowser4.appdata.xml
new file mode 100644
index 0000000000..838449ac27
--- /dev/null
+++ b/demos/icon-browser/org.gtk.IconBrowser4.appdata.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="desktop">
+ <id>org.gtk.IconBrowser4.desktop</id>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>LGPL-2.0+</project_license>
+ <name>GTK Icon Browser</name>
+ <summary>Program to browse themed icons</summary>
+ <description>
+ <p>
+ GTK Icon Browser is a simple application to show themed icons that
+ are available on the system.
+ </p>
+ </description>
+ <screenshots>
+ </screenshots>
+ <kudos>
+ <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>
+ <releases>
+ <release version="3.94.0" date="2018-06-25">
+ <description>
+ <p>A new developers snapshot towards GTK 4.0.</p>
+ </description>
+ </release>
+ </releases>
+</component>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]