1fbdevsink_sources = [ 2 'gstfbdevsink.c', 3] 4 5if get_option('fbdev').disabled() 6 subdir_done() 7endif 8 9have_fb_h = cc.has_header('linux/fb.h') 10if not have_fb_h and get_option('fbdev').enabled() 11 error('fbdev plugin enabled but fb.h not found') 12endif 13 14if have_fb_h 15 gstfbdevsink = library('gstfbdevsink', 16 fbdevsink_sources, 17 c_args : gst_plugins_bad_args, 18 include_directories : [configinc], 19 dependencies : [gstbase_dep, gstvideo_dep], 20 install : true, 21 install_dir : plugins_install_dir, 22 ) 23 pkgconfig.generate(gstfbdevsink, install_dir : plugins_pkgconfig_install_dir) 24endif 25