forked from phastmike/tags
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmeson.build
More file actions
29 lines (23 loc) · 803 Bytes
/
Copy pathmeson.build
File metadata and controls
29 lines (23 loc) · 803 Bytes
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
project('io.github.phastmike.tags', ['c', 'vala'],
version: '2.1',
meson_version: '>= 0.49.0',
default_options: [ 'warning_level=2',
],
)
application_id = meson.project_name()
#application_id = 'io.github.phastmike.tags'
i18n = import('i18n')
conf_data = configuration_data()
conf_data.set_quoted('APPLICATION_ID', application_id)
conf_data.set_quoted('VERSION', meson.project_version())
conf_data.set_quoted('GETTEXT_PACKAGE', application_id)
conf_data.set_quoted('LOCALEDIR', join_paths(get_option('prefix'), get_option('localedir')))
config_file = configure_file(
input : 'src/config.vala.in',
output : 'config.vala',
configuration : conf_data
)
subdir('po')
subdir('data')
subdir('src')
meson.add_install_script('build-aux/meson/postinstall.py')