Use a more recent meson to silence deprecations
This commit is contained in:
parent
b51262749c
commit
3e8bd2202e
4
INSTALL
4
INSTALL
|
@ -1,6 +1,6 @@
|
|||
To build using meson
|
||||
====================
|
||||
meson build
|
||||
meson setup build
|
||||
cd build
|
||||
ninja
|
||||
ninja install
|
||||
|
@ -8,7 +8,7 @@ ninja install
|
|||
|
||||
Or without chdir
|
||||
================
|
||||
meson build
|
||||
meson setup build
|
||||
ninja -C build
|
||||
ninja -C build install
|
||||
|
||||
|
|
10
meson.build
10
meson.build
|
@ -3,16 +3,16 @@
|
|||
project('penguins', 'c',
|
||||
version: '1.0.0',
|
||||
license: 'GPL v3',
|
||||
meson_version: '>= 0.47.0')
|
||||
meson_version: '>= 0.58.0')
|
||||
|
||||
gettext_domain = 'e-module-' + meson.project_name()
|
||||
|
||||
|
||||
#### Enlightenemnt ####
|
||||
dep_e = dependency('enlightenment', version: '>= 0.23.99')
|
||||
e_modules_dir = dep_e.get_pkgconfig_variable('modules')
|
||||
e_release = dep_e.get_pkgconfig_variable('release')
|
||||
e_module_arch = dep_e.get_pkgconfig_variable('module_arch')
|
||||
e_modules_dir = dep_e.get_variable('modules')
|
||||
e_release = dep_e.get_variable('release')
|
||||
e_module_arch = dep_e.get_variable('module_arch')
|
||||
|
||||
|
||||
#### Install dirs ####
|
||||
|
@ -58,7 +58,7 @@ configure_file(output: 'penguins_config.h', configuration: config_h)
|
|||
install_data('module.desktop', install_dir: mod_install_dir)
|
||||
|
||||
cmd = [ edje_cc,
|
||||
'-id', join_paths(meson.source_root(), 'images'),
|
||||
'-id', join_paths(meson.project_source_root(), 'images'),
|
||||
'@INPUT@', '@OUTPUT@']
|
||||
custom_target('e-module-penguins.edj',
|
||||
input : 'e-module-penguins.edc',
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
theme_name = 'default'
|
||||
|
||||
command = [edje_cc,
|
||||
'-id', join_paths(meson.source_root(), 'themes', theme_name),
|
||||
'-id', join_paths(meson.project_source_root(), 'themes', theme_name),
|
||||
'@INPUT@', '@OUTPUT@']
|
||||
|
||||
custom_target(theme_name + '.edj',
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
theme_name = 'lemmings'
|
||||
|
||||
command = [edje_cc,
|
||||
'-id', join_paths(meson.source_root(), 'themes', theme_name),
|
||||
'-id', join_paths(meson.project_source_root(), 'themes', theme_name),
|
||||
'@INPUT@', '@OUTPUT@']
|
||||
|
||||
custom_target(theme_name + '.edj',
|
||||
|
|
Loading…
Reference in New Issue