mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	meson: drop unnecessary option
Co-authored-by: Barnabás Pőcze <pobrn@protonmail.com>
This commit is contained in:
		
							parent
							
								
									3d971b4024
								
							
						
					
					
						commit
						57f19959a7
					
				
					 2 changed files with 1 additions and 8 deletions
				
			
		| 
						 | 
					@ -168,8 +168,6 @@ option('libcamera',
 | 
				
			||||||
       description: 'Enable libcamera spa plugin integration',
 | 
					       description: 'Enable libcamera spa plugin integration',
 | 
				
			||||||
       type: 'feature',
 | 
					       type: 'feature',
 | 
				
			||||||
       value: 'auto')
 | 
					       value: 'auto')
 | 
				
			||||||
option('system-libcamera', type : 'boolean', value : 'true',
 | 
					 | 
				
			||||||
       description : 'Use libcamera from the system instead of building from source')
 | 
					 | 
				
			||||||
option('videoconvert',
 | 
					option('videoconvert',
 | 
				
			||||||
       description: 'Enable videoconvert spa plugin integration',
 | 
					       description: 'Enable videoconvert spa plugin integration',
 | 
				
			||||||
       type: 'feature',
 | 
					       type: 'feature',
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -89,12 +89,7 @@ if get_option('spa-plugins').allowed()
 | 
				
			||||||
  vulkan_headers = cc.has_header('vulkan/vulkan.h', dependencies : vulkan_dep)
 | 
					  vulkan_headers = cc.has_header('vulkan/vulkan.h', dependencies : vulkan_dep)
 | 
				
			||||||
  #summary({'Vulkan': vulkan_headers}, bool_yn: true, section: 'Misc dependencies')
 | 
					  #summary({'Vulkan': vulkan_headers}, bool_yn: true, section: 'Misc dependencies')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  if get_option('system-libcamera')
 | 
					 | 
				
			||||||
  libcamera_dep = dependency('libcamera', required: get_option('libcamera'))
 | 
					  libcamera_dep = dependency('libcamera', required: get_option('libcamera'))
 | 
				
			||||||
  else
 | 
					 | 
				
			||||||
    libcamera_proj = subproject('libcamera')
 | 
					 | 
				
			||||||
    libcamera_dep = libcamera_proj.get_variable('libcamera_public')
 | 
					 | 
				
			||||||
  endif
 | 
					 | 
				
			||||||
  summary({'libcamera': libcamera_dep.found()}, bool_yn: true, section: 'Backend')
 | 
					  summary({'libcamera': libcamera_dep.found()}, bool_yn: true, section: 'Backend')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  tinycompress_dep = cc.find_library('tinycompress', has_headers: ['tinycompress/tinycompress.h' ], required: get_option('compress-offload'))
 | 
					  tinycompress_dep = cc.find_library('tinycompress', has_headers: ['tinycompress/tinycompress.h' ], required: get_option('compress-offload'))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue