v4l2: Fix undefined reference error when libv4l2 is not used
[platform/upstream/gst-plugins-good.git] / ext / gdk_pixbuf / meson.build
1 pixbuf_sources = [
2   'gstgdkpixbufdec.c',
3   'gstgdkpixbufoverlay.c',
4   'gstgdkpixbufplugin.c',
5   'gstgdkpixbufsink.c',
6 ]
7
8 gdkpixbuf_dep = dependency('gdk-pixbuf-2.0', version : '>=2.8.0', required : get_option('gdk-pixbuf'))
9
10 if gdkpixbuf_dep.found()
11   gstgdkpixbuf = library('gstgdkpixbuf',
12     pixbuf_sources,
13     c_args : gst_plugins_good_args,
14     link_args : noseh_link_args,
15     include_directories : [configinc],
16     dependencies : [gstbase_dep, gstvideo_dep, gstcontroller_dep, gdkpixbuf_dep],
17     install : true,
18     install_dir : plugins_install_dir,
19   )
20   pkgconfig.generate(gstgdkpixbuf, install_dir : plugins_pkgconfig_install_dir)
21 endif