6 theoradec_dep = dependency('theoradec', version : '>=1.1', required : get_option('theora'))
7 theoraenc_dep = dependency('theoraenc', version : '>=1.1', required : get_option('theora'))
8 core_conf.set('HAVE_THEORA', theoradec_dep.found() and theoraenc_dep.found())
11 if theoradec_dep.found() or theoraenc_dep.found()
12 if theoradec_dep.found()
13 theora_sources += [ 'gsttheoradec.c' ]
14 theora_deps += theoradec_dep
16 if theoraenc_dep.found()
17 theora_sources += [ 'gsttheoraenc.c' ]
18 theora_deps += theoraenc_dep
20 gsttheora = library('gsttheora',
22 c_args : gst_plugins_base_args,
23 link_args : noseh_link_args,
24 include_directories: [configinc, libsinc],
25 dependencies : theora_deps + glib_deps + [video_dep, tag_dep, gst_dep, gst_base_dep],
27 install_dir : plugins_install_dir,
29 pkgconfig.generate(gsttheora, install_dir : plugins_pkgconfig_install_dir)