-
Notifications
You must be signed in to change notification settings - Fork 0
/
meson.build
49 lines (43 loc) · 1.55 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
project('gst-debugger', 'c', 'cpp',
license: 'GPL',
version: '0.90.0',
meson_version: '>= 0.40.1',
default_options: [
'cpp_std=c++11',
'warning_level=1',
],
)
apiversion = '0.90'
gst_apiversion = '1.0'
# Modules
gnome = import('gnome')
# Dependencies
glib_version = '2.41.1'
protobuf_c_version = '1.1.1'
gstreamer_version = '1.8.0'
glib_dep_version = '>=@0@'.format(glib_version)
gmoduledep = dependency('gmodule-2.0', version : glib_dep_version)
gio_dep = dependency('gio-2.0', version : glib_dep_version)
gst_dep = dependency('gstreamer-1.0', version : '>=@0@'.format(gstreamer_version))
gstmm_dep = dependency('gstreamermm-1.0')
gtkmm_dep = dependency('gtkmm-3.0', version : '>=3.14.0')
x11_dep = dependency('x11')
gvc_dep = dependency('libgvc', version : '>=2.38')
libprotobuf_c_dep = dependency('libprotobuf-c', version : '>=@0@'.format(protobuf_c_version))
protobuf_dep = dependency('protobuf', version : '>=2.6.1')
boost_dep = dependency('boost', modules : ['filesystem', 'system'], version : '>=1.55')
thread_dep = dependency('threads')
# Dependency apps
protoc_c = find_program('protoc-c')
# Configuration file
conf = configuration_data()
conf.set_quoted('PACKAGE_NAME', 'gnome-paint')
conf.set_quoted('VERSION', meson.project_version())
conf.set_quoted('GST_DEBUGGER_LOCALEDIR', join_paths(get_option('prefix'), get_option('datadir'), 'locale'))
conf.set('GETTEXT_PACKAGE', 'PACKAGE_NAME')
configure_file(output : 'config.h',
configuration : conf)
config_inc_dir = include_directories('.')
# Subdirectories
subdir('src')
subdir('po')