-
-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy pathmeson.build
54 lines (46 loc) · 1.28 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
54
project(
'io.elementary.dock',
'vala', 'c',
version: '8.0.2',
meson_version: '>=0.58'
)
cc = meson.get_compiler('c')
vala = meson.get_compiler('vala')
gnome = import('gnome')
i18n = import('i18n')
add_global_arguments('-DGETTEXT_PACKAGE="@0@"'.format (meson.project_name()), language:'c')
glib_version = '2.74'
gee_dep = dependency('gee-0.8')
gio_dep = dependency('gio-2.0', version: '>=@0@'.format(glib_version))
gio_unix_dep = dependency('gio-unix-2.0', version: '>=@0@'.format(glib_version))
glib_dep = dependency('glib-2.0', version: '>=@0@'.format(glib_version))
gobject_dep = dependency('gobject-2.0', version: '>=@0@'.format(glib_version))
gtk_dep = dependency('gtk4')
gtk_wayland_dep = dependency('gtk4-wayland')
gtk_x11_dep = dependency('gtk4-x11')
x11_dep = dependency('x11')
granite_dep = dependency('granite-7')
adw_dep = dependency('libadwaita-1')
m_dep = cc.find_library('m')
wl_client_dep = dependency('wayland-client')
subdir('protocol')
dependencies = [
gee_dep,
gio_dep,
gio_unix_dep,
glib_dep,
gobject_dep,
gtk_dep,
gtk_wayland_dep,
gtk_x11_dep,
x11_dep,
granite_dep,
adw_dep,
m_dep,
wl_client_dep,
pantheon_desktop_shell_dep
]
gnome.post_install(glib_compile_schemas: true)
subdir('data')
subdir('po')
subdir('src')