blob: b162c150cb36eccf1ae2353875a0bcd7de461b33 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
project('mozo',
version : '1.23.0',
meson_version: '>= 0.47.0'
)
i18n = import('i18n')
python = import('python')
py3 = find_program('python3', required:true)
dependency('libmate-menu', version: '>= 1.21.0')
dependency('pygobject-3.0')
prefix = get_option('prefix')
datadir = join_paths(prefix, get_option('datadir'))
mozo_in = configuration_data()
mozo_in.set('PYTHON', py3.path())
mozo_in.set('PYOPTIONS', '-OOt')
mozo = configure_file(input: 'mozo.in',
output: 'mozo',
configuration: mozo_in,
)
install_data(mozo,
install_mode: 'rwxr-xr-x',
install_dir: get_option('bindir')
)
subdir('po')
subdir('Mozo')
subdir('data')
meson.add_install_script('post_install.py')
|