Files
spacedrive/.github/scripts/ffmpeg-windows/scripts.d/25-xz.sh
Vítor Vasconcellos f433995de6 [ENG-867] Remove unnecessary encoders from our FFmpeg bundle (#1061)
* Greatly improve our ffmpeg build

* Remove not needed deps

* Remove libpng from windows ffmpeg build
2023-06-30 04:35:52 +00:00

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
}