meson: build teletext plugin

This commit is contained in:
Tim-Philipp Müller 2018-12-16 20:02:07 +00:00 committed by Sebastian Dröge
parent cbf746782b
commit 986f6cac45
3 changed files with 16 additions and 1 deletions

View file

@ -51,7 +51,7 @@ subdir('soundtouch')
subdir('spandsp')
subdir('srt')
subdir('srtp')
#subdir('teletextdec')
subdir('teletextdec')
subdir('ttml')
subdir('voaacenc')
#subdir('voamrwbenc')

View file

@ -0,0 +1,14 @@
zvbi_dep = dependency('zvbi-0.2', required: get_option('teletext'))
if zvbi_dep.found()
gstteletext = library('gstteletext',
'gstteletextdec.c',
c_args: gst_plugins_bad_args,
link_args: noseh_link_args,
include_directories: [configinc],
dependencies: [gstvideo_dep, zvbi_dep],
install: true,
install_dir: plugins_install_dir,
)
pkgconfig.generate(gstteletext, install_dir: plugins_pkgconfig_install_dir)
endif

View file

@ -134,6 +134,7 @@ option('soundtouch', type : 'feature', value : 'auto', description : 'Audio pitc
option('spandsp', type : 'feature', value : 'auto', description : 'Packet loss concealment audio plugin')
option('srt', type : 'feature', value : 'auto', description : 'Secure, Reliable, Transport client/server network source/sink plugin')
option('srtp', type : 'feature', value : 'auto', description : 'Secure RTP codec plugin')
option('teletext', type : 'feature', value : 'auto', description : 'Teletext plugin')
option('tinyalsa', type : 'feature', value : 'auto', description : 'TinyALSA plugin')
option('ttml', type : 'feature', value : 'auto', description : 'TTML subtitle parser and renderer plugin')
option('uvch264', type : 'feature', value : 'auto', description : 'UVC compliant H.264 camera source plugin')