-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathmeson.build
53 lines (43 loc) · 1.15 KB
/
meson.build
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
47
48
49
50
51
52
53
project(
'reminders',
version: '5.0',
meson_version: '>= 0.59',
default_options: ['prefix=/usr']
)
dependency('glib-2.0')
dependency('pygobject-3.0')
dependency('libadwaita-1')
release_type = get_option('release-type')
app_executable = meson.project_name()
base_app_id = 'io.github.remindersdevs.Reminders'
beta_app_id = base_app_id + '.Beta'
devel_app_id = base_app_id + '.Devel'
base_path = '/io/github/remindersdevs/Reminders'
beta_path = base_path + '/Beta'
devel_path = base_path + '/Devel'
if release_type == 'beta'
app_id = beta_app_id
path = beta_path
elif release_type == 'devel'
app_id = devel_app_id
path = devel_path
else
app_id = base_app_id
path = base_path
endif
service_executable = app_executable + '-service'
service_id = app_id + '.Service'
service_interface = service_id
service_object = path + '/Service'
i18n = import('i18n')
localedir = get_option('localedir')
gnome = import('gnome')
python = import('python').find_installation('python3')
subdir('po')
subdir('data')
subdir('src')
gnome.post_install(
glib_compile_schemas: true,
gtk_update_icon_cache: true,
update_desktop_database: true,
)