Merging gst-plugins-bad
[platform/upstream/gstreamer.git] / ext / webp / meson.build
1 webp_sources = [
2   'gstwebp.c',
3   'gstwebpdec.c',
4   'gstwebpenc.c',
5 ]
6
7 webp_dep = dependency('libwebp', version : '>= 0.2.1', required : get_option('webp'))
8
9 if webp_dep.found()
10   gstwebp = library('gstwebp',
11     webp_sources,
12     c_args : gst_plugins_bad_args,
13     include_directories : [configinc],
14     dependencies : [gstvideo_dep, webp_dep],
15     install : true,
16     install_dir : plugins_install_dir,
17   )
18   pkgconfig.generate(gstwebp, install_dir : plugins_pkgconfig_install_dir)
19   plugins += [gstwebp]
20 endif