1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
#!/bin/bash
if [[ ! "$_PYAV_ACTIVATED" ]]; then
export here="$(cd "$(dirname "${BASH_SOURCE[0]}")"; pwd)"
source "$here/activate.sh"
fi
cd "$PYAV_ROOT"
export PATH="$PYAV_VENV/vendor/$PYAV_LIBRARY_SLUG/bin:$PATH"
env | grep PYAV | sort
echo
echo PKG_CONFIG_PATH: $PKG_CONFIG_PATH
echo LD_LIBRARY_PATH: $LD_LIBRARY_PATH
echo
which ffmpeg || exit 2
ffmpeg -version || exit 3
echo
$PYAV_PIP install -U cython setuptools 2> /dev/null
"$PYAV_PYTHON" scripts/comptime.py
"$PYAV_PYTHON" setup.py config build_ext --inplace || exit 1
|