|  |  | @ -27,7 +27,7 @@ | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  | # 27/08/2022: Added to slackbuilds.org | 
			
		
	
		
			
				
					|  |  |  | # 26/11/2022: Gitlab tag handling fixed by Andrew Clemons | 
			
		
	
		
			
				
					|  |  |  | # 18/02/2023:  Slackbuild script template fixed by B.Watson | 
			
		
	
		
			
				
					|  |  |  | # 18/02/2023: Slackbuild script template fixed by B.Watson | 
			
		
	
		
			
				
					|  |  |  | # 12/05/2023: Updated to version 1.5.0 | 
			
		
	
		
			
				
					|  |  |  | # 06/02/2024: Updated to version 1.8.0 | 
			
		
	
		
			
				
					|  |  |  | # 23/04/2024: Updated to version 2.0.0 | 
			
		
	
	
		
			
				
					|  |  | @ -35,17 +35,20 @@ | 
			
		
	
		
			
				
					|  |  |  | # 04/09/2024: Updated to version 2.2.1 | 
			
		
	
		
			
				
					|  |  |  | # 20/11/2024: Updated to version 2.3.0 | 
			
		
	
		
			
				
					|  |  |  | # 18/04/2025: updated to version 3.0.2 | 
			
		
	
		
			
				
					|  |  |  | # 12/09/2025: svt-av1 for now compiles and works on 32-bit,support for it | 
			
		
	
		
			
				
					|  |  |  | # will be dropped by upstream in future.cpuinfo is no longer a dependency. | 
			
		
	
		
			
				
					|  |  |  | # updated to version 3.1.2 | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  | # ----------------------------------------------------------------------- | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  | cd $(dirname $0) ; CWD=$(pwd) | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  | PRGNAM=svt-av1 | 
			
		
	
		
			
				
					|  |  |  | VERSION=${VERSION:-3.0.2} | 
			
		
	
		
			
				
					|  |  |  | VERSION=${VERSION:-3.1.2} | 
			
		
	
		
			
				
					|  |  |  | BUILD=${BUILD:-1} | 
			
		
	
		
			
				
					|  |  |  | TAG=${TAG:-_SBo} | 
			
		
	
		
			
				
					|  |  |  | PKGTYPE=${PKGTYPE:-tgz} | 
			
		
	
		
			
				
					|  |  |  | DIR=${DIR:-SVT-AV1-v3.0.2} | 
			
		
	
		
			
				
					|  |  |  | DIR=${DIR:-SVT-AV1-v3.1.2} | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  | if [ -z "$ARCH" ]; then | 
			
		
	
		
			
				
					|  |  |  |   case "$( uname -m )" in | 
			
		
	
	
		
			
				
					|  |  | @ -91,9 +94,9 @@ cd $DIR | 
			
		
	
		
			
				
					|  |  |  | chown -R root:root . | 
			
		
	
		
			
				
					|  |  |  | find -L . \ | 
			
		
	
		
			
				
					|  |  |  |  \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ | 
			
		
	
		
			
				
					|  |  |  |   -o -perm 511 \) -exec chmod 755 {} \; -o \ | 
			
		
	
		
			
				
					|  |  |  |   -o -perm 511 \) -exec chmod 755 {} \+ -o \ | 
			
		
	
		
			
				
					|  |  |  |  \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ | 
			
		
	
		
			
				
					|  |  |  |   -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; | 
			
		
	
		
			
				
					|  |  |  |   -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  | cmake -B build -S $TMP/$DIR \ | 
			
		
	
		
			
				
					|  |  |  |         -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ | 
			
		
	
	
		
			
				
					|  |  | 
 |