[gtk/gtk-3-24-meson: 58/94] meson: widget-factory: install icons
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/gtk-3-24-meson: 58/94] meson: widget-factory: install icons
- Date: Mon, 8 Apr 2019 04:11:48 +0000 (UTC)
commit 82f8b46b05a6ad830474325c92d84af03c51ae0a
Author: Christoph Reiter <creiter src gnome org>
Date: Fri Mar 29 20:37:29 2019 +0100
meson: widget-factory: install icons
demos/widget-factory/meson.build | 7 +++++++
1 file changed, 7 insertions(+)
---
diff --git a/demos/widget-factory/meson.build b/demos/widget-factory/meson.build
index 184a8abbb4..9ce9cc2213 100644
--- a/demos/widget-factory/meson.build
+++ b/demos/widget-factory/meson.build
@@ -9,6 +9,13 @@ widgetfactory_resources = gnome.compile_resources(
source_dir: '.'
)
+foreach s: [ '16', '22', '24', '32', '48', '256']
+ icon_destdir = join_paths(gtk_datadir, 'icons', 'hicolor', '@0@x@0@'.format(s), 'apps')
+ icons = [join_paths('data', '@0@x@0@'.format(s), 'gtk3-widget-factory.png'),
+ join_paths('data', '@0@x@0@'.format(s), 'gtk3-widget-factory-symbolic.symbolic.png')]
+ install_data(icons, install_dir: icon_destdir)
+endforeach
+
widget_factory = executable(
'gtk3-widget-factory',
widgetfactory_sources,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]