[five-or-more] Fixed meson port issues (bgo#794601)



commit e03b158c791f3544596441c9f18302dcce3c2fb5
Author: Ruxandra Simion <ruxandra simion93 gmail com>
Date:   Fri Mar 23 10:09:18 2018 +0200

    Fixed meson port issues (bgo#794601)

 data/meson.build |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/data/meson.build b/data/meson.build
index b6c1dd5..5d1157c 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -23,10 +23,11 @@ foreach file: ['five-or-more.ui', 'five-or-more-preferences.ui', 'menu.ui']
 endforeach
 
 # Icons
-install_subdir('icons',
-  install_dir: join_paths(pkgdata_dir),
-  exclude_files: [ 'Makefile', 'Makefile.in', 'Makefile.am', 'five-or-more-src.svg' ],
-)
+foreach size: [ '16x16', '22x22', '24x24', '32x32', '48x48', '256x256', '512x512' ]
+    install_data (join_paths ('icons', 'hicolor', size, 'five-or-more.png'),
+                  install_dir: join_paths (data_dir, 'icons', 'hicolor', size, 'apps'))
+endforeach
+install_data (join_paths ('icons', 'hicolor', 'symbolic', 'five-or-more-symbolic.svg'),
 
 # Appdata
 i18n.merge_file(
@@ -40,7 +41,7 @@ i18n.merge_file(
 
 # Gschema
 install_data('org.gnome.five-or-more.gschema.xml',
-       install_dir: join_paths(pkgdata_dir, 'appdata')
+       install_dir: join_paths(data_dir, 'glib-2.0', 'schemas')
 )
 
 # Manpage


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