mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 13:41:03 +00:00 
			
		
		
		
	Merge remote-tracking branch 'upstream/master' into x11-window-management
Conflicts: platform/x11/detect.py
This commit is contained in:
		
						commit
						8a30feebbe
					
				
					 34 changed files with 1049 additions and 94 deletions
				
			
		|  | @ -52,6 +52,7 @@ def get_opts(): | |||
| 	return [ | ||||
| 	('use_llvm','Use llvm compiler','no'), | ||||
| 	('use_sanitizer','Use llvm compiler sanitize address','no'), | ||||
| 	('pulseaudio','Detect & Use pulseaudio','yes'), | ||||
| 	('experimental_wm_api', 'Use experimental window management API','no'), | ||||
| 	] | ||||
|    | ||||
|  | @ -121,12 +122,13 @@ def configure(env): | |||
| 	env.Append(CPPFLAGS=['-DOPENGL_ENABLED','-DGLEW_ENABLED']) | ||||
| 	env.Append(CPPFLAGS=["-DALSA_ENABLED"]) | ||||
| 
 | ||||
|         if not os.system("pkg-config --exists libpulse-simple"): | ||||
|             print("Enabling PulseAudio") | ||||
|             env.Append(CPPFLAGS=["-DPULSEAUDIO_ENABLED"]) | ||||
|             env.ParseConfig('pkg-config --cflags --libs libpulse-simple') | ||||
|         else: | ||||
|             print("PulseAudio development libraries not found, disabling driver") | ||||
| 	if (env["pulseaudio"]=="yes"): | ||||
| 		if not os.system("pkg-config --exists libpulse-simple"): | ||||
| 			print("Enabling PulseAudio") | ||||
| 			env.Append(CPPFLAGS=["-DPULSEAUDIO_ENABLED"]) | ||||
| 			env.ParseConfig('pkg-config --cflags --libs libpulse-simple') | ||||
| 		else: | ||||
| 			print("PulseAudio development libraries not found, disabling driver") | ||||
| 
 | ||||
| 	env.Append(CPPFLAGS=['-DX11_ENABLED','-DUNIX_ENABLED','-DGLES2_ENABLED','-DGLES_OVER_GL']) | ||||
| 	env.Append(LIBS=['GL', 'GLU', 'pthread','asound','z']) #TODO detect linux/BSD! | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 hurikhan
						hurikhan