[meld] Update meson resource build to use top-level-relative paths



commit 6948d4234ee44565617b9c87c2a3159c14d62473
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Tue Jun 16 08:05:20 2020 +1000

    Update meson resource build to use top-level-relative paths
    
    The update to newer (though still quite old) Meson is only for the nicer
    `/` syntax for path construction.

 meld/resources/meson.build | 4 ++--
 meson.build                | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/meld/resources/meson.build b/meld/resources/meson.build
index 98e47059..89b26595 100644
--- a/meld/resources/meson.build
+++ b/meld/resources/meson.build
@@ -4,8 +4,8 @@ gnome.compile_resources(
   gresource_bundle: true,
   source_dir: [
     meson.current_build_dir(),
-    meson.current_source_dir() + '/../../data/icons/hicolor'
-    ],
+    meson.source_root() / 'data' / 'icons' / 'hicolor',
+  ],
   install_dir: pkgdatadir,
   install: true,
 )
diff --git a/meson.build b/meson.build
index db658029..2324fd27 100644
--- a/meson.build
+++ b/meson.build
@@ -1,7 +1,7 @@
 project(
     'meld',
     version: '3.21.0',
-    meson_version: '>=0.47.0',
+    meson_version: '>=0.49.0',
 )
 
 python = import('python')


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