gstreamer/ext/webp/meson.build

21 lines
513 B
Meson
Raw Normal View History

webp_sources = [
'gstwebp.c',
'gstwebpdec.c',
'gstwebpenc.c',
]
webp_dep = dependency('libwebp', version : '>= 0.2.1', required : get_option('webp'))
if webp_dep.found()
gstwebp = library('gstwebp',
webp_sources,
c_args : gst_plugins_bad_args,
include_directories : [configinc],
dependencies : [gstvideo_dep, webp_dep],
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstwebp, install_dir : plugins_pkgconfig_install_dir)
2018-10-22 09:30:45 +00:00
plugins += [gstwebp]
endif