gstreamer/gst/typefind/meson.build
Tim-Philipp Müller 006f8cea96 typefindfunctions: build gio xdgmime typefinder again
And add gio-typefinder option to disable it. HAVE_GIO
was never set, at least not in the Meson build.
2019-12-09 07:33:55 +00:00

18 lines
634 B
Meson

typefindfunctions_extra_defs = []
typefindfunctions_extra_deps = []
if not get_option('gio-typefinder').disabled()
typefindfunctions_extra_defs += ['-DHAVE_GIO']
typefindfunctions_extra_deps += [gio_dep]
endif
gsttypefind = library('gsttypefindfunctions',
'gsttypefindfunctions.c',
c_args : gst_plugins_base_args + typefindfunctions_extra_defs,
include_directories: [configinc, libsinc],
dependencies : [pbutils_dep, gst_base_dep, typefindfunctions_extra_deps],
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gsttypefind, install_dir : plugins_pkgconfig_install_dir)
plugins += [gsttypefind]