v4l2src: Try to avoid TRY_FMT when camera is streaming
[platform/upstream/gst-plugins-good.git] / ext / soup / meson.build
1 soup_sources = [
2   'gstsouphttpsrc.c',
3   'gstsouphttpclientsink.c',
4   'gstsouputils.c',
5   'gstsoup.c',
6 ]
7
8 soup_args = [
9   '-DSOUP_VERSION_MIN_REQUIRED=SOUP_VERSION_2_48',
10   '-DSOUP_VERSION_MAX_ALLOWED=SOUP_DEPRECATED_IN_2_48',
11 ]
12
13 libsoup_dep = dependency('libsoup-2.4', version : '>=2.48', required : false)
14
15 if libsoup_dep.found()
16   gstsouphttpsrc = library('gstsoup',
17     soup_sources,
18     c_args : gst_plugins_good_args + soup_args,
19     link_args : noseh_link_args,
20     include_directories : [configinc, libsinc],
21     dependencies : [gst_dep, gstbase_dep, gsttag_dep, libsoup_dep],
22     install : true,
23     install_dir : plugins_install_dir,
24   )
25   pkgconfig.generate(gstsouphttpsrc, install_dir : plugins_pkgconfig_install_dir)
26 endif