mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2026-04-19 14:08:45 -04:00
* Greatly improve our ffmpeg build * Remove not needed deps * Remove libpng from windows ffmpeg build
24 lines
402 B
Bash
Executable File
24 lines
402 B
Bash
Executable File
#!/bin/bash
|
|
|
|
SCRIPT_REPO="https://github.com/xiph/opus.git"
|
|
SCRIPT_TAG="v1.4"
|
|
|
|
ffbuild_dockerbuild() {
|
|
git-mini-clone "$SCRIPT_REPO" "$SCRIPT_TAG" opus
|
|
cd opus
|
|
|
|
./autogen.sh
|
|
|
|
local myconf=(
|
|
--host="$FFBUILD_TOOLCHAIN"
|
|
--prefix="$FFBUILD_PREFIX"
|
|
--disable-shared
|
|
--enable-static
|
|
--disable-extra-programs
|
|
)
|
|
|
|
./configure "${myconf[@]}"
|
|
make -j"$(nproc)"
|
|
make install
|
|
}
|