forked from RicinApp/Ricin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
meson.build
43 lines (37 loc) · 1021 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
39
40
41
42
43
# vim: set ft=python
project('Ricin',
'vala',
'c', # compiling vala requires a C compiler
)
gnome = import('gnome')
deps = [
dependency('glib-2.0', version: '>=2.38'),
dependency('gio-2.0'),
dependency('gobject-2.0'),
dependency('gmodule-2.0'),
dependency('gtk+-3.0'),
dependency('libsoup-2.4'),
dependency('json-glib-1.0'),
dependency('libnotify'),
dependency('libtoxcore'),
dependency('libconfig'),
dependency('libsodium')
]
subdir('src')
subdir('res')
# GetText stuff.
add_global_arguments('-DGETTEXT_PACKAGE="ricin"', language : 'c')
subdir('po')
executable(
'Ricin',
sources: [ src, res ],
dependencies: deps,
vala_args: [
'-g',
'--gresources', resxml,
'--vapidir', '@0@/@1@'.format(meson.current_source_dir(), 'tox-vapi/vapi/'),
],
install: true
)
install_data('misc/ricin.desktop', install_dir: '/usr/share/applications/')
install_data('res/images/icons/Ricin-128x128.png', install_dir: '/usr/share/icons/')