mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	meson: Fix installation of headers
To match Autotools: - internal.h should not be installed - Install simple.h and version.h
This commit is contained in:
		
							parent
							
								
									8e98ed9493
								
							
						
					
					
						commit
						9f946d2d11
					
				
					 1 changed files with 9 additions and 3 deletions
				
			
		| 
						 | 
					@ -1,4 +1,9 @@
 | 
				
			||||||
configure_file(input : 'version.h.in', output :  'version.h', configuration : cdata)
 | 
					configure_file(
 | 
				
			||||||
 | 
					  input : 'version.h.in',
 | 
				
			||||||
 | 
					  output : 'version.h',
 | 
				
			||||||
 | 
					  configuration : cdata,
 | 
				
			||||||
 | 
					  install_dir : join_paths(includedir, 'pulse'),
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
libpulse_sources = [
 | 
					libpulse_sources = [
 | 
				
			||||||
  'channelmap.c',
 | 
					  'channelmap.c',
 | 
				
			||||||
| 
						 | 
					@ -9,6 +14,7 @@ libpulse_sources = [
 | 
				
			||||||
  'ext-device-restore.c',
 | 
					  'ext-device-restore.c',
 | 
				
			||||||
  'ext-stream-restore.c',
 | 
					  'ext-stream-restore.c',
 | 
				
			||||||
  'format.c',
 | 
					  'format.c',
 | 
				
			||||||
 | 
					  'internal.h',
 | 
				
			||||||
  'introspect.c',
 | 
					  'introspect.c',
 | 
				
			||||||
  'mainloop-api.c',
 | 
					  'mainloop-api.c',
 | 
				
			||||||
  'mainloop-signal.c',
 | 
					  'mainloop-signal.c',
 | 
				
			||||||
| 
						 | 
					@ -40,7 +46,6 @@ libpulse_headers = [
 | 
				
			||||||
  'ext-stream-restore.h',
 | 
					  'ext-stream-restore.h',
 | 
				
			||||||
  'format.h',
 | 
					  'format.h',
 | 
				
			||||||
  'gccmacro.h',
 | 
					  'gccmacro.h',
 | 
				
			||||||
  'internal.h',
 | 
					 | 
				
			||||||
  'introspect.h',
 | 
					  'introspect.h',
 | 
				
			||||||
  'mainloop-api.h',
 | 
					  'mainloop-api.h',
 | 
				
			||||||
  'mainloop-signal.h',
 | 
					  'mainloop-signal.h',
 | 
				
			||||||
| 
						 | 
					@ -77,7 +82,8 @@ libpulse = shared_library('pulse',
 | 
				
			||||||
 | 
					
 | 
				
			||||||
libpulse_dep = declare_dependency(link_with: libpulse)
 | 
					libpulse_dep = declare_dependency(link_with: libpulse)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
install_data(libpulse_headers,
 | 
					install_data(
 | 
				
			||||||
 | 
					  libpulse_headers, 'simple.h',
 | 
				
			||||||
  install_dir : join_paths(includedir, 'pulse')
 | 
					  install_dir : join_paths(includedir, 'pulse')
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue