mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2026-04-19 22:19:49 -04:00
* Greatly improve our ffmpeg build * Remove not needed deps * Remove libpng from windows ffmpeg build
22 lines
384 B
Bash
Executable File
22 lines
384 B
Bash
Executable File
#!/bin/bash
|
|
|
|
SCRIPT_REPO="https://github.com/madler/zlib.git"
|
|
SCRIPT_TAG="v1.2.13"
|
|
|
|
ffbuild_dockerbuild() {
|
|
git-mini-clone "$SCRIPT_REPO" "$SCRIPT_TAG" zlib
|
|
cd zlib
|
|
|
|
local myconf=(
|
|
--prefix="$FFBUILD_PREFIX"
|
|
--static
|
|
)
|
|
|
|
export CC="${FFBUILD_CROSS_PREFIX}gcc"
|
|
export AR="${FFBUILD_CROSS_PREFIX}ar"
|
|
|
|
./configure "${myconf[@]}"
|
|
make -j"$(nproc)"
|
|
make install
|
|
}
|