-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
meson.build
50 lines (42 loc) · 1.1 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
project(
'io.elementary.onboarding',
'vala', 'c',
version: '8.0.3',
meson_version: '>= 0.57'
)
add_global_arguments(
'-DGETTEXT_PACKAGE="' + meson.project_name() + '"',
language:'c'
)
gnome = import('gnome')
i18n = import('i18n')
cc = meson.get_compiler('c')
gee_dep = dependency('gee-0.8')
glib_dep = dependency('glib-2.0', version: '>=2.64.0')
gobject_dep = dependency('gobject-2.0')
granite_dep = dependency('granite-7')
gtk_dep = dependency('gtk4', version: '>= 4.10')
posix_dep = meson.get_compiler('vala').find_library('posix')
adw_dep = dependency('libadwaita-1', version: '>= 1.4.0')
m_dep = cc.find_library('m', required : false)
pantheon_wayland_dep = dependency('pantheon-wayland-1')
dependencies = [
gee_dep,
glib_dep,
gobject_dep,
granite_dep,
gtk_dep,
posix_dep,
adw_dep,
m_dep,
pantheon_wayland_dep
]
asresources = gnome.compile_resources(
'as-resources', 'data/' + meson.project_name() + '.gresource.xml',
source_dir: 'data',
c_name: 'as'
)
subdir('po')
subdir('src')
subdir('data')
gnome.post_install(glib_compile_schemas: true)