-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmeson.build
33 lines (30 loc) · 854 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
project('rtsp2hls', 'cpp',
default_options: [
'cpp_std=c++14'
]
)
lhls_service_sources = [
'input' / 'rtsp-input.cpp',
'hls' / 'base-segment.cpp',
'hls' / 'partial-segment.cpp',
'hls' / 'segment.cpp',
'hls' / 'output.cpp',
'http' / 'file-endpoint.cpp',
'http' / 'api.cpp',
'main.cpp'
]
config = configuration_data()
config.set_quoted('APPLICATION_NAME', 'RTSP-to-HLS Demo')
config.set('PLAYLIST_CHUNK_SIZE', 4096)
config.set_quoted('UI_SOURCE_PATH', meson.current_source_dir() / 'ui')
configure_file(output: 'config.h', configuration: config)
executable('rtsp2hls',
lhls_service_sources,
dependencies: [
dependency('zlib'),
dependency('libsoup-2.4'),
dependency('gstreamer-1.0'),
dependency('gstreamer-app-1.0'),
dependency('gstreamer-video-1.0')
]
)