| 
									
										
										
										
											2019-01-17 18:02:25 +01:00
										 |  |  | tray_files = have_tray ? [
 | 
					
						
							| 
									
										
										
										
											2018-12-07 12:33:45 +00:00
										 |  |  | 	'tray/host.c',
 | 
					
						
							| 
									
										
										
										
											2018-12-06 12:51:52 +00:00
										 |  |  | 	'tray/icon.c',
 | 
					
						
							| 
									
										
										
										
											2018-12-07 12:33:45 +00:00
										 |  |  | 	'tray/item.c',
 | 
					
						
							| 
									
										
										
										
											2018-10-28 10:25:47 +00:00
										 |  |  | 	'tray/tray.c',
 | 
					
						
							| 
									
										
										
										
											2018-12-05 17:28:14 +00:00
										 |  |  | 	'tray/watcher.c'
 | 
					
						
							| 
									
										
										
										
											2018-10-28 10:25:47 +00:00
										 |  |  | ] : []
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | swaybar_deps = [
 | 
					
						
							|  |  |  | 	cairo,
 | 
					
						
							|  |  |  | 	gdk_pixbuf,
 | 
					
						
							|  |  |  | 	jsonc,
 | 
					
						
							|  |  |  | 	math,
 | 
					
						
							|  |  |  | 	pango,
 | 
					
						
							|  |  |  | 	pangocairo,
 | 
					
						
							|  |  |  | 	rt,
 | 
					
						
							|  |  |  | 	wayland_client,
 | 
					
						
							| 
									
										
										
										
											2019-01-21 13:01:09 -05:00
										 |  |  | 	wayland_cursor
 | 
					
						
							| 
									
										
										
										
											2018-10-28 10:25:47 +00:00
										 |  |  | ]
 | 
					
						
							| 
									
										
										
										
											2019-01-17 18:02:25 +01:00
										 |  |  | if have_tray
 | 
					
						
							| 
									
										
										
										
											2020-12-02 23:46:49 +01:00
										 |  |  | 	swaybar_deps += sdbus
 | 
					
						
							| 
									
										
										
										
											2018-10-28 10:25:47 +00:00
										 |  |  | endif
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-03-28 23:04:20 -04:00
										 |  |  | executable(
 | 
					
						
							| 
									
										
										
										
											2018-03-30 21:38:28 -04:00
										 |  |  | 	'swaybar', [
 | 
					
						
							| 
									
										
										
										
											2018-03-28 23:04:20 -04:00
										 |  |  | 		'bar.c',
 | 
					
						
							|  |  |  | 		'config.c',
 | 
					
						
							| 
									
										
										
										
											2018-03-31 13:07:22 -04:00
										 |  |  | 		'i3bar.c',
 | 
					
						
							| 
									
										
										
										
											2023-11-23 08:40:41 -05:00
										 |  |  | 		'image.c',
 | 
					
						
							| 
									
										
										
										
											2018-10-17 20:21:27 +01:00
										 |  |  | 		'input.c',
 | 
					
						
							| 
									
										
										
										
											2018-03-28 23:56:02 -04:00
										 |  |  | 		'ipc.c',
 | 
					
						
							| 
									
										
										
										
											2018-03-28 23:04:20 -04:00
										 |  |  | 		'main.c',
 | 
					
						
							|  |  |  | 		'render.c',
 | 
					
						
							| 
									
										
										
										
											2018-03-29 15:16:12 -04:00
										 |  |  | 		'status_line.c',
 | 
					
						
							| 
									
										
										
										
											2022-11-25 10:51:20 +01:00
										 |  |  | 		tray_files,
 | 
					
						
							|  |  |  | 		wl_protos_src,
 | 
					
						
							| 
									
										
										
										
											2018-03-28 23:04:20 -04:00
										 |  |  | 	],
 | 
					
						
							|  |  |  | 	include_directories: [sway_inc],
 | 
					
						
							| 
									
										
										
										
											2018-10-28 10:25:47 +00:00
										 |  |  | 	dependencies: swaybar_deps,
 | 
					
						
							| 
									
										
										
										
											2018-03-28 23:04:20 -04:00
										 |  |  | 	link_with: [lib_sway_common, lib_sway_client],
 | 
					
						
							| 
									
										
										
										
											2018-05-06 00:20:57 +01:00
										 |  |  | 	install: true
 | 
					
						
							| 
									
										
										
										
											2018-03-28 23:04:20 -04:00
										 |  |  | )
 |