mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 17:50:36 +00:00
b55dfb5313
The only plugins remaining are those that haven't been ported to Meson yet, and msdk. Also, the tests are still automagic. https://bugzilla.gnome.org/show_bug.cgi?id=795107
19 lines
490 B
Meson
19 lines
490 B
Meson
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)
|
|
endif
|