AviSynth+ also generates version header now
This commit is contained in:
parent
c4ec85d577
commit
015beac49a
1 changed files with 2 additions and 9 deletions
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
AVISYNTH_REPO="https://github.com/AviSynth/AviSynthPlus.git"
|
AVISYNTH_REPO="https://github.com/AviSynth/AviSynthPlus.git"
|
||||||
AVISYNTH_COMMIT="3d76f69cfdc9ee98ab48a88303b00e87bcbd9706"
|
AVISYNTH_COMMIT="193de815cee777ecc586ff9af35ac546f17d5687"
|
||||||
|
|
||||||
ffbuild_enabled() {
|
ffbuild_enabled() {
|
||||||
[[ $VARIANT == lgpl* ]] && return -1
|
[[ $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 ..
|
cmake -DCMAKE_TOOLCHAIN_FILE="$FFBUILD_CMAKE_TOOLCHAIN" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="$FFBUILD_PREFIX" -DHEADERS_ONLY=ON ..
|
||||||
make -j$(nproc)
|
make -j$(nproc)
|
||||||
make install
|
make VersionGen install
|
||||||
|
|
||||||
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() {
|
ffbuild_configure() {
|
||||||
|
|
Loading…
Reference in a new issue