mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	spa: use a separate logind dependency separate from systemd
non-systemd systems also have logind, in the form of elogind, which works to resolve the v4l2 video source race just as well. permit finding elogind, by using a separate dep object.
This commit is contained in:
		
							parent
							
								
									bdd4d3a8fc
								
							
						
					
					
						commit
						2d071d658f
					
				
					 4 changed files with 20 additions and 7 deletions
				
			
		| 
						 | 
				
			
			@ -6,8 +6,8 @@ v4l2_dependencies = [ spa_dep, libinotify_dep ]
 | 
			
		|||
if libudev_dep.found()
 | 
			
		||||
  v4l2_sources += [ 'v4l2-udev.c' ]
 | 
			
		||||
  v4l2_dependencies += [ libudev_dep ]
 | 
			
		||||
  if systemd_dep.found()
 | 
			
		||||
    v4l2_dependencies += [ systemd_dep ]
 | 
			
		||||
  if logind_dep.found()
 | 
			
		||||
    v4l2_dependencies += [ logind_dep ]
 | 
			
		||||
  endif
 | 
			
		||||
endif
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue