Compare commits

...

2 Commits

Author SHA1 Message Date
Davide Andreoli f378335b3f compiler warning -- 2023-12-10 07:32:26 +01:00
Davide Andreoli 3e8bd2202e Use a more recent meson to silence deprecations 2023-12-10 07:32:02 +01:00
5 changed files with 11 additions and 11 deletions

View File

@ -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

View File

@ -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 ####
@ -35,7 +35,7 @@ if get_option('nls')
cc = meson.get_compiler('c')
dep_intl = cc.find_library('intl', required : false)
subdir('po')
endif
endif
#### Edje cc ####
@ -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',

View File

@ -250,7 +250,7 @@ static void
_theme_load(void)
{
char *name;
char buf[15];
char buf[32];
int i = 1;
name = edje_file_data_get(population->conf->theme, "PopulationName");

View File

@ -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',

View File

@ -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',