mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	meson: libcamera: remove libdrm dependency
Seems to no longer be used in plugin headers, thus not a direct dependency.
This commit is contained in:
		
							parent
							
								
									1cde814cdf
								
							
						
					
					
						commit
						6d712d17e7
					
				
					 1 changed files with 5 additions and 10 deletions
				
			
		| 
						 | 
				
			
			@ -5,13 +5,8 @@ libcamera_sources = [
 | 
			
		|||
  'libcamera-source.cpp'
 | 
			
		||||
]
 | 
			
		||||
 | 
			
		||||
libdrm_dep = dependency('libdrm', version : '>= 2.4.98',
 | 
			
		||||
                        required : get_option('libcamera'))
 | 
			
		||||
summary({'libdrm': libdrm_dep.found()}, bool_yn: true, section: 'Backend')
 | 
			
		||||
if libdrm_dep.found()
 | 
			
		||||
  libcameralib = shared_library('spa-libcamera',
 | 
			
		||||
    libcamera_sources,
 | 
			
		||||
    dependencies : [ spa_dep, libudev_dep, libcamera_dep, pthread_lib, libdrm_dep  ],
 | 
			
		||||
    install : true,
 | 
			
		||||
    install_dir : spa_plugindir / 'libcamera')
 | 
			
		||||
endif
 | 
			
		||||
libcameralib = shared_library('spa-libcamera',
 | 
			
		||||
  libcamera_sources,
 | 
			
		||||
  dependencies : [ spa_dep, libudev_dep, libcamera_dep, pthread_lib  ],
 | 
			
		||||
  install : true,
 | 
			
		||||
  install_dir : spa_plugindir / 'libcamera')
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue