[devhelp] meson: install icons
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devhelp] meson: install icons
- Date: Mon, 12 Mar 2018 16:58:17 +0000 (UTC)
commit de7b4d776e8c5707f3b4c3a1bbfd7ab415ddf532
Author: Sébastien Wilmet <swilmet gnome org>
Date: Mon Mar 12 17:55:08 2018 +0100
meson: install icons
data/icons/meson.build | 30 ++++++++++++++++++++++++++++++
data/meson.build | 2 ++
2 files changed, 32 insertions(+), 0 deletions(-)
---
diff --git a/data/icons/meson.build b/data/icons/meson.build
new file mode 100644
index 0000000..59882f8
--- /dev/null
+++ b/data/icons/meson.build
@@ -0,0 +1,30 @@
+icon_sizes = [
+ '16x16',
+ '22x22',
+ '24x24',
+ '32x32',
+ '48x48',
+ '256x256'
+]
+
+foreach icon_size : icon_sizes
+ install_data(
+ join_paths(icon_size, 'devhelp.png'),
+ install_dir : join_paths(
+ get_option('prefix'),
+ get_option('datadir'),
+ 'icons/hicolor',
+ icon_size,
+ 'apps'
+ )
+ )
+endforeach
+
+install_data(
+ 'symbolic/devhelp-symbolic.svg',
+ install_dir : join_paths(
+ get_option('prefix'),
+ get_option('datadir'),
+ 'icons/hicolor/symbolic/apps'
+ )
+)
diff --git a/data/meson.build b/data/meson.build
index acada63..de2230c 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -1,3 +1,5 @@
+subdir('icons')
+
install_data(
['org.gnome.devhelp.gschema.xml',
'org.gnome.libdevhelp-3.gschema.xml'],
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]