Exclude rav1e on release variants
This commit is contained in:
		
							parent
							
								
									37fe9aca94
								
							
						
					
					
						commit
						7c69713dab
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -4,6 +4,7 @@ RAV1E_SRC_PREFIX="https://github.com/xiph/rav1e/releases/download/p20200901"
 | 
			
		|||
 | 
			
		||||
ffbuild_enabled() {
 | 
			
		||||
    [[ $TARGET == win32 ]] && return -1
 | 
			
		||||
    [[ $VARIANT == *4.2* ]] && return -1
 | 
			
		||||
    return 0
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -41,5 +42,6 @@ ffbuild_configure() {
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
ffbuild_unconfigure() {
 | 
			
		||||
    [[ $VARIANT == *4.2* ]] && return 0
 | 
			
		||||
    echo --disable-librav1e
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue