Just generate a fake AviSynth version header to make configure happy...

This commit is contained in:
BtbN 2022-02-14 16:56:42 +01:00
parent d45fc4a498
commit 530851e039

View file

@ -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() {