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
30 lines
521 B
Bash
Executable File
30 lines
521 B
Bash
Executable File
#!/bin/bash
|
|
|
|
SCRIPT_REPO="https://github.com/webmproject/libwebp.git"
|
|
SCRIPT_TAG="1.3.1"
|
|
|
|
ffbuild_dockerbuild() {
|
|
git-mini-clone "$SCRIPT_REPO" "$SCRIPT_TAG" libwebp
|
|
cd libwebp
|
|
|
|
./autogen.sh
|
|
|
|
local myconf=(
|
|
--host="$FFBUILD_TOOLCHAIN"
|
|
--prefix="$FFBUILD_PREFIX"
|
|
--disable-shared
|
|
--enable-static
|
|
--with-pic
|
|
--enable-everything
|
|
--disable-sdl
|
|
--disable-png
|
|
--disable-jpeg
|
|
--disable-tiff
|
|
--disable-gif
|
|
)
|
|
|
|
./configure "${myconf[@]}"
|
|
make -j"$(nproc)"
|
|
make install
|
|
}
|