1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
# no vamf for non-pentium4 if [ "$CARCH" == 'i686' ] || [ "$CARCH" == 'i486' ]; then depends=(${depends[@]//vmaf/}) eval "$( declare -f prepare | \ sed ' /vmaf/d ' )" eval "$( declare -f build | \ sed ' s/--enable-libvmaf/--disable-libvmaf/ ' )" fi