mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2025-01-27 22:46:01 -05:00
fc0bc51bed
This is a separate item in the matrix, so it doesn't go through this for each of the three Rust versions.
14 lines
395 B
Bash
Executable File
14 lines
395 B
Bash
Executable File
#!/bin/bash -e
|
|
if [ ! -f ffmpeg-${FFMPEG_VERSION}/configure ]; then
|
|
wget https://ffmpeg.org/releases/ffmpeg-${FFMPEG_VERSION}.tar.xz
|
|
tar xf ffmpeg-${FFMPEG_VERSION}.tar.xz
|
|
fi
|
|
cd ffmpeg-${FFMPEG_VERSION}
|
|
./configure --enable-shared
|
|
make --jobs=2
|
|
sudo make install --jobs=2
|
|
sudo ldconfig
|
|
|
|
# The build log varies with each invocation; remove it to improve cachability.
|
|
rm -f ffbuild/config.log
|