| 1 | #!/bin/bash |
| 2 | |
| 3 | source "bin/init/env.sh" |
| 4 | |
| 5 | cd TMessagesProj/jni/third_party || exit 1 |
| 6 | git submodule update --init ffmpeg || exit 1 |
| 7 | |
| 8 | cd ffmpeg || exit 1 |
| 9 | git reset --hard |
| 10 | git clean -fdx |
| 11 | cd .. |
| 12 | |
| 13 | # Packages the merged include/ tree and the per-ABI archives into |
| 14 | # TMessagesProj/jni/ffmpeg, so libvpx and dav1d must already be built. |
| 15 | ./build_ffmpeg.sh || exit 1 |
| 16 |