Based on: https://github.com/OpenVisualCloud/SVT-JPEG-XS/ Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7430>
		
			
				
	
	
		
			20 lines
		
	
	
		
			551 B
		
	
	
	
		
			Meson
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			551 B
		
	
	
	
		
			Meson
		
	
	
	
	
	
| svtjpegxs_sources = [
 | |
|   'gstsvtjpegxs.c',
 | |
|   'gstsvtjpegxsdec.c',
 | |
|   'gstsvtjpegxsenc.c',
 | |
| ]
 | |
| 
 | |
| svtjpegxs_dep = dependency('SvtJpegxs', version: '>= 0.9', required: get_option('svtjpegxs'))
 | |
| 
 | |
| if svtjpegxs_dep.found()
 | |
|   gstsvtjpegxs = library('gstsvtjpegxs',
 | |
|     svtjpegxs_sources,
 | |
|     c_args: gst_plugins_bad_args, # FIXME: needed? + ['-DGST_USE_UNSTABLE_API'],
 | |
|     include_directories: [configinc],
 | |
|     dependencies: [gstbase_dep, gstvideo_dep, svtjpegxs_dep],
 | |
|     install: true,
 | |
|     install_dir: plugins_install_dir,
 | |
|   )
 | |
|   plugins += [gstsvtjpegxs]
 | |
| endif
 |