| 
									
										
										
										
											2018-09-22 17:37:19 +07:00
										 |  |  | libbluez5_util_sources = [
 | 
					
						
							| 
									
										
										
										
											2019-04-12 16:05:51 +03:00
										 |  |  |   'a2dp-codec-sbc.c',
 | 
					
						
							|  |  |  |   'a2dp-codec-util.c',
 | 
					
						
							| 
									
										
										
										
											2018-09-22 17:37:19 +07:00
										 |  |  |   'bluez5-util.c',
 | 
					
						
							|  |  |  | ]
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | libbluez5_util_headers = [
 | 
					
						
							| 
									
										
										
										
											2019-04-12 16:05:51 +03:00
										 |  |  |   'a2dp-codec-api.h',
 | 
					
						
							| 
									
										
										
										
											2018-09-22 17:37:19 +07:00
										 |  |  |   'a2dp-codecs.h',
 | 
					
						
							| 
									
										
										
										
											2019-04-12 16:05:51 +03:00
										 |  |  |   'a2dp-codec-util.h',
 | 
					
						
							| 
									
										
										
										
											2018-09-22 17:37:19 +07:00
										 |  |  |   'bluez5-util.h',
 | 
					
						
							|  |  |  |   'rtp.h',
 | 
					
						
							|  |  |  | ]
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-10-19 17:40:06 +07:00
										 |  |  | if get_option('bluez5-native-headset')
 | 
					
						
							| 
									
										
										
										
											2018-09-22 17:37:19 +07:00
										 |  |  |   libbluez5_util_sources += [ 'backend-native.c' ]
 | 
					
						
							|  |  |  | endif
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-10-19 17:40:06 +07:00
										 |  |  | if get_option('bluez5-ofono-headset')
 | 
					
						
							|  |  |  |   libbluez5_util_sources += [ 'backend-ofono.c' ]
 | 
					
						
							|  |  |  | endif
 | 
					
						
							| 
									
										
										
										
											2018-09-22 17:37:19 +07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-10-27 16:58:21 +05:30
										 |  |  | if have_bluez5_gstreamer
 | 
					
						
							|  |  |  |   libbluez5_util_headers += [ 'a2dp-codec-gst.h' ]
 | 
					
						
							|  |  |  |   libbluez5_util_sources += [ 'a2dp-codec-gst.c' ]
 | 
					
						
							| 
									
										
										
										
											2020-12-21 12:28:23 +05:30
										 |  |  |   libbluez5_util_sources += [ 'a2dp-codec-ldac-gst.c' ]
 | 
					
						
							| 
									
										
										
										
											2020-10-27 16:58:21 +05:30
										 |  |  | endif
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-11-26 15:36:13 +07:00
										 |  |  | libbluez5_util = shared_library('bluez5-util',
 | 
					
						
							| 
									
										
										
										
											2018-09-22 17:37:19 +07:00
										 |  |  |   libbluez5_util_sources,
 | 
					
						
							|  |  |  |   libbluez5_util_headers,
 | 
					
						
							|  |  |  |   c_args : [pa_c_args, server_c_args],
 | 
					
						
							| 
									
										
										
										
											2019-08-03 01:52:09 +05:30
										 |  |  |   link_args : [nodelete_link_args],
 | 
					
						
							| 
									
										
										
										
											2018-09-22 17:37:19 +07:00
										 |  |  |   include_directories : [configinc, topinc],
 | 
					
						
							| 
									
										
										
										
											2020-10-27 16:58:21 +05:30
										 |  |  |   dependencies : [libpulse_dep, libpulsecommon_dep, libpulsecore_dep, dbus_dep, sbc_dep, libintl_dep, bluez5_gst_dep, bluez5_gstapp_dep],
 | 
					
						
							| 
									
										
										
										
											2018-10-13 11:50:03 +05:30
										 |  |  |   install : true,
 | 
					
						
							| 
									
										
										
										
											2019-08-03 02:41:55 +05:30
										 |  |  |   install_rpath : privlibdir,
 | 
					
						
							| 
									
										
										
										
											2018-10-13 11:50:03 +05:30
										 |  |  |   install_dir : modlibexecdir,
 | 
					
						
							| 
									
										
										
										
											2018-09-22 17:37:19 +07:00
										 |  |  | )
 |