[gitg] meson: Properly install icons



commit e4c8a10b65a01eaca4b01edda076f8114ad1f827
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Wed Jun 6 08:57:30 2018 +0200

    meson: Properly install icons
    
    Use rename kwarg of install_data() and require meson 0.46.0

 data/icons/meson.build | 2 ++
 meson.build            | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/data/icons/meson.build b/data/icons/meson.build
index bf229ee3..b3dd24c4 100644
--- a/data/icons/meson.build
+++ b/data/icons/meson.build
@@ -10,11 +10,13 @@ icon_sizes = [
 foreach icon_size: icon_sizes
   install_data(
     '_'.join(['hicolor', 'apps', icon_size, 'gitg.png']),
+    rename: 'gitg.png',
     install_dir: join_paths(gitg_datadir, 'icons', 'hicolor', icon_size, 'apps')
   )
 endforeach
 
 install_data(
   '_'.join(['hicolor', 'apps', 'scalable', 'gitg-symbolic.svg']),
+  rename: 'gitg-symbolic.svg',
   install_dir: join_paths(gitg_datadir, 'icons', 'hicolor', 'scalable', 'apps')
 )
diff --git a/meson.build b/meson.build
index cb975bd0..861c840e 100644
--- a/meson.build
+++ b/meson.build
@@ -3,7 +3,7 @@ project(
   version: '3.26.0',
   license: 'GPL2+',
   default_options: 'buildtype=debugoptimized',
-  meson_version: '>= 0.43.0'
+  meson_version: '>= 0.46.0'
 )
 
 gitg_name = meson.project_name()


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