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
26 lines
496 B
Bash
26 lines
496 B
Bash
#!/bin/bash
|
|
|
|
SCRIPT_REPO="https://git.savannah.gnu.org/git/libiconv.git"
|
|
SCRIPT_TAG="v1.17"
|
|
|
|
ffbuild_dockerbuild() {
|
|
git-mini-clone "$SCRIPT_REPO" "$SCRIPT_TAG" libiconv
|
|
cd libiconv
|
|
|
|
retry-tool ./gitsub.sh pull
|
|
(unset CC CFLAGS GMAKE && ./autogen.sh)
|
|
|
|
local myconf=(
|
|
--host="$FFBUILD_TOOLCHAIN"
|
|
--prefix="$FFBUILD_PREFIX"
|
|
--enable-extra-encodings
|
|
--disable-shared
|
|
--enable-static
|
|
--with-pic
|
|
)
|
|
|
|
./configure "${myconf[@]}"
|
|
make -j"$(nproc)"
|
|
make install
|
|
}
|