+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,
+ c_args : gst_plugins_base_args + typefindfunctions_extra_defs,
include_directories: [configinc, libsinc],
- dependencies : [pbutils_dep, gst_base_dep],
+ dependencies : [pbutils_dep, gst_base_dep, typefindfunctions_extra_deps],
install : true,
install_dir : plugins_install_dir,
)
option('compositor', type : 'feature', value : 'auto')
option('encoding', type : 'feature', value : 'auto')
option('gio', type : 'feature', value : 'auto')
+option('gio-typefinder', type : 'feature', value : 'auto')
option('overlaycomposition', type : 'feature', value : 'auto')
option('pbtypes', type : 'feature', value : 'auto')
option('playback', type : 'feature', value : 'auto')
option('package-origin', type : 'string', value : 'Unknown package origin', yield : true,
description : 'package origin URL to use in plugins')
option('doc', type : 'feature', value : 'auto', yield: true,
- description: 'Enable documentation.')
\ No newline at end of file
+ description: 'Enable documentation.')