1jpeg_sources = [ 2 'gstjpeg.c', 3 'gstjpegplugin.c', 4 'gstjpegenc.c', 5 'gstjpegdec.c', 6] 7 8jpeglib = dependency('libjpeg', required : get_option('jpeg'), 9 fallback: ['libjpeg-turbo', 'jpeg_dep']) 10 11if jpeglib.found() 12 gstjpeg = library('gstjpeg', 13 jpeg_sources, 14 c_args : gst_plugins_good_args, 15 link_args : noseh_link_args, 16 include_directories : [configinc, libsinc], 17 dependencies : [gst_dep, gstbase_dep, gstvideo_dep, jpeglib, libm], 18 install : true, 19 install_dir : plugins_install_dir, 20 ) 21 pkgconfig.generate(gstjpeg, install_dir : plugins_pkgconfig_install_dir) 22 plugins += [gstjpeg] 23endif 24