forked from amzn/amazon-s3-gst-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
meson.build
35 lines (26 loc) · 1.12 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
project('amazon-s3-gst-plugin', 'c', 'cpp',
version : '0.1.0',
default_options : [ 'warning_level=2',
'buildtype=debugoptimized' ])
gst_req = '>= 1.0.0'
aws_cpp_sdk_req = '>= 1.7.202'
gst_s3_version = meson.project_version()
apiversion = '1.0'
glib_dep = dependency('glib-2.0')
gst_dep = dependency('gstreamer-1.0', version : gst_req,
fallback : ['gstreamer', 'gst_dep'])
gst_base_dep = dependency('gstreamer-base-1.0', version : gst_req,
fallback : ['gstreamer', 'gst_base_dep'])
gst_check_dep = dependency('gstreamer-check-1.0', version : gst_req,
fallback : ['gstreamer', 'gst_check_dep'])
aws_cpp_sdk_s3_dep = dependency('aws-cpp-sdk-s3', version : aws_cpp_sdk_req)
aws_cpp_sdk_sts_dep = dependency('aws-cpp-sdk-sts', version : aws_cpp_sdk_req)
configinc = include_directories('.')
plugins_install_dir = join_paths(get_option('libdir'), 'gstreamer-1.0')
core_conf = configuration_data()
core_conf.set_quoted('VERSION', gst_s3_version)
core_conf.set_quoted('PACKAGE', 'amazon-s3-gst-plugin')
configure_file(output : 'config.h', configuration : core_conf)
subdir('src')
subdir('tests')
subdir('pkgconfig')