| 
									
										
										
										
											2016-09-09 23:51:44 +00:00
										 |  |  | # Copyright 2016 Julian Ospald <hasufell@posteo.de> | 
					
						
							|  |  |  | # Distributed under the terms of the GNU General Public License v2 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | require github [ user=EionRobb ] | 
					
						
							|  |  |  | require pidgin-opensteamworks-build | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | SLOT="0" | 
					
						
							|  |  |  | PLATFORMS="~amd64 ~x86" | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-09-24 19:43:01 +00:00
										 |  |  | src_prepare() { | 
					
						
							|  |  |  |     # upstream is silly | 
					
						
							|  |  |  |     # https://github.com/EionRobb/pidgin-opensteamworks/pull/139 | 
					
						
							|  |  |  |     edo sed -i \
 | 
					
						
							|  |  |  |             -e '/if defined USE_OPENSSL_CRYPTO/s|__OpenBSD__|__unix__|' \
 | 
					
						
							|  |  |  |             steam_rsa.c | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     default | 
					
						
							|  |  |  | } |