Add building via meson, remove outdated options
Co-authored-by: Thulinma <jaron@vietors.com> Change-Id: I2a620c8d98aca7203f6742c66c3f82afe91b5c3c
This commit is contained in:
parent
ca9724f1f8
commit
529adbfaf6
23 changed files with 855 additions and 82 deletions
40
src/analysers/meson.build
Normal file
40
src/analysers/meson.build
Normal file
|
@ -0,0 +1,40 @@
|
|||
|
||||
analysers = [
|
||||
{'name': 'RTMP', 'format': 'rtmp'},
|
||||
{'name': 'FLV', 'format': 'flv'},
|
||||
{'name': 'DTSC', 'format': 'dtsc'},
|
||||
{'name': 'OGG', 'format': 'ogg'},
|
||||
{'name': 'EBML', 'format': 'ebml'},
|
||||
{'name': 'TS', 'format': 'ts'},
|
||||
{'name': 'MP4', 'format': 'mp4'},
|
||||
{'name': 'H264', 'format': 'h264'},
|
||||
{'name': 'HLS', 'format': 'hls'},
|
||||
{'name': 'RIFF', 'format': 'riff'},
|
||||
{'name': 'RTSP', 'format': 'rtsp'},
|
||||
]
|
||||
|
||||
foreach analyser : analysers
|
||||
executables += { 'name': 'MistAnalyser'+analyser.get('name'),
|
||||
'sources' : [
|
||||
files('mist_analyse.cpp',
|
||||
'analyser.cpp',
|
||||
'analyser_'+analyser.get('format')+'.cpp'),
|
||||
header_tgts,
|
||||
],
|
||||
'link': libmist,
|
||||
'defines': [
|
||||
string_opt.format('ANALYSERHEADER', 'analyser_'+analyser.get('format')+'.h'),
|
||||
'-DANALYSERTYPE=Analyser'+analyser.get('name')
|
||||
],
|
||||
'deps': []
|
||||
}
|
||||
endforeach
|
||||
|
||||
executables += {
|
||||
'name': 'MistTranslateH264',
|
||||
'sources' : [files('h264_translate.cpp'), header_tgts],
|
||||
'link': libmist,
|
||||
'defines': [],
|
||||
'deps' : []
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue