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 -j$(nproc)
 | 
				
			||||||
    make install
 | 
					    make install
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    cd ..
 | 
					    cat <<EOF >"${FFBUILD_PREFIX}/include/avisynth/avs/version.h"
 | 
				
			||||||
 | 
					#pragma once
 | 
				
			||||||
    cmake -DSRC="${PWD}/avs_core/core/version.h.in" \
 | 
					#define AVS_MAJOR_VER 3
 | 
				
			||||||
          -DDST="${FFBUILD_PREFIX}/include/avisynth/avs/version.h" \
 | 
					#define AVS_MINOR_VER 7
 | 
				
			||||||
          -DGIT="$(which git)" \
 | 
					#define AVS_BUGFIX_VER 1
 | 
				
			||||||
          -DREPO="${PWD}" \
 | 
					EOF
 | 
				
			||||||
          -P "${PWD}/avs_core/Version.cmake"
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
ffbuild_configure() {
 | 
					ffbuild_configure() {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue