This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository evisum.

View the commit online.

commit ada477ec6dea77e1105c758929a5687f21004315
Author: Alastair Poole <m...@alastairpoole.com>
AuthorDate: Tue Mar 11 20:41:24 2025 +0000

    meson: update for modern meson.build
    
    Remove deprecations.
    
    @fix
---
 data/themes/meson.build | 6 +++---
 meson.build             | 4 ++--
 src/bin/ui/meson.build  | 1 -
 3 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/data/themes/meson.build b/data/themes/meson.build
index b2467ae..84b8cd3 100644
--- a/data/themes/meson.build
+++ b/data/themes/meson.build
@@ -1,9 +1,9 @@
 edje_cmd = find_program('edje_cc')
 
 cmd = [ edje_cmd,
-       '-id', join_paths(meson.source_root(), 'data', 'images'),
-       '-id', join_paths(meson.source_root(), 'data', 'icons'),
-       '-sd', join_paths(meson.source_root(), 'data', 'sounds'),
+       '-id', join_paths(meson.project_source_root(), 'data', 'images'),
+       '-id', join_paths(meson.project_source_root(), 'data', 'icons'),
+       '-sd', join_paths(meson.project_source_root(), 'data', 'sounds'),
        '@INPUT@', '@OUTPUT@'
       ]
 
diff --git a/meson.build b/meson.build
index cd712c5..82b1681 100644
--- a/meson.build
+++ b/meson.build
@@ -1,7 +1,7 @@
 ##### Project
 project('evisum', 'c',
         version       : '0.6.2',
-        meson_version : '>= 0.40.0')
+        meson_version : '>= 0.56.0')
 
 efl_version = '>= 1.27.0'
 
@@ -43,7 +43,6 @@ else
   '''
   if cc.links(gettext_code)
     translate_enabled = true
-    message('Intl Support Enabled')
   endif
 endif
 
@@ -54,6 +53,7 @@ cfg.set_quoted('PACKAGE_VERSION', meson.project_version())
 cfg.set_quoted('PACKAGE_DATA_DIR', join_paths(dir_data, 'evisum'))
 
 if translate_enabled
+  message('Intl Support Enabled')
   subdir('po')
 endif
 
diff --git a/src/bin/ui/meson.build b/src/bin/ui/meson.build
index dfea382..21eb116 100644
--- a/src/bin/ui/meson.build
+++ b/src/bin/ui/meson.build
@@ -26,5 +26,4 @@ src += files([
    'ui_process_view.h',
    'ui_process_list.c',
    'ui_process_list.h',
-
 ])

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to