From 015beac49a057de7f818e3f7be2a55a3ea0e795b Mon Sep 17 00:00:00 2001 From: BtbN Date: Mon, 14 Feb 2022 23:20:17 +0100 Subject: [PATCH] AviSynth+ also generates version header now --- scripts.d/50-avisynth.sh | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/scripts.d/50-avisynth.sh b/scripts.d/50-avisynth.sh index 8e2fb85..37e1519 100755 --- a/scripts.d/50-avisynth.sh +++ b/scripts.d/50-avisynth.sh @@ -1,7 +1,7 @@ #!/bin/bash AVISYNTH_REPO="https://github.com/AviSynth/AviSynthPlus.git" -AVISYNTH_COMMIT="3d76f69cfdc9ee98ab48a88303b00e87bcbd9706" +AVISYNTH_COMMIT="193de815cee777ecc586ff9af35ac546f17d5687" ffbuild_enabled() { [[ $VARIANT == lgpl* ]] && return -1 @@ -16,14 +16,7 @@ ffbuild_dockerbuild() { cmake -DCMAKE_TOOLCHAIN_FILE="$FFBUILD_CMAKE_TOOLCHAIN" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="$FFBUILD_PREFIX" -DHEADERS_ONLY=ON .. make -j$(nproc) - make install - - cat <"${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 + make VersionGen install } ffbuild_configure() {