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
33 lines
614 B
Bash
Executable File
33 lines
614 B
Bash
Executable File
#!/bin/bash
|
|
|
|
SCRIPT_REPO="https://github.com/tukaani-project/xz.git"
|
|
SCRIPT_TAG="v5.4.3"
|
|
|
|
ffbuild_dockerbuild() {
|
|
git-mini-clone "$SCRIPT_REPO" "$SCRIPT_TAG" xz
|
|
cd xz
|
|
|
|
./autogen.sh --no-po4a --no-doxygen
|
|
|
|
local myconf=(
|
|
--host="$FFBUILD_TOOLCHAIN"
|
|
--prefix="$FFBUILD_PREFIX"
|
|
--enable-small
|
|
--disable-xz
|
|
--disable-xzdec
|
|
--disable-lzmadec
|
|
--disable-lzmainfo
|
|
--disable-lzma-links
|
|
--disable-scripts
|
|
--disable-doc
|
|
--disable-symbol-versions
|
|
--disable-shared
|
|
--enable-static
|
|
--with-pic
|
|
)
|
|
|
|
./configure "${myconf[@]}"
|
|
make -j"$(nproc)"
|
|
make install
|
|
}
|