11 if host_system == 'windows'
15 bluez_dep = dependency('bluez', version : '>= 5.0', required : get_option('bluez'))
16 gio_unix_dep = dependency('gio-unix-2.0', required : get_option('bluez'))
18 if bluez_dep.found() and gio_unix_dep.found()
19 bluez_ch = gnome.gdbus_codegen('bluez',
20 sources : 'org.bluez.xml',
21 interface_prefix : 'org.bluez',
24 gstbluez = library('gstbluez',
25 bluez_sources, bluez_ch,
26 c_args : gst_plugins_bad_args,
27 include_directories : [configinc],
28 dependencies : [gstaudio_dep, gstrtp_dep, gstbase_dep, gio_unix_dep, bluez_dep],
30 install_dir : plugins_install_dir,
32 pkgconfig.generate(gstbluez, install_dir : plugins_pkgconfig_install_dir)