-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmeson.build
37 lines (31 loc) · 996 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
project('vaccine', 'vala', 'c')
conf = configuration_data()
conf.set('package', 'Vaccine')
conf.set('version', '0.0.2')
deps = [
dependency('glib-2.0', version: '>=2.44'),
dependency('gobject-2.0'),
dependency('gtk+-3.0'),
dependency('json-glib-1.0'),
dependency('libsoup-2.4'),
dependency('gee-0.8'),
dependency('gstreamer-1.0'),
dependency('gstreamer-base-1.0'),
dependency('gtksourceview-3.0'),
meson.get_compiler('c').find_library('m', required: false)
]
gtksink = run_command('gst-inspect-1.0', 'gtksink')
if gtksink.returncode() != 0
error('you need gtksink')
endif
subdir('contrib')
subdir('data')
subdir('src')
executable('vaccine',
[src, res, bayes_glib],
dependencies: deps,
vala_args: [res_args, bayes_glib_args, json_glib_local_args],
include_directories: [config_inc, bayes_glib_inc],
c_args: '-w',
install: true)
meson.add_install_script('data/post-install.sh')