forked from psnszsn/wingpanel-layer-shell
-
Notifications
You must be signed in to change notification settings - Fork 0
/
meson.build
51 lines (43 loc) · 1.13 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
project(
'wingpanel',
'c', 'vala',
version: '3.0.0',
)
lib_version = '3.0.0'
add_project_arguments([
'--vapidir=' + join_paths(meson.source_root(), 'vapi'),
],
language: 'vala',
)
add_project_arguments([
'-DGETTEXT_PACKAGE="wingpanel"',
'-DG_LOG_DOMAIN="wingpanel"'
],
language: 'c'
)
indicators_dir = join_paths(get_option('prefix'), get_option('libdir'), 'wingpanel')
i18n = import('i18n')
gnome = import('gnome')
pkg = import('pkgconfig')
glib_dep = dependency('glib-2.0', version: '>=2.32')
gio_dep = dependency('gio-2.0')
gio_unix_dep = dependency('gio-unix-2.0')
gmodule_dep = dependency('gmodule-2.0')
gtk_dep = dependency('gtk+-3.0', version: '>=3.10')
gee_dep = dependency('gee-0.8')
granite_dep = dependency('granite', version: '>=5.4.0')
gtkls_dep = dependency('gtk-layer-shell-0')
subdir('data')
subdir('lib')
subdir('schemas')
subdir('src')
# subdir('wingpanel-interface')
if get_option('example')
subdir('sample')
endif
subdir('po')
vapigen = find_program('vapigen', required: false)
if vapigen.found()
subdir('vapi')
endif
meson.add_install_script('meson/post_install.py')