Just generate a fake AviSynth version header to make configure happy...
This commit is contained in:
		
							parent
							
								
									d45fc4a498
								
							
						
					
					
						commit
						530851e039
					
				
					 1 changed files with 6 additions and 7 deletions
				
			
		| 
						 | 
				
			
			@ -18,13 +18,12 @@ ffbuild_dockerbuild() {
 | 
			
		|||
    make -j$(nproc)
 | 
			
		||||
    make install
 | 
			
		||||
 | 
			
		||||
    cd ..
 | 
			
		||||
 | 
			
		||||
    cmake -DSRC="${PWD}/avs_core/core/version.h.in" \
 | 
			
		||||
          -DDST="${FFBUILD_PREFIX}/include/avisynth/avs/version.h" \
 | 
			
		||||
          -DGIT="$(which git)" \
 | 
			
		||||
          -DREPO="${PWD}" \
 | 
			
		||||
          -P "${PWD}/avs_core/Version.cmake"
 | 
			
		||||
    cat <<EOF >"${FFBUILD_PREFIX}/include/avisynth/avs/version.h"
 | 
			
		||||
#pragma once
 | 
			
		||||
#define AVS_MAJOR_VER 3
 | 
			
		||||
#define AVS_MINOR_VER 7
 | 
			
		||||
#define AVS_BUGFIX_VER 1
 | 
			
		||||
EOF
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ffbuild_configure() {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue