gstreamer/ext/dvdread/meson.build
Sebastian Dröge 8c994a632b meson: Always require the gmodule dependency
It's needed by the dvdread plugin but also by the x264 plugin in certain
circumstances. As it's part of GLib and always available, simply move it
as a hard dependency to the top-level meson.build.
2019-04-22 12:51:33 +03:00

13 lines
472 B
Meson

dvdread_dep = dependency('dvdread', version : '>= 0.5.0', required : get_option('dvdread'))
if gmodule_dep.found() and dvdread_dep.found()
dvdread = library('gstdvdread',
['dvdreadsrc.c'],
c_args : ugly_args,
include_directories : [configinc, libsinc],
dependencies : [gstbase_dep, gmodule_dep, dvdread_dep],
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(dvdread, install_dir : plugins_pkgconfig_install_dir)
endif