Compare commits
2 Commits
b51262749c
...
f378335b3f
Author | SHA1 | Date |
---|---|---|
Davide Andreoli | f378335b3f | |
Davide Andreoli | 3e8bd2202e |
4
INSTALL
4
INSTALL
|
@ -1,6 +1,6 @@
|
||||||
To build using meson
|
To build using meson
|
||||||
====================
|
====================
|
||||||
meson build
|
meson setup build
|
||||||
cd build
|
cd build
|
||||||
ninja
|
ninja
|
||||||
ninja install
|
ninja install
|
||||||
|
@ -8,7 +8,7 @@ ninja install
|
||||||
|
|
||||||
Or without chdir
|
Or without chdir
|
||||||
================
|
================
|
||||||
meson build
|
meson setup build
|
||||||
ninja -C build
|
ninja -C build
|
||||||
ninja -C build install
|
ninja -C build install
|
||||||
|
|
||||||
|
|
12
meson.build
12
meson.build
|
@ -3,16 +3,16 @@
|
||||||
project('penguins', 'c',
|
project('penguins', 'c',
|
||||||
version: '1.0.0',
|
version: '1.0.0',
|
||||||
license: 'GPL v3',
|
license: 'GPL v3',
|
||||||
meson_version: '>= 0.47.0')
|
meson_version: '>= 0.58.0')
|
||||||
|
|
||||||
gettext_domain = 'e-module-' + meson.project_name()
|
gettext_domain = 'e-module-' + meson.project_name()
|
||||||
|
|
||||||
|
|
||||||
#### Enlightenemnt ####
|
#### Enlightenemnt ####
|
||||||
dep_e = dependency('enlightenment', version: '>= 0.23.99')
|
dep_e = dependency('enlightenment', version: '>= 0.23.99')
|
||||||
e_modules_dir = dep_e.get_pkgconfig_variable('modules')
|
e_modules_dir = dep_e.get_variable('modules')
|
||||||
e_release = dep_e.get_pkgconfig_variable('release')
|
e_release = dep_e.get_variable('release')
|
||||||
e_module_arch = dep_e.get_pkgconfig_variable('module_arch')
|
e_module_arch = dep_e.get_variable('module_arch')
|
||||||
|
|
||||||
|
|
||||||
#### Install dirs ####
|
#### Install dirs ####
|
||||||
|
@ -35,7 +35,7 @@ if get_option('nls')
|
||||||
cc = meson.get_compiler('c')
|
cc = meson.get_compiler('c')
|
||||||
dep_intl = cc.find_library('intl', required : false)
|
dep_intl = cc.find_library('intl', required : false)
|
||||||
subdir('po')
|
subdir('po')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
#### Edje cc ####
|
#### Edje cc ####
|
||||||
|
@ -58,7 +58,7 @@ configure_file(output: 'penguins_config.h', configuration: config_h)
|
||||||
install_data('module.desktop', install_dir: mod_install_dir)
|
install_data('module.desktop', install_dir: mod_install_dir)
|
||||||
|
|
||||||
cmd = [ edje_cc,
|
cmd = [ edje_cc,
|
||||||
'-id', join_paths(meson.source_root(), 'images'),
|
'-id', join_paths(meson.project_source_root(), 'images'),
|
||||||
'@INPUT@', '@OUTPUT@']
|
'@INPUT@', '@OUTPUT@']
|
||||||
custom_target('e-module-penguins.edj',
|
custom_target('e-module-penguins.edj',
|
||||||
input : 'e-module-penguins.edc',
|
input : 'e-module-penguins.edc',
|
||||||
|
|
|
@ -250,7 +250,7 @@ static void
|
||||||
_theme_load(void)
|
_theme_load(void)
|
||||||
{
|
{
|
||||||
char *name;
|
char *name;
|
||||||
char buf[15];
|
char buf[32];
|
||||||
int i = 1;
|
int i = 1;
|
||||||
|
|
||||||
name = edje_file_data_get(population->conf->theme, "PopulationName");
|
name = edje_file_data_get(population->conf->theme, "PopulationName");
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
theme_name = 'default'
|
theme_name = 'default'
|
||||||
|
|
||||||
command = [edje_cc,
|
command = [edje_cc,
|
||||||
'-id', join_paths(meson.source_root(), 'themes', theme_name),
|
'-id', join_paths(meson.project_source_root(), 'themes', theme_name),
|
||||||
'@INPUT@', '@OUTPUT@']
|
'@INPUT@', '@OUTPUT@']
|
||||||
|
|
||||||
custom_target(theme_name + '.edj',
|
custom_target(theme_name + '.edj',
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
theme_name = 'lemmings'
|
theme_name = 'lemmings'
|
||||||
|
|
||||||
command = [edje_cc,
|
command = [edje_cc,
|
||||||
'-id', join_paths(meson.source_root(), 'themes', theme_name),
|
'-id', join_paths(meson.project_source_root(), 'themes', theme_name),
|
||||||
'@INPUT@', '@OUTPUT@']
|
'@INPUT@', '@OUTPUT@']
|
||||||
|
|
||||||
custom_target(theme_name + '.edj',
|
custom_target(theme_name + '.edj',
|
||||||
|
|
Loading…
Reference in New Issue