encoder/docker/build/vapoursynth/build.sh

14 lines
322 B
Bash
Executable file

#!/bin/bash
set -e
set -o pipefail
git-shallow-clone "${VS_TAG}" "https://github.com/vapoursynth/vapoursynth.git" /src/vapoursynth
pushd /src/vapoursynth
./autogen.sh
mkdir /usr/lib/vapoursynth
./configure --prefix=/usr
make -j$(nproc)
make install
pip3 install --target=/usr/lib/python${PYTHON_VERSION}/dist-packages .