forked from pop-os/installer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
meson.build
45 lines (39 loc) · 1.23 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
project('io.elementary.installer', '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')
add_project_arguments(['--pkg', 'posix'], language: 'vala')
gnome = import('gnome')
i18n = import('i18n')
distinst_dep = dependency('distinst')
glib_dep = dependency('glib-2.0')
gobject_dep = dependency('gobject-2.0')
gtk_dep = dependency('gtk+-3.0')
gee_dep = dependency('gee-0.8')
granite_dep = dependency('granite', version: '>=0.5')
json_glib_dep = dependency('json-glib-1.0')
xml2_dep = dependency('libxml-2.0')
gnome_keyboard_dep = dependency('libgnomekbd')
gnome_keyboard_ui_dep = meson.get_compiler('c').find_library('libgnomekbdui')
pwquality_dep = dependency('pwquality')
dependencies = [
distinst_dep,
gee_dep,
glib_dep,
gnome_keyboard_dep,
gnome_keyboard_ui_dep,
gobject_dep,
granite_dep,
gtk_dep,
json_glib_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')