forked from elementary/notifications
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmeson.build
38 lines (32 loc) · 1022 Bytes
/
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
project('io.elementary.notifications', 'vala', 'c')
gnome = import('gnome')
i18n = import('i18n')
add_global_arguments('-DGETTEXT_PACKAGE="@0@"'.format (meson.project_name()), language:'c')
add_project_arguments(['--vapidir', join_paths(meson.current_source_dir(), 'vapi')], language: 'vala')
css_gresource = gnome.compile_resources(
'css-resource',
join_paths('data', 'notifications.gresource.xml'),
source_dir: 'data'
)
executable(
meson.project_name(),
'src/AbstractBubble.vala',
'src/Application.vala',
'src/Bubble.vala',
'src/Confirmation.vala',
'src/DBus.vala',
'src/Widgets/MaskedImage.vala',
css_gresource,
dependencies: [
dependency ('libcanberra'),
dependency ('libcanberra-gtk3'),
dependency ('glib-2.0'),
dependency ('gobject-2.0'),
dependency ('granite', version: '>=5.4.0'),
dependency ('gtk+-3.0'),
],
install : true
)
subdir('data')
subdir('po')
meson.add_install_script('meson/post_install.py')