diff --git a/ext/meson.build b/ext/meson.build index ae46aec8ea..867844934b 100644 --- a/ext/meson.build +++ b/ext/meson.build @@ -51,7 +51,7 @@ subdir('soundtouch') subdir('spandsp') subdir('srt') subdir('srtp') -#subdir('teletextdec') +subdir('teletextdec') subdir('ttml') subdir('voaacenc') #subdir('voamrwbenc') diff --git a/ext/teletextdec/meson.build b/ext/teletextdec/meson.build new file mode 100644 index 0000000000..9ec094a52d --- /dev/null +++ b/ext/teletextdec/meson.build @@ -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 diff --git a/meson_options.txt b/meson_options.txt index b240b6ea36..c90e607549 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -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')