-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmeson.build
More file actions
46 lines (38 loc) · 1.07 KB
/
meson.build
File metadata and controls
46 lines (38 loc) · 1.07 KB
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
35
36
37
38
39
40
41
42
43
44
45
46
project(
'openemail',
version: '0.1.0',
meson_version: '>= 1.0.0',
default_options: ['warning_level=2', 'werror=false'],
)
dependency('gtk4', version: '>= 4.18.0')
dependency('libadwaita-1', version: '>= 1.7')
i18n = import('i18n')
gnome = import('gnome')
python = import('python')
py_installation = python.find_installation('python3')
pkgdatadir = get_option('prefix') / get_option('datadir') / meson.project_name()
localedir = get_option('prefix') / get_option('localedir')
bindir = get_option('bindir')
profile = 'release'
app_id = 'com.mercata.OpenEmail'
prefix = '/com/mercata/OpenEmail'
conf = configuration_data(
{
'PYTHON': py_installation.full_path(),
'APP_ID': app_id,
'VERSION': meson.project_version(),
'PREFIX': prefix,
'PROFILE': profile,
'PKGDATADIR': pkgdatadir,
'LOCALEDIR': localedir,
'BINDIR': bindir,
},
)
subdir('data')
subdir('openemail')
subdir('po')
gnome.post_install(
glib_compile_schemas: true,
gtk_update_icon_cache: true,
update_desktop_database: true,
)