-
Notifications
You must be signed in to change notification settings - Fork 0
/
meson.build
48 lines (42 loc) · 1.32 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
project('io.elementary.initial-setup', 'vala', 'c')
add_global_arguments('-DGETTEXT_PACKAGE="' + meson.project_name() + '"', language:'c')
add_project_arguments(['--vapidir', join_paths(meson.current_source_dir(), 'vapi')],
language: 'vala')
gnome = import('gnome')
i18n = import('i18n')
accountservice_dep = dependency('accountsservice')
gee_dep = dependency('gee-0.8')
glib_dep = dependency('glib-2.0')
gnome_keyboard_dep = dependency('libgnomekbd')
gnome_keyboard_ui_dep = meson.get_compiler('c').find_library('libgnomekbdui')
gobject_dep = dependency('gobject-2.0')
granite_dep = dependency('granite', version: '>=0.5')
gtk_dep = dependency('gtk+-3.0')
json_glib_dep = dependency('json-glib-1.0')
polkit_dep = dependency('polkit-gobject-1')
posix_dep = meson.get_compiler('vala').find_library('posix')
pwquality_dep = dependency('pwquality')
xml2_dep = dependency('libxml-2.0')
dependencies = [
accountservice_dep,
gee_dep,
glib_dep,
gnome_keyboard_dep,
gnome_keyboard_ui_dep,
gobject_dep,
granite_dep,
gtk_dep,
json_glib_dep,
polkit_dep,
posix_dep,
pwquality_dep,
xml2_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')