[geary] Fix app icons not being installed to the correct directory under Meson.



commit fad8c46e02e84c2e658bcb7d9e875b3d631a323d
Author: Michael James Gratton <mike vee net>
Date:   Fri Jan 12 17:19:27 2018 +1100

    Fix app icons not being installed to the correct directory under Meson.

 icons/meson.build |   19 +++++++++++++++++--
 1 files changed, 17 insertions(+), 2 deletions(-)
---
diff --git a/icons/meson.build b/icons/meson.build
index a950ef2..9dadc0a 100644
--- a/icons/meson.build
+++ b/icons/meson.build
@@ -28,10 +28,25 @@ icon_files = files(
   'tag-symbolic-rtl.svg',
 )
 
+colour_app_icon_dirs = [
+  '16x16',
+  '24x24',
+  '32x32',
+  '48x48',
+  '256x256',
+  '512x512',
+]
+
 install_data(icon_files,
   install_dir: join_paths(system_icons_dir, 'scalable', 'actions'),
 )
 
-install_subdir('hicolor',
-  install_dir: system_icons_dir,
+foreach icon_dir: colour_app_icon_dirs
+  install_data(join_paths('hicolor', icon_dir, 'apps', 'org.gnome.Geary.png'),
+    install_dir: join_paths(system_icons_dir, icon_dir, 'apps'),
+  )
+endforeach
+
+install_data(join_paths('hicolor', 'symbolic', 'apps', 'org.gnome.Geary-symbolic.svg'),
+  install_dir: join_paths(system_icons_dir, 'symbolic', 'apps'),
 )


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]